Re: postgres on a FreeBSD 4.5 box

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Ken Guest <kguest(at)stockbyte(dot)com>
Cc: Gregory Wood <gregw(at)com-stock(dot)com>, pgsql-general(at)postgresql(dot)org
Subject: Re: postgres on a FreeBSD 4.5 box
Date: 2002-11-01 16:39:53
Message-ID: 26766.1036168793@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

Ken Guest <kguest(at)stockbyte(dot)com> writes:
> 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

You've got a file permissions or ownership problem. Offhand it looks
like the files are owned by "pgsql" but you're probably trying to run
the postmaster as "postgres". You can either "chown -R"
/usr/local/pgsql/data to postgres or tweak the start script to su to
pgsql instead of postgres.

regards, tom lane

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message scott.marlowe 2002-11-01 16:43:35 Re: my.cnf to postgresql.conf Conversion
Previous Message Doug McNaught 2002-11-01 16:36:27 Re: postgres on a FreeBSD 4.5 box