Here is the problem in terms of the timing and logs:
- Code: Select all
Before first connect (after Duo has re-booted)
NAS log entries:
ian@ianch-nas:/var/log$ grep "Mar 20" daemon.log | grep -i afp
Mar 20 06:00:56 ianch-nas avahi-daemon[879]: Loading service file /etc/avahi/services/afp.service.
Mar 20 06:00:58 ianch-nas avahi-daemon[879]: Service "ianch-nas (AFP)" (/etc/avahi/services/afp.service) successfully established.
Mar 20 06:02:17 ianch-nas afpd[1266]: AFP/TCP started, advertising 192.168.0.2:548 (2-2-1-p6)
First connect (FAILS):
NAS log entries:
ian@ianch-nas:/var/log$ grep "Mar 20" daemon.log | grep -i afp
Mar 20 06:00:56 ianch-nas avahi-daemon[879]: Loading service file /etc/avahi/services/afp.service.
Mar 20 06:00:58 ianch-nas avahi-daemon[879]: Service "ianch-nas (AFP)" (/etc/avahi/services/afp.service) successfully established.
Mar 20 06:02:17 ianch-nas afpd[1266]: AFP/TCP started, advertising 192.168.0.2:548 (2-2-1-p6)
Mar 20 08:24:58 ianch-nas afpd[1266]: AFP/TCP started, advertising 192.168.0.2:548 (2-2-1-p6)
Mac error:
error popup "There was a problem connecting to the server “ianch-nas”"
Mac log entries:
20/03/2012 08:24:57.000 kernel: AppleSRP started.
20/03/2012 08:24:58.000 kernel: ASP_TCP CancelOneRequest: cancelling slot 0 error 89 reqID 1 flags 0x9 afpCmd 0xF so 0x151a9e68
Second connect (OK):
NAS log entries:
ian@ianch-nas:/var/log$ grep "Mar 20" daemon.log | grep -i afp
Mar 20 06:00:56 ianch-nas avahi-daemon[879]: Loading service file /etc/avahi/services/afp.service.
Mar 20 06:00:58 ianch-nas avahi-daemon[879]: Service "ianch-nas (AFP)" (/etc/avahi/services/afp.service) successfully established.
Mar 20 06:02:17 ianch-nas afpd[1266]: AFP/TCP started, advertising 192.168.0.2:548 (2-2-1-p6)
Mar 20 08:24:58 ianch-nas afpd[1266]: AFP/TCP started, advertising 192.168.0.2:548 (2-2-1-p6)
Mar 20 08:28:28 ianch-nas afpd[3685]: AFP3.3 Login by admin
Mac log entries:
20/03/2012 08:24:57.000 kernel: AppleSRP started.
20/03/2012 08:24:58.000 kernel: ASP_TCP CancelOneRequest: cancelling slot 0 error 89 reqID 1 flags 0x9 afpCmd 0xF so 0x151a9e68
20/03/2012 08:28:27.000 kernel: ASP_TCP CheckReqQueueSize: increasing req queue from 32 to 128 entries. so 0xea6ba10
20/03/2012 08:28:28.937 BBDaemon: IOBSDNameMatching returned a NULL dictionary.
20/03/2012 08:28:28.937 BBDaemon: IOBSDNameMatching returned a NULL dictionary.
20/03/2012 08:28:28.976 mds: ERROR: _MDSChannelInitForAFP: AFPSendSpotLightRPC failed -1
20/03/2012 08:28:29.000 kernel: AFP_VFS afpfs_mount: /Volumes/media, pid 503
It is like the AFP "listener" which was started when the Duo re-booted (@06:02) stops and is then re-started after the (failed) first AFP connect?
