Cannot start postgres

Questions and answers regarding general SQL and backend databases

Cannot start postgres

Postby birgit » Fri Dec 02, 2011 1:06 pm

Hi

Does anybody know what this error message means?
Code: Select all
02.12.11 11:55:26   com.apple.launchd[1]   (org.postgresql.postgres[323]) getpwnam("postgres") failed
02.12.11 11:55:26   com.apple.launchd[1]   (org.postgresql.postgres[323]) Exited with exit code: 1


Thanks and regards
Birgit Rieder
7r gmbh, Switzerland
SAN Developer
User avatar
birgit
 
Posts: 302
Joined: Sun Jan 15, 2006 10:04 pm
Location: Switzerland

Re: Cannot start postgres

Postby ROCLASI » Fri Dec 02, 2011 1:43 pm

Hi Birgit,

I believe this means that the system user 'postgres' doesn't exist.
Launchd tries to launch PostgreSQL under that system user.
Did you perhaps copy over an PostgreSQL installation instead of using an installer ?
Robert Ivens
SAN Developer / Servoy Valued Professional / Servoy Certified Developer

ROCLASI Software Solutions / JBS Group, Partner
Mastodon: @roclasi
--
ServoyForge - Building Open Source Software.
PostgreSQL - The world's most advanced open source database.
User avatar
ROCLASI
Servoy Expert
 
Posts: 5438
Joined: Thu Oct 02, 2003 9:49 am
Location: Netherlands/Belgium

Re: Cannot start postgres

Postby birgit » Fri Dec 02, 2011 3:12 pm

Hi Robert

Thank you for your answer!

I actually did install Servoy 6 together with postgres (at the Camp). And did remove it again. My original prostgres installation is under /urs/local.

Last week my java installation did break and I updated to 1.6.0_29. Servoy was useless with this version. So I had to reinstall os and java. I thought, I might have lost a postgres configuration during these update processes? How can I create the user postgres without running postgres processes?

Best regards
Birgit Rieder
7r gmbh, Switzerland
SAN Developer
User avatar
birgit
 
Posts: 302
Joined: Sun Jan 15, 2006 10:04 pm
Location: Switzerland

Re: Cannot start postgres

Postby birgit » Fri Dec 02, 2011 10:59 pm

Hi Robert

I did reinstall postgres. Thanks for answering.

Kind regards
Birgit Rieder
7r gmbh, Switzerland
SAN Developer
User avatar
birgit
 
Posts: 302
Joined: Sun Jan 15, 2006 10:04 pm
Location: Switzerland


Return to SQL Databases

Who is online

Users browsing this forum: No registered users and 22 guests