From: | Ken Guest <kguest(at)stockbyte(dot)com> |
---|---|
To: | Doug McNaught <doug(at)mcnaught(dot)org> |
Cc: | Gregory Wood <gregw(at)com-stock(dot)com>, Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>, pgsql-general(at)postgresql(dot)org |
Subject: | Re: postgres on a FreeBSD 4.5 box |
Date: | 2002-11-01 16:47:02 |
Message-ID: | 3DC2B006.3070903@stockbyte.com |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-general |
Doug McNaught wrote:
>Ken Guest <kguest(at)stockbyte(dot)com> writes:
>
>
>
>>Gregory Wood wrote:
>>
>>No such beast as /var/log/pgsql.
>>I did get this in a logfile though:
>>"
>>postmaster does not find the database system.
>> Expected to find it in the PGDATA directory "/usr/local/pgsql/data",
>> but unable to open file
>>"/usr/local/pgsql/data/global/pg_control": Permission denied
>>"
>>
>>Here's an ls -l
>>su-2.05a# ls -l /usr/local/pgsql/data/global/pg_control
>>-rw------- 1 pgsql pgsql 8192 Nov 1 14:33
>>/usr/local/pgsql/data/global/pg_control
>>su-2.05a#
>>
>>
>
>Is /usr/local/pgsql/data/global/pg_control readable by user 'pgsql'?
>Does the startup script 'su' to that user before calling 'pg_ctl'?
>
>It's possible that pg_control has the right permissions (looks OK from
>the above) but one of the directories above it is locked down.
>
>
>
As an aside to this I've recompiled the kernel with a few flags tweaked
(NMBCLUSTERS) so,
being thorough (unnecessarily?) I'm recompiling postgresql on the off
chance that it needs to
pick up on the changes.
Then I'm going to do a reinstall and edit the startup script. I'll let
you know how I progress.
thanks
Ken
>
>
From | Date | Subject | |
---|---|---|---|
Next Message | Neil Conway | 2002-11-01 16:48:06 | Re: my.cnf to postgresql.conf Conversion |
Previous Message | scott.marlowe | 2002-11-01 16:43:35 | Re: my.cnf to postgresql.conf Conversion |