Quando si fa clic sul servizio Profile Manager nella barra laterale in Server.app, viene visualizzato un errore:
An error occurred on the server while processing a command. The error occurred while processing a command of type 'exportIdentity' in plug-in 'servermgr_certs'.
Eseguendo il comando 'syslog -w 10' allo stesso tempo ottengo il seguente registro:
Dec 5 15:42:32 server1.fm Server[69967] <Warning>: [XSCertificate certificateWithDictionary:] returned nil
Dec 5 15:42:33 server1.fm servermgrd[68172] <Error>: servermgr_web: processing webApp:com.apple.webapp.postgres
Dec 5 15:42:34 server1.fm sudo[70631] <Notice>: root : TTY=unknown ; PWD=/ ; USER=root ; COMMAND=/usr/bin/psql -U webauth -d webauth -c SELECT max(version) FROM schema_migrations
Dec 5 15:42:34 server1.fm servermgrd[68172] <Notice>: servermgr_web: enableWebApp command succeeded for web app com.apple.webapp.postgres
Dec 5 15:42:38 server1.fm servermgrd[68172] <Error>: servermgr_web: processing webApp:com.apple.webapp.postgres
Dec 5 15:42:39 server1.fm sudo[70653] <Notice>: root : TTY=unknown ; PWD=/Applications/Server.app/Contents/ServerRoot/usr/share/devicemgr/backend ; USER=root ; COMMAND=/usr/bin/psql -U webauth -d webauth -c SELECT max(version) FROM schema_migrations
Dec 5 15:42:39 server1.fm servermgrd[68172] <Notice>: servermgr_web: disableWebApp command succeeded for web app com.apple.webapp.postgres
Dec 5 15:42:39 server1.fm Server[69967] <Warning>: Error: The server '127.0.0.1' reported an error while processing a command of type: 'exportIdentity' in plug-in: 'servermgr_certs'. Error: Error Domain=XSActionErrorDomain Code=0 "NIL_RESPONSE_ERR (*** -[__NSPlaceholderArray initWithObjects:count:]: attempt to insert nil object from objects[0])" UserInfo=0x7feda3d2aec0 {NSLocalizedDescription=NIL_RESPONSE_ERR (*** -[__NSPlaceholderArray initWithObjects:count:]: attempt to insert nil object from objects[0])}
Si noti che non ho Profile Manager attivato, né 'Device Management' è stato configurato, quindi sono confuso sul problema del certificato che potrebbe esserci. Se provo a configurare Gestione periferiche, ottengo l'errore sopra riportato oppure ottengo la procedura guidata, dove posso fare clic su "Fine", ma poi ricevere un altro errore:
An error with code -1 occurred
Che appare come il seguente nel registro di sistema:
Dec 5 16:00:15 server1.fm servermgrd[68172] <Error>: servermgr_web: processing webApp:com.apple.webapp.postgres
Dec 5 16:00:16 server1.fm sudo[71295] <Notice>: root : TTY=unknown ; PWD=/ ; USER=root ; COMMAND=/usr/bin/psql -U webauth -d webauth -c SELECT max(version) FROM schema_migrations
Dec 5 16:00:16 server1.fm servermgrd[68172] <Notice>: servermgr_web: enableWebApp command succeeded for web app com.apple.webapp.postgres
Dec 5 16:00:21 server1.fm servermgrd[68172] <Error>: servermgr_web: processing webApp:com.apple.webapp.postgres
Dec 5 16:00:22 server1.fm sudo[71318] <Notice>: root : TTY=unknown ; PWD=/Applications/Server.app/Contents/ServerRoot/usr/share/devicemgr/backend ; USER=root ; COMMAND=/usr/bin/psql -U webauth -d webauth -c SELECT max(version) FROM schema_migrations
Dec 5 16:00:22 server1.fm servermgrd[68172] <Notice>: servermgr_web: disableWebApp command succeeded for web app com.apple.webapp.postgres
Dec 5 16:00:22 server1.fm servermgrd[68172] <Error>: servermgr_web: processing webApp:com.apple.webapp.postgres
Dec 5 16:00:23 server1.fm sudo[71338] <Notice>: root : TTY=unknown ; PWD=/ ; USER=root ; COMMAND=/usr/bin/psql -U webauth -d webauth -c SELECT max(version) FROM schema_migrations
Dec 5 16:00:23 server1.fm servermgrd[68172] <Notice>: servermgr_web: enableWebApp command succeeded for web app com.apple.webapp.postgres
Dec 5 16:00:26 server1.fm servermgrd[68172] <Error>: servermgr_web: processing webApp:com.apple.webapp.postgres
Dec 5 16:00:27 server1.fm sudo[71361] <Notice>: root : TTY=unknown ; PWD=/Applications/Server.app/Contents/ServerRoot/usr/share/devicemgr/backend ; USER=root ; COMMAND=/usr/bin/psql -U webauth -d webauth -c SELECT max(version) FROM schema_migrations
Dec 5 16:00:27 server1.fm servermgrd[68172] <Notice>: servermgr_web: disableWebApp command succeeded for web app com.apple.webapp.postgres
Dec 5 16:00:28 server1.fm Server[71083] <Warning>: [XSCertificate certificateWithDictionary:] returned nil
Dec 5 16:00:28 server1.fm servermgrd[68172] <Error>: servermgr_web: processing webApp:com.apple.webapp.postgres
Dec 5 16:00:29 server1.fm sudo[71381] <Notice>: root : TTY=unknown ; PWD=/ ; USER=root ; COMMAND=/usr/bin/psql -U webauth -d webauth -c SELECT max(version) FROM schema_migrations
Dec 5 16:00:29 server1.fm servermgrd[68172] <Notice>: servermgr_web: enableWebApp command succeeded for web app com.apple.webapp.postgres
Dec 5 16:00:32 server1.fm servermgrd[68172] <Error>: servermgr_web: processing webApp:com.apple.webapp.postgres
Dec 5 16:00:32 server1.fm sudo[71404] <Notice>: root : TTY=unknown ; PWD=/Applications/Server.app/Contents/ServerRoot/usr/share/devicemgr/backend ; USER=root ; COMMAND=/usr/bin/psql -U webauth -d webauth -c SELECT max(version) FROM schema_migrations
Dec 5 16:00:32 server1.fm servermgrd[68172] <Notice>: servermgr_web: disableWebApp command succeeded for web app com.apple.webapp.postgres
Dec 5 16:00:32 server1.fm Server[71083] <Warning>: An error with code -1 occurred while setting up Device Management
Qualcuno sa come risolvere questo?