Profile Manager Error prevents startup
Immediately after installing OSX Server and choosing or creating an SSL certificate,
Profile Manager gives the error "Error Reading Settings" while updating services.
So as a result,
when OSX Server tries to write out the Profile Manager Settings when I change to a different certificate,
OSX Server generates these two errors:
The error occurred while processing a command of type 'writeSettings' in plug-in 'servermgr_devicemgr'.
Followed by...
Multiple errors occurred on the server while processing commands.
Use the Console application to view the error messages.
So I tried running this command from the terminal:
/Applications/Server.app/Contents/ServerRoot/usr/share/devicemgr/backend/wipeDB. sh
and got the following response in the error log on the console:
2012-09-06 11:22:24.449 AM ProfileManager[8659]: devicemgrd: Terminating on unhandled exception Rake command failed with 256 at /Applications/Server.app/Contents/ServerRoot/usr/share/devicemgr/webserver/devi cemgrd:258:in `Rake'
/Applications/Server.app/Contents/ServerRoot/usr/share/devicemgr/webserver/devic emgrd:222:in `SetupRails'
/Applications/Server.app/Contents/ServerRoot/usr/share/devicemgr/webserver/devic emgrd:150:in `Run'
/Applications/Server.app/Contents/ServerRoot/usr/share/devicemgr/webserver/devic emgrd:833
2012-09-06 11:22:24.450 AM com.apple.launchd[1]: (com.apple.devicemanager[8659]) Exited with code: 1
2012-09-06 11:22:24.530 AM ProfileManager[8678]: Failed to delete '/var/devicemgr/ServiceData/Data/tmp'. No such file or directory - /var/devicemgr/ServiceData/Data/tmp
2012-09-06 11:22:26.662 AM ProfileManager[8678]: Retry #1 of database migration...
2012-09-06 11:22:28.778 AM ProfileManager[8678]: Retry #2 of database migration...
2012-09-06 11:22:30.015 AM assistantd[294]: <Error>: AceConnection - NSStreamEventErrorOccurred <__NSCFInputStream: 0x7fe17100be60>, error = Error Domain=NSPOSIXErrorDomain Code=54 "The operation couldn’t be completed. Connection reset by peer", domain = NSPOSIXErrorDomain, code = 54
2012-09-06 11:22:30.022 AM assistantd[294]: <Error>: Session - Connection error: <ADAceConnection: 0x7fe173319640> Error Domain=NSPOSIXErrorDomain Code=54 "The operation couldn’t be completed. Connection reset by peer"
2012-09-06 11:22:30.031 AM assistantd[294]: <Error>: Daemon - Session Error Error Domain=NSPOSIXErrorDomain Code=54 "The operation couldn’t be completed. Connection reset by peer"
2012-09-06 11:22:30.931 AM ProfileManager[8678]: Retry #3 of database migration...
2012-09-06 11:22:33.052 AM ProfileManager[8678]: Retry #4 of database migration...
I think something is missing in the installation that I may have deleted. I have tried reinstallation of the OSX Server after deleting the /Library/Server directory and the server.app file and rebooting.
I have tried reinstalling OSX Mountain Lion and the latest OSX Server version as well.
No joy, not even a tiny bit.
Question is how or where do I find out how to restore what's missing, or fix what is broken?
Thank-you for your expertise,
Tim
iMac, OS X Server, Mountain Lion 10.8.1