Starting PostMaster
Starting PostMaster
От:
ashley <ashley@SITCAS.com.au>
Дата:
Thanks for first responces. Instaled this morning indications all successful typing these commands as "postgres" a user as per the INSTALL /usr/local/pgsql/bin/postmaster -D /usr/local/pgsql/data gives: /usr/local/pgsql/bin/postmaster does not find the database system. Expected to find it in the PGDATA directory "/usr/local/pgsql/data", but unable to open file with pathname "/usr/local/pgsql/data/base/template1/pg_class". No data directory -- can't proceed. Thanks in advance Ashley
Re: Starting PostMaster
От:
"Brett W. McCoy" <bmccoy@chapelperilous.net>
Дата:
On Mon, 15 Jan 2001, ashley wrote:
> Instaled this morning
> indications all successful
>
> typing these commands as "postgres" a user as per the INSTALL
>
> /usr/local/pgsql/bin/postmaster -D /usr/local/pgsql/data
>
> gives:
>
> /usr/local/pgsql/bin/postmaster does not find the database system.
> Expected to find it in the PGDATA directory "/usr/local/pgsql/data", but
> unable to open file with pathname
> "/usr/local/pgsql/data/base/template1/pg_class".
Did you run initdb first? This creates the default data directory you
need:
/usr/local/pgsql/bin/initdb -D /usr/local/pgsql/data
Make sure /usr/local/pgsql/data exists and is owned by postgres.
-- Brett
http://www.chapelperilous.net/~bmccoy/
---------------------------------------------------------------------------
You will be successful in your work.