postmaster problem - Mailing list pgsql-general

From tahir@cybersol.com (Faqir, Tahir)
Subject postmaster problem
Date
Msg-id 3.0.3.32.19991118155037.009944e0@143.207.5.12
Whole thread Raw
List 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 by date:

Previous
From: Beth Strohmayer
Date:
Subject: Re: [GENERAL] How to efficiently update many records at once
Next
From: Martin Weinberg
Date:
Subject: Re: [GENERAL] How to efficiently update many records at once