Re: [SOLVED] Re: pgsql8b5 not launching on OSX system start;

From: Joel <rees(at)ddcom(dot)co(dot)jp>
To: pgsql-general <pgsql-general(at)postgresql(dot)org>
Cc: OpenMacNews <pgsql-general(dot)20(dot)openmacnews(at)spamgourmet(dot)com>
Subject: Re: [SOLVED] Re: pgsql8b5 not launching on OSX system start;
Date: 2004-12-03 01:30:49
Message-ID: 20041203101814.1222.REES@ddcom.co.jp
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

(From someone else who doesn't know what doesn't know, ... :-/)

> sudo -u testuser sh -c "nohup /usr/local/pgsql/bin/postmaster [...]
...

> >> note that my cmd line refers to the conf file, which has the external
> >> PID id'd in it:
> >
> >> external_pid_file = '/var/run/postgresql.pid'
> ...
> just checked -- looks ok. PID is properly 'owned & operated' by the postmaster
> superuser defined in the launch command

Who owns /var/run? What group? Does testuser have permission to delete
files there? (May need to add testuser to the wheel or admin group?)

Another thought, try su -c instead of sudo?

(See warning on first line. It's been a while since I've mucked that
deep in the Mac OS X configurations, and my box is still on 10.2, so I'm
probably just blowing smoke.)

--
Joel Rees <rees(at)ddcom(dot)co(dot)jp>
digitcom, inc. 株式会社デジコム
Kobe, Japan +81-78-672-8800
** <http://www.ddcom.co.jp> **

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Mike Cox 2004-12-03 01:46:56 Re: 3rd RFD: comp.databases.postgresql (was: comp.databases.postgresql.*)
Previous Message OpenMacNews 2004-12-03 00:37:49 Re: [SOLVED] Re: pgsql8b5 not launching on OSX system start;