| From: | OpenMacNews <pgsql-general(dot)20(dot)openmacnews(at)spamgourmet(dot)com> |
|---|---|
| To: | pgsql-general <pgsql-general(at)postgresql(dot)org> |
| Cc: | Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us> |
| Subject: | Re: [SOLVED] Re: pgsql8b5 not launching on OSX system start; |
| Date: | 2004-12-03 00:37:49 |
| Message-ID: | 1C8F1E78C32D56B18B2D674F@tiedgar.internal.presence-group.net |
| Views: | Whole Thread | Raw Message | Download mbox | Resend email |
| Thread: | |
| Lists: | pgsql-general |
hi,
> But who is it owned by, and with what permissions?
same owner as postmaster, 0644 or 0600
> If you do the "touch" as some other user than the postmaster runs as, it's
very
> plausible the postmaster can't write the file. (That doesn't yet
> explain why it goes south afterward, but first we need to understand
> the conditions that make it fail.)
yup. agreed.
postmaster launched as 'testuser', pidfile touched as:
sudo -u testuser touch /var/run/postgresql.pid
resulting in:
-rw-r--r-- 1 testuser testuser 4 Dec 2 14:07 postgresql.pid
fwiw, i've got a clean build under way on another box: pgsql, prereqs and dir
hierarchy will all be 'fresh'. we'll see if it's me (betcha! there's been a
LOT going on on _this_ box ... more than pgsql) or the code ...
richard
| From | Date | Subject | |
|---|---|---|---|
| Next Message | Joel | 2004-12-03 01:30:49 | Re: [SOLVED] Re: pgsql8b5 not launching on OSX system start; |
| Previous Message | Tom Lane | 2004-12-03 00:24:00 | Re: [SOLVED] Re: pgsql8b5 not launching on OSX system start; otherwise OK |