Re: Starting PostMaster

From: "Brett W(dot) McCoy" <bmccoy(at)chapelperilous(dot)net>
To: ashley <ashley(at)SITCAS(dot)com(dot)au>
Cc: <pgsql-novice(at)postgresql(dot)org>
Subject: Re: Starting PostMaster
Date: 2001-01-15 07:02:01
Message-ID: Pine.LNX.4.30.0101150158170.7699-100000@chapelperilous.net
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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.

In response to

Browse pgsql-novice by date

  From Date Subject
Next Message Tom Lane 2001-01-15 07:28:10 Re: Alternate Location
Previous Message ashley 2001-01-15 06:48:45 Starting PostMaster