Hi
This is the last block of entries in a log called "ServerSetup_DeviceManager.log" in /Library/Logs. Is this what you are looking for? It contains an error at least... 😉
2014-10-17 20:32:22 deviceManagerCommon.sh: A postgres cluster appers to already exist at /Library/Server/ProfileManager/Config/ServiceData/Data/PostgreSQL
2014-10-17 20:32:22 deviceManagerCommon.sh: Pre-flight starting postgres...
2014-10-17 20:32:22 deviceManagerCommon.sh: Started xpostgres with PID 10294
2014-10-17 20:32:22 XPG.10297: Process parent is PID 10294
2014-10-17 20:32:22 XPG.10297: Excluding data directory.
2014-10-17 20:32:22 XPG.10297: Turning on archive logging.
2014-10-17 20:32:22 XPG.10297: Cleaning up any existing postmaster.pid file
2014-10-17 20:32:22 XPG.10297: Starting postgres.
2014-10-17 20:32:22 XPG.10297: Waiting for data directory: /Library/Server/ProfileManager/Config/ServiceData/Data/PostgreSQL
2014-10-17 20:32:22 XPG.10297: Data directory exists.
2014-10-17 20:32:22 XPG.10297: Spawning postgres now.
2014-10-17 20:32:22 XPG.10297: Waiting for socket to appear in socket directory: /Library/Server/ProfileManager/Config/var/PostgreSQL
2014-10-17 20:32:23 deviceManagerCommon.sh: Stopping postgres pre-flight instance...
2014-10-17 20:32:23 XPG.10297: Decremented reference count. Count is now: 0
2014-10-17 20:32:23 XPG.10297: Reference count reached zero. Shutting down.
2014-10-17 20:32:23 XPG.10297: Killing idle connections...
2014-10-17 20:32:23 XPG.10297: Spawning... ('/Applications/Server.app/Contents/ServerRoot/usr/bin/psql', '-q', '-h', '/Library/Server/ProfileManager/Config/var/PostgreSQL', '-d', 'postgres', '-c', "SELECT pid, (SELECT pg_terminate_backend(pid)) as killed from pg_stat_activity WHERE state LIKE 'idle';")
pid | killed
-----+--------
(0 rows)
2014-10-17 20:32:23 XPG.10297: Socket available; starting should now be complete.
2014-10-17 20:32:24 XPG.10297: log receiver: pg_receivexlog: could not connect to server: FATAL: the database system is shutting down
pg_receivexlog: disconnected; waiting 5 seconds to try again
2014-10-17 20:32:24 XPG.10297: Postgres exited.
2014-10-17 20:32:24 XPG.10297: pg_receivexlog still running; terminating.
2014-10-17 20:32:24 XPG.10297: log receiver: pg_receivexlog: could not connect to server: could not connect to server: No such file or directory
Is the server running locally and accepting
connections on Unix domain socket "/Library/Server/ProfileManager/Config/var/PostgreSQL/.s.PGSQL.5432"?
2014-10-17 20:32:24 deviceManagerCommon.sh: Starting postgres under launchd...
{
}
{
}
2014-10-17 20:32:24 deviceManagerCommon.sh: Migrating PM SACL in OD...
PM SACL group has already been migrated
2014-10-17 20:32:24 deviceManagerCommon.sh: Preparing/migrating database...
{
}
2014-10-17 20:32:29 deviceManagerCommon.sh: Done!
Oct 17 20:32:55.009 Applying DeviceManager<7fca7144d750> Profile Manager
Oct 17 20:32:55.010 DeviceManager<7fca7144d750> Running '/Applications/Server.app/Contents/ServerRoot/usr/libexec/deviceManagerCommon.s h'
2014-10-17 20:32:55 deviceManagerCommon.sh: Starting...
2014-10-17 20:32:55 deviceManagerCommon.sh: Ensuring Profile Manager services are unloaded and terminated...
{
}
{
}
{
}