Q: AFP / Profile Manager / Wiki problems Lion OSx 10.8.5 Server 2.2.2
I experience strange problems with our AFP sessions after upgrading to 10.8.5 / 2.2.2 where sessions will hang and a second session is opened. Users log out correctly. Seems that iMacs coming out of sleep mode are having this issue more then the ones with sleep disabled.
Most of the time I can solve the issue by having the user logout and then disconnect all the specific sessions in the server.app but sometimes I have to completely disable AFP and enable it again to solve the problem, this action has a lot of impact on th businees though. It also happens that only one session is shown but files remain locked as if there was another session still open.
All my users have their profile on the server so when this happens they cannot open mail etc. due to files being in use by the 'hanging' session already.
The AFP error log does not show me any errors at all, other then the shutdowns of AFP to make it all work again:
Oct 9 11:36:00 proserver AppleFileServer[1176] <Info>: Server shut down.
Oct 11 10:15:38 proserver AppleFileServer[1022] <Info>: Server shut down.
Oct 12 12:43:25 proserver AppleFileServer[35223] <Info>: Server shut down.
Oct 14 13:30:39 proserver AppleFileServer[53368] <Info>: Server shut down.
Oct 15 09:52:02 proserver AppleFileServer[52848] <Info>: Server shut down.
Since the upgrade I also have a non-working Profile manager / Wiki with the infamous "Error reading settings" error. For this I see the following errors in the logs:
Oct 15 14:07:14 proserver.repod.nl Server[23468]: Error: The server '127.0.0.1' reported an error while processing a command of type: 'readSettings' in plug-in: 'servermgr_devicemgr'. Error: Error Domain=servermgr_devicemgr Code=1 "PrepareDatabase: 'devicemgrd -migrate' status = 1" UserInfo=0x7fd70ee67bb0 {NSLocalizedDescription=PrepareDatabase: 'devicemgrd -migrate' status = 1}
d[1] (com.apple.postgres[28978]): Exited with code: 1
Oct 15 14:07:16 proserver com.apple.launchd[1] (com.apple.postgres): Throttling respawn: Will start in 10 seconds
Oct 15 14:07:17 proserver ProfileManager[28974]: Retry #1 of database migration...
Oct 15 14:07:19 proserver ProfileManager[28974]: Retry #2 of database migration...
Oct 15 14:07:21 proserver ProfileManager[28974]: Retry #3 of database migration...
Oct 15 14:07:22 proserver ProfileManager[28974]: Retry #4 of database migration...
This is a production server with 12 people using it daily so for me it is not the first option to take the server down and start hassling with it so I would be pleased if someone could help me to sort these issues without having to interrupt the day2day business here.
If any more information is needed, please let me know, I'll be more then happy to supply it.
OS X Mountain Lion (10.8.5), Server.app v 2.2.2 Build 12T214
Posted on Oct 15, 2013 5:31 AM