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

Поиск
Список
Период
Сортировка
От Joel
Тема Re: [SOLVED] Re: pgsql8b5 not launching on OSX system start;
Дата
Msg-id 20041203101814.1222.REES@ddcom.co.jp
обсуждение исходный текст
Ответ на Re: [SOLVED] Re: pgsql8b5 not launching on OSX system start;  (OpenMacNews <pgsql-general.20.openmacnews@spamgourmet.com>)
Ответы Re: [SOLVED] Re: pgsql8b5 not launching on OSX system start
Список 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@ddcom.co.jp>
digitcom, inc.   株式会社デジコム
Kobe, Japan   +81-78-672-8800
** <http://www.ddcom.co.jp> **


В списке pgsql-general по дате отправления:

Предыдущее
От: OpenMacNews
Дата:
Сообщение: Re: [SOLVED] Re: pgsql8b5 not launching on OSX system start;
Следующее
От: "Berend Tober"
Дата:
Сообщение: Re: Rules