Re: [GENERAL] pg_class missing - Mailing list pgsql-general

From Patrick Welche
Subject Re: [GENERAL] pg_class missing
Date
Msg-id E11KI0P-0005De-00@quartz.newn.cam.ac.uk
Whole thread Raw
In response to pg_class missing  ("Phil Oelkers" <Phil.Oelkers@experian.com>)
List pgsql-general
Phil Oelkers wrote:
>
> I want to use postgresql.
>
> The error message is:
> /usr/bin/postmaster does not find the database system
>
> The problem seems to be:
>  file /var/lib/pgsql/base/template1/pg_class is missing.
>
> in fact I can only find up to /var/lib/pgsgl/
>
> How do I create the missing directories and file(s) ?
>
> I installed RedHat Linux from Mandrake.

One thing: I would have expected pgsql/data/base/template1/pg_class
(extra "data") Does setting the environment variable "PGDATA" to
/var/lib/pgsql/data and running initdb help?

Cheers,

Patrick

pgsql-general by date:

Previous
From: Stuart Rison
Date:
Subject: Re: [GENERAL] pg_class missing
Next
From: "Phil Oelkers"
Date:
Subject: pg_class missing - THANKS!