Al hacer clic en el servicio Profile Manager en la barra lateral de Server.app, recibo un error:
Se ha producido un error en el servidor al procesar un comando. El error se produjo al procesar un comando de tipo 'exportIdentity' en el complemento 'servermgr_certs'.
Ejecutando el comando 'syslog -w 10' al mismo tiempo obtengo el siguiente 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])}
Tenga en cuenta que no tengo activado Profile Manager, ni se ha configurado 'Device Management', por lo que estoy confundido en cuanto a qué problema de certificado podría haber. Si intento configurar la Gestión de Dispositivos, obtengo el error anterior, o paso por el asistente donde puedo hacer clic en "Finalizar", pero luego recibo otro error:
Se ha producido un error con el código -1
Que aparece como lo siguiente en el registro del 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
¿Alguien sabe cómo resolver esto?