i need help in using pg!!! - Mailing list pgsql-admin

From atif ahmed
Subject i need help in using pg!!!
Date
Msg-id 19980810171634.25045.qmail@hotmail.com
Whole thread Raw
Responses Re: [ADMIN] i need help in using pg!!!
List pgsql-admin
hi all
i installed postgresql 6.3.2-6 that comes with redhat 5.1 as a root. "i
tried to install it as a regular user but rpm wouldn't allow me"
anyway, after i installed it i logged into my regular account added the
following to my bash_profile:
PATH=$PATH:/usr/bin/postgresql
PGDATA=/var/lib/pgsql
PGLIB=/usr/lib/pgsql
and exported all the above.
when i tried to run the postmaster, it failed:these are the contents of
regress.log:
postmaster does not find the database system.
 Expected to find it in the PGDATA directory "/var/lib/pgsql", but
unable to open file with
pathname "/var/lib/pgsql/base/template1/pg_class".
No data directory -- can't proceed.

and these are the contents of server.log:-
postmaster does not find the database system.
Expected to find it in the PGDATA directory "/var/lib/pgsql",
but unable to open file with
pathname "/var/lib/pgsql/base/template1/pg_class".
No data directory -- can't proceed.

so the questions are:
i- what am i missing? or what did i do wrong?
ii- has any of you installed it from the redaht cd? if so, how did you
do it?


thanx in advance
mark

______________________________________________________
Get Your Private, Free Email at http://www.hotmail.com

pgsql-admin by date:

Previous
From: Jeremiah Davis
Date:
Subject: Re: [ADMIN] Password authentication failing...?
Next
From: Jeremiah Davis
Date:
Subject: Re: [ADMIN] i need help in using pg!!!