i need help in using pg!!!

Поиск
Список
Период
Сортировка
От atif ahmed
Тема i need help in using pg!!!
Дата
Msg-id 19980810171634.25045.qmail@hotmail.com
обсуждение исходный текст
Ответы Re: [ADMIN] i need help in using pg!!!  (Jeremiah Davis <jdavis@gaslightmedia.com>)
Список 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 по дате отправления:

Предыдущее
От: Jeremiah Davis
Дата:
Сообщение: Re: [ADMIN] Password authentication failing...?
Следующее
От: Jeremiah Davis
Дата:
Сообщение: Re: [ADMIN] i need help in using pg!!!