Re: Starting PostMaster - Mailing list pgsql-novice

From Brett W. McCoy
Subject Re: Starting PostMaster
Date
Msg-id Pine.LNX.4.30.0101150158170.7699-100000@chapelperilous.net
Whole thread Raw
In response to Starting PostMaster  (ashley <ashley@SITCAS.com.au>)
List pgsql-novice
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.


pgsql-novice by date:

Previous
From: ashley
Date:
Subject: Starting PostMaster
Next
From: Tom Lane
Date:
Subject: Re: Alternate Location