Rusty Ross

Q: Server 3.2.1 (10.9.5) – Postgres won't start

After upgrading from Server 3.1.2 (Mavericks 10.9.3) to Server 3.2.1 (Mavericks 10.9.5), I cannot start Postgres:

 

# serveradmin start postgres

postgres:error = "CANNOT_START_SERVICE_TIMEOUT_ERR"

 

Here is what I see in system.log:

 

Sep 18 18:36:20 server com.apple.serverd[78]: ERROR: SMJobSubmit: The operation couldn’t be completed. (kSMErrorDomainLaunchd error 9 - The job dictionary specifies that it is disabled.)

Sep 18 18:36:20 server serveradmin[2249]: servermgr_postgres: waiting for postgres to respond

Sep 18 18:36:24 server serveradmin[2249]: servermgr_postgres: Timed out trying to start postgres.

Sep 18 18:36:24 server serveradmin[2249]: posting dist not

 

Not sure what to do from here. Postgres was running fine under 10.9.3.

 

 

Rusty

Posted on Sep 18, 2014 3:38 PM

Close

Q: Server 3.2.1 (10.9.5) – Postgres won't start

  • All replies
  • Helpful answers

first Previous Page 7 of 7
  • by chris-digginIT,

    chris-digginIT chris-digginIT Dec 12, 2014 10:30 AM in response to Rusty Ross
    Level 1 (5 points)
    Dec 12, 2014 10:30 AM in response to Rusty Ross

    These were the steps I followed.

     

    1. Restore from TM backup to 10.9.4 Server 3.1.2

    2. Run updates to 10.9.5 and Server App 3.2.2

    3. Opened Server App 3.2.2

         Failed

    4. Ran Rusty's latest script as root from tmp

     

    Done!

     

    Thanks Rusty!

  • by bcollinsiv,

    bcollinsiv bcollinsiv May 27, 2015 7:09 PM in response to essandess
    Level 1 (0 points)
    May 27, 2015 7:09 PM in response to essandess

    Port 5432 is from the Wiki from what I gather.  It is defined in the postgres configuration file in /Library/Server/Wiki/Config.  The wiki server and other Apple Server services spawn their own postgres instances it seems.

first Previous Page 7 of 7