postmaster problem

From: tahir(at)cybersol(dot)com (Faqir, Tahir)
To: pgsql-general(at)postgreSQL(dot)org
Subject: postmaster problem
Date: 1999-11-18 20:50:37
Message-ID: 3.0.3.32.19991118155037.009944e0@143.207.5.12
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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(at)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?

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Beth Strohmayer 1999-11-18 20:59:42 Re: [GENERAL] How to efficiently update many records at once
Previous Message Faqir Abu Tahir 1999-11-18 20:44:23