Received: from makus.postgresql.org ([98.129.198.125]) by malur.postgresql.org with esmtp (Exim 4.72) (envelope-from ) id 1T2S7U-0001nj-5Y for pgsql-admin@postgresql.org; Fri, 17 Aug 2012 19:22:08 +0000 Received: from mail-out.apple.com ([17.151.62.49]) by makus.postgresql.org with esmtp (Exim 4.72) (envelope-from ) id 1T2S7P-0000kB-Lb for pgsql-admin@postgresql.org; Fri, 17 Aug 2012 19:22:07 +0000 MIME-version: 1.0 Content-type: multipart/alternative; boundary="Boundary_(ID_vCvQVyQjru7oq+wp+L5JXg)" Received: from relay16.apple.com ([17.128.113.55]) by mail-out.apple.com (Oracle Communications Messaging Server 7u4-23.01 (7.0.4.23.0) 64bit (built Aug 10 2011)) with ESMTP id <0M8W00G7YZ1JZORC@mail-out.apple.com> for pgsql-admin@postgresql.org; Fri, 17 Aug 2012 12:21:59 -0700 (PDT) X-AuditID: 11807137-b7f626d0000059a0-cb-502e99d7be14 Received: from [17.153.17.18] (Unknown_Domain [17.153.17.18]) (using TLS with cipher AES128-SHA (AES128-SHA/128 bits)) (Client did not present a certificate) by relay16.apple.com (Apple SCV relay) with SMTP id 7D.F0.22944.7D99E205; Fri, 17 Aug 2012 12:21:59 -0700 (PDT) Subject: Re: Starting PostgreSQL on OS X 10.8 From: Joel Hedden In-reply-to: <45DCD5BC-D4B7-4E9C-BEF0-11B62AEC6813@lemings.com> Date: Fri, 17 Aug 2012 12:21:59 -0700 Cc: "pgsql-admin@postgresql.org" Message-id: <2415F3C8-EEF6-4522-8FEF-A226A9F2CD46@apple.com> References: <45DCD5BC-D4B7-4E9C-BEF0-11B62AEC6813@lemings.com> To: Eric Lemings X-Mailer: Apple Mail (2.1278) X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFtrJLMWRmVeSWpSXmKPExsUiOFNQSPf6TL0Ag6lH1Cwuvz3MaHGtZTWb A5PHhq2zmT0u7JvGHsAUxWWTkpqTWZZapG+XwJVxr3k5a8EN9YqfnQuYGxivKHYxcnJICJhI 7J66kB3CFpO4cG89WxcjF4eQwGQmibtdB1lAEsICphKztnczg9i8AoYS/1t+gdnMAgkSr2cu B7PZBFQlts+aAmZzCthLbLq0ixXEZgGKv5j6GWgBB1C9rcTpL9IgJq+AjcSG46IgFUICdhLz v/0CqxYRUJa4uqeLBeIcWYnbzRPYJzDyzUKyeBaSxRC2tsSyha+BbJAFOhKTFzKiCkPYH88f YVrAyLaKUbAoNSex0tBML7GgICdVLzk/dxMjKEAbCs13MG7/K3eIUYCDUYmHN3KSXoAQa2JZ cWXuIUYJDmYlEV6nDqAQb0piZVVqUX58UWlOavEhRmkOFiVx3iRbnQAhgfTEktTs1NSC1CKY LBMHp1QDo2iS+8ezMhHf86T1Frttmrny0gzLswa35RS12+K6mIR/3d/01Tg6oGPKrB1TWltV riyInm0ya3HkrV93naZHn19jWfk3x1f7jMNtFR6bmMvvVHTtgjNsDT7OfOjhExVeEWllmjPT bLnn/bQF+6OmzWXwc0nYlsj+KUBwoUJ/8XXvM02y3tWNSizFGYmGWsxFxYkAkBc+20wCAAA= X-Pg-Spam-Score: -6.9 (------) X-Archive-Number: 201208/92 X-Sequence-Number: 39913 --Boundary_(ID_vCvQVyQjru7oq+wp+L5JXg) Content-type: text/plain; CHARSET=US-ASCII Content-transfer-encoding: 7BIT Hi Eric, After seeing that error, you should check the status with a "sudo serveradmin fullstatus postgres" to see if it is responsive. That error may show up if the database startup takes longer than expected. You could also try connecting with psql, etc. Did you upgrade from an OS X Server Lion system? If so, a log in /Library/Server/PostgreSQL/Migration should confirm whether pg_upgrade was run successfully. Also /Library/Logs/ServerSetup.log should show 05_postgresmigrator.rb exiting with a result code 0. Does /Library/Logs/PostgreSQL/PostgreSQL.log contain any hints, or anything at all? Also check /var/log/system.log for "servermgr_postgres" entries. Also be aware that other server services (Profile Manager, Wiki, Calendar & Contacts server) use this database instance and cluster, and toggling its state may affect those services. We advise creating a new webapp plist (see 'man webappctl', 'man webapp.plist') with a dependency on 'org.postgres.postgresql' for your use. Another option is to install PostgreSQL from a port (MacPorts, Homebrew, etc.) but the OS X Server installation should work for you. It would also be interesting to know if the services that use postgres (mentioned earlier) are functional. You could start the Wiki service, connect to http://127.0.0.1/ and create a new wiki page to confirm. -Joel Hedden On Aug 17, 2012, at 11:05 AM, Eric Lemings wrote: > Greetings, > > I have a Mac Mini Server which I recently upgraded to Mountain Lion and then again with the optional Server.app i.e. OS X Server. Whenever I try starting PostgreSQL, I get the following: > > $ sudo serveradmin start postgres > postgres:error = "CANNOT_START_SERVICE_TIMEOUT_ERR" > > I haven't been able to pinpoint the cause of this error. Any help greatly appreciated. > > Thanks, > Eric. > > > > -- > Sent via pgsql-admin mailing list (pgsql-admin@postgresql.org) > To make changes to your subscription: > http://www.postgresql.org/mailpref/pgsql-admin --Boundary_(ID_vCvQVyQjru7oq+wp+L5JXg) Content-type: text/html; CHARSET=US-ASCII Content-transfer-encoding: quoted-printable Hi = Eric,
After seeing that error, you should check the status with a = "sudo serveradmin fullstatus postgres" to see if it is responsive. =  That error may show up if the database startup takes longer than = expected.  You could also try connecting with psql, etc.

Did = you upgrade from an OS X Server Lion system?  If so, a log in = /Library/Server/PostgreSQL/Migration should confirm whether pg_upgrade = was run successfully.  Also /Library/Logs/ServerSetup.log should = show 05_postgresmigrator.rb exiting with a result code 0.

Does = /Library/Logs/PostgreSQL/PostgreSQL.log contain any hints, or anything = at all?
Also check /var/log/system.log for "servermgr_postgres" = entries.

Also be aware that other server services (Profile = Manager, Wiki, Calendar & Contacts server) use this database = instance and cluster, and toggling its state may affect those services. =  We advise creating a new webapp plist (see 'man webappctl', 'man = webapp.plist') with a dependency on 'org.postgres.postgresql' for your = use.

Another option is to install PostgreSQL from a port = (MacPorts, Homebrew, etc.) but the OS X Server installation should work = for you.

It would also be interesting to know if the services = that use postgres (mentioned earlier) are functional.  You could = start the Wiki service, connect to http://127.0.0.1/ and create a new = wiki page to confirm.

-Joel Hedden

On Aug 17, = 2012, at 11:05 AM, Eric Lemings wrote:

Greetings,

I have a Mac Mini Server which I = recently upgraded to Mountain Lion and then again with the optional = Server.app i.e. OS X Server.  Whenever I try starting PostgreSQL, I = get the following:

$ sudo serveradmin start = postgres
postgres:error =3D = "CANNOT_START_SERVICE_TIMEOUT_ERR"

I haven't been able to = pinpoint the cause of this error.  Any help greatly = appreciated.

Thanks,
Eric.



--
Sent via = pgsql-admin mailing list (pgsql-admin@postgresql.org)=
To make changes to your subscription:
http://www.postgre= sql.org/mailpref/pgsql-admin

= --Boundary_(ID_vCvQVyQjru7oq+wp+L5JXg)--