starting postmaster

From: ashley <ashley(at)SITCAS(dot)com(dot)au>
To: pgsql-novice(at)postgresql(dot)org
Subject: starting postmaster
Date: 2001-01-15 02:42:02
Message-ID: 3A62637A.28B472F1@SITCAS.com.au
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-novice

Good Afternoon,

I installed postgresql this morning and appears to have installed ok.

created a user postgres.

used the commands from the INSTALL and they failed.

Changed to /usr/local/pgsql/bin

postmaster appears aas a symbolic link that dosen't work

tried postgres and got the "correct" error

tried scripting the session but denied! (root isn't allowed to start the
postmaster sono point trying)

tried postgres -D /user/local/pgsql/data

and got

DEBUG: Data Base System is starting up at Mon Jan 15 13:17:30 2001
FATAL 2: Open("/usr/local/pgsql/data//pg_control") failed: 2
FATAL 2: Open("/usr/local/pgsql/data//pg_control") failed: 2

then tried

nohup postgres -D /user/local/pgsql/data </dev/null >>server.log 2>>1 &

postgres does not know where to find the database system data. You must
specify the directory that contains the database system either by
specifying the -D invocation option or by setting the PGDATA environment
variable.

Help would be appreciated!

Thanks

Ashley

Responses

Browse pgsql-novice by date

  From Date Subject
Next Message Jonathan Chum 2001-01-15 04:07:45 Re: Two novice questions
Previous Message Tom Lane 2001-01-15 02:18:25 Re: Two novice questions