postmaster problem

Поиск
Список
Период
Сортировка
От tahir@cybersol.com (Faqir, Tahir)
Тема postmaster problem
Дата
Msg-id 3.0.3.32.19991118155037.009944e0@143.207.5.12
обсуждение исходный текст
Список pgsql-general
Hi all,

According to a dbi mailing list buddy's instructions I set the env vars
like so in my /etc/profile


PGDATA=/usr/lib/pgsql
PGLIB=/usr/lib/pgsql
export PGDATA PGLIB


But still the problem exists...I can't connect to the pgsql monitor
program. I need to start the post master before I can successfully enter
the command
 %> pgsql

running the postmaster gives me the following error:

[faqir@picard faqir]$ postmaster
/usr/bin/postmaster does not find the database system.  Expected to find it
in t
he PGDATA directory "/usr/lib/pgsql", but unable to open file with pathname
"/us
r/lib/pgsql/base/template1/pg_class".

No data directory -- can't proceed.


All help is appreciated. Even it is just brainstorming type:)


With Thanks,

Sincerely,
Tahir

PS...by the way why is postmaster used or needed?

В списке pgsql-general по дате отправления:

Предыдущее
От: Beth Strohmayer
Дата:
Сообщение: Re: [GENERAL] How to efficiently update many records at once
Следующее
От: Martin Weinberg
Дата:
Сообщение: Re: [GENERAL] How to efficiently update many records at once