Problem syncing Mobile account home folder
<hr>
Client ~/Library/Logs/FileSyncAgent/FileSyncAgent-verbose.log:
<Logout> 1:: \[10/06/16 15:22:57.357] <OK> network: MODIFY "Library/Preferences/com.apple.recentitems.plist" {(Priority=1, EXECUTING)}
<Logout> 1:: \[10/06/16 15:22:57.387] <OK> network: MODIFY "Library/Preferences/com.apple.systemuiserver.plist" {(Priority=1, EXECUTING)}
<Logout> 1:: \[10/06/16 15:22:57.417] <OK> network: MODIFY "Library/Preferences/com.apple.Terminal.plist" {(Priority=1, EXECUTING)}
<Logout> 0:: \[10/06/16 15:22:57.435] EXCEPTION: \[data writeToFile:'/Volumes/Users/synctest/.FileSync/PHD-R-wO-0oQq9MqC-synctest.FileS yncHistory' options:0 error:&error] (Cocoa error 512) <-\[SStoreFileOperator_FS writeFileData:] (StoreFileOperator-FS.m:1091): "(Error Domain=NSCocoaErrorDomain Code=512 UserInfo=0x102fdd8c0 "The file “PHD-R-wO-0oQq9MqC-synctest.FileSyncHistory” couldn’t be saved in the folder “.FileSync”." Underlying Error=(Error Domain=NSPOSIXErrorDomain Code=35 "The operation couldn’t be completed. Resource temporarily unavailable"))">
<Logout> 0:: \[10/06/16 15:22:57.435] USERINFO: {
<Logout> 0:: \[10/06/16 15:22:57.435] NSFilePath = "/Volumes/Users/synctest/.FileSync/PHD-R-wO-0oQq9MqC-synctest.FileSyncHistory";
<Logout> 0:: \[10/06/16 15:22:57.435] NSUnderlyingError = "Error Domain=NSPOSIXErrorDomain Code=35 \"The operation couldn\U2019t be completed. Resource temporarily unavailable\"";
<Logout> 0:: \[10/06/16 15:22:57.435] }
<Logout> 0:: \[10/06/16 15:22:57.435] BACKTRACE: {
<Logout> 0:: \[10/06/16 15:22:57.435] ? | 0x1000bc73c
<Logout> 0:: \[10/06/16 15:22:57.435] ? | 0x1000b9eec
<Logout> 0:: \[10/06/16 15:22:57.435] ? | 0x100066a00
<Logout> 0:: \[10/06/16 15:22:57.435] ? | 0x100065fe6
<Logout> 0:: \[10/06/16 15:22:57.435] ? | 0x1000c8f1a
<Logout> 0:: \[10/06/16 15:22:57.435] ? | 0x7fff800cbe8d
<Logout> 0:: \[10/06/16 15:22:57.435] ? | 0x7fff820a3456
<Logout> 0:: \[10/06/16 15:22:57.435] ? | 0x7fff820a3309
<Logout> 0:: \[10/06/16 15:22:57.435] }
<Logout> 1:: \[10/06/16 15:22:57.544] -\[SStore(protected) cleanupTree]: PHD-L-iI.arrVC0G4-synctest: required 0.0 seconds to execute
<Logout> 1:: \[10/06/16 15:22:57.557] Store "PHD-L-iI.arrVC0G4-synctest" finished syncing with root version PHD-L-iI.arrVC0G4-synctest1276714848PHD-R-wO-0oQq9MqC-synctest1276714849\[]
<Logout> 1:: \[10/06/16 15:22:57.558] -\[SStore_FS deleteStateTreeTurdFile] (Store-FS.m:481): unlink('/Users/synctest/.FileSync/store.filesyncstatetree.statetree_dirty')
<Logout> 1:: \[10/06/16 15:22:57.737] Store "PHD-R-wO-0oQq9MqC-synctest" finished syncing with root version PHD-L-iI.arrVC0G4-synctest1276714848PHD-R-wO-0oQq9MqC-synctest1276714849\[]
<Logout> 1:: \[10/06/16 15:22:59.041] Compress/upload of "/Volumes/Users/synctest/.FileSync/Store-FS-PHD-network-home.filesyncstatetree. bz2" took 1.30 seconds
<Logout> 1:: \[10/06/16 15:22:59.041] -\[SStore_FS deleteStateTreeTurdFile] (Store-FS.m:481): unlink('/Volumes/Users/synctest/.FileSync/Store-FS-PHD-network-home.filesyncsta tetree.bz2.statetree_dirty')
<Logout> 1:: \[10/06/16 15:22:59.043] 1-pass sync of "HomeSync_Mirror" took 4.75 seconds
<Logout> 0:: \[10/06/16 15:22:59.374] Finished sync of "HomeSync_Mirror".
1:: \[10/06/16 15:22:59.914] -\[MainObj shutdownAgent]
0:: \[10/06/16 15:22:59.949] EXCEPTION: User Cancelled <_incomingIPC (ipc.m:210): "'((userCanceledErr))' error -128">
0:: \[10/06/16 15:22:59.949] USERINFO: {
0:: \[10/06/16 15:22:59.949] NSLocalizedDescription = "User Cancelled";
0:: \[10/06/16 15:22:59.949] }
0:: \[10/06/16 15:22:59.949] BACKTRACE: {
0:: \[10/06/16 15:22:59.949] ? | 0x10000e2a8
0:: \[10/06/16 15:22:59.949] ? | 0x7fff82d74af1
0:: \[10/06/16 15:22:59.949] ? | 0x7fff82d0f171
0:: \[10/06/16 15:22:59.949] ? | 0x7fff82d0d84f
0:: \[10/06/16 15:22:59.949] ? | 0x1000049d9
0:: \[10/06/16 15:22:59.949] ? | 0x7fff820a3456
0:: \[10/06/16 15:22:59.949] ? | 0x7fff820a3309
0:: \[10/06/16 15:22:59.949] }
1:: \[10/06/16 15:22:59.949] _incomingIPC: caught exception _incomingIPC (ipc.m:210): "'((userCanceledErr))' error -128"
0:: \[10/06/16 15:23:00.669] Bye (PID:2246)
<hr>
Server ~/Library/Logs/FileSync-server/FileSync-server-verbose.log:
1:: \[10/06/16 15:22:54.616] PHD-R-wO-0oQq9MqC-synctest Scanning flagged directory "Library/"
1:: \[10/06/16 15:22:54.625] PHD-R-wO-0oQq9MqC-synctest Scanning flagged directory "Library/Preferences/"
1:: \[10/06/16 15:22:54.644] PHD-R-wO-0oQq9MqC-synctest Scanning flagged directory "Library/Preferences/ByHost/"
1:: \[10/06/16 15:22:54.665] Store "PHD-R-wO-0oQq9MqC-synctest" finished prepareForSync with root version PHD-L-iI.arrVC0G4-synctest1276714845PHD-R-wO-0oQq9MqC-synctest1276714849\[]
1:: \[10/06/16 15:22:54.671] -\[SStore_FS deleteStateTreeTurdFile] (Store-FS.m:481): unlink('/Users/synctest/.FileSync/Store-FS-PHD-network-home.filesyncstatetree.s tatetree_dirty')
1:: \[10/06/16 15:22:56.113] -\[SPeer_FS zip] (Peer-FS.m:361): unlink('/Users/synctest/.FileSync/Store-FS-PHD-network-home.filesyncstatetree')
0:: \[10/06/16 15:22:59.705] EXCEPTION: Unknown error 2002 <-\[SNetworkReachabilityMonitor init] (NetworkReachabilityMonitor.m:72): "(Error Domain=com.apple.SystemConfiguration Code=2002 UserInfo=0x100243d20 "The operation couldn<E2><80><99>t be completed. (com.apple.SystemConfiguration error 2002 - Configuration daemon not (no longer) available)")">
0:: \[10/06/16 15:22:59.705] USERINFO: {
0:: \[10/06/16 15:22:59.705] NSDescription = "Configuration daemon not (no longer) available";
0:: \[10/06/16 15:22:59.705] }
0:: \[10/06/16 15:22:59.705] BACKTRACE: {
0:: \[10/06/16 15:22:59.705] ?<C2><A0>|<C2><A0>0x100014831
0:: \[10/06/16 15:22:59.705] ?<C2><A0>|<C2><A0>0x100014688
0:: \[10/06/16 15:22:59.705] ?<C2><A0>|<C2><A0>0x7fff82ffb535
0:: \[10/06/16 15:22:59.705] ?<C2><A0>|<C2><A0>0x7fff8300963e
0:: \[10/06/16 15:22:59.705] ?<C2><A0>|<C2><A0>0x7fff83001eaa
0:: \[10/06/16 15:22:59.705] ?<C2><A0>|<C2><A0>0x7fff82ffa1ba
0:: \[10/06/16 15:22:59.705] ?<C2><A0>|<C2><A0>0x1000036c3
0:: \[10/06/16 15:22:59.705] ?<C2><A0>|<C2><A0>0x10007f4e0
0:: \[10/06/16 15:22:59.705] ?<C2><A0>|<C2><A0>0x2
0:: \[10/06/16 15:22:59.705] }
0:: \[10/06/16 15:22:59.705] Bye (PID:9460)
<hr>
Now I've not done much with OS X programming, but I've done quite a bit of Unix systems work. The client appears to be getting an EAGAIN error (essentially that the syscall didn't complete, but not that it failed). Ideally, it should try again, and perhaps there is something I can set that will have it do a couple of retry attempts before giving up?
However, the error on the server side is the likely culprit. I don't know what the error message regarding com.apple.SystemConfiguration means, but my googling for hints implies that it is some sort of error connecting over the network. To try and debug that, I had both machines connected to the same switch with firewalls turned off and the error continues. The previous lines imply that it is trying to delete a file that it created from the local disk. What bothers me about that is that in the WGM I set the home directory to be "afp://servername/Users" and it shows that it should be either "afp://servername/Users/synctest" or "/Network/Servers/servername/Users/synctest" but the server is accessing the home folder directly, so why an issue with network reachability?
Can anyone offer any hints as to what I should be looking for? I had hoped that PHDs would solve the whole multiple computer issue, but they don't seem to be working reliably for me. Since I get this issue consistently I'm guessing that there is something misconfigured on my end.
MacBook Pro 2GHz, Mac Mini Server, etc., Mac OS X (10.6.4)