Re: [GENERAL] pg_class missing

From: Stuart Rison <stuart(at)ludwig(dot)ucl(dot)ac(dot)uk>
To: pgsql-general(at)postgresql(dot)org
Subject: Re: [GENERAL] pg_class missing
Date: 1999-08-27 09:08:38
Message-ID: v04020a01b3ec06106f1f@[128.40.242.190]
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

Looks like you haven't initialised the database.

>From the Administrators Guide:

"16. Create the database. Do NOT do the following as root! This would be a
major security hole. Type initdb"

executing initdb should generate your base directory.

More info is available in the User and Administration guides.

HTH,

S.

>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.
>
>Thanks
>
>Phil Oelkers
>Database Analyst - Team O
>Experian DirectTech
>
>
>************
+--------------------------+--------------------------------------+
| Stuart C. G. Rison | Ludwig Institute for Cancer Research |
+--------------------------+ 91 Riding House Street |
| N.B. new phone code!! | London, W1P 8BT |
| Tel. +44 (0)207 878 4041 | UNITED KINGDOM |
| Fax. +44 (0)207 878 4040 | stuart(at)ludwig(dot)ucl(dot)ac(dot)uk |
+--------------------------+--------------------------------------+

Browse pgsql-general by date

  From Date Subject
Next Message Patrick Welche 1999-08-27 09:09:05 Re: [GENERAL] pg_class missing
Previous Message Anatoly K. Lasareff 1999-08-27 08:35:30 Re: [GENERAL] pg_class missing