Re: [GENERAL] postmaster problem - Mailing list pgsql-general

From Herbert Liechti
Subject Re: [GENERAL] postmaster problem
Date
Msg-id 38346BE5.E05AB612@thinx.ch
Whole thread Raw
In response to postmaster problem  (tahir@cybersol.com (Faqir, Tahir))
List pgsql-general
"Faqir, Tahir" wrote:

> 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
> "/usr/lib/pgsql/base/template1/pg_class".
>
> No data directory -- can't proceed.

Did you run initdb? --> See INSTALL readme

       18.     Create the database installation from your
         Postgres superuser account (typically account
         postgres). Do not do the following as root! This
         would be a major security hole. Type
         $ initdb



--
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Herbert Liechti                            E-Mail: Herbert.Liechti@thinx.ch
ThinX networked business services               Stahlrain 10, CH-5200 Brugg
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~




pgsql-general by date:

Previous
From: Herbert Liechti
Date:
Subject: Re: [GENERAL] Re: sql question
Next
From: Ed Loehr
Date:
Subject: Re: [GENERAL] Re: sql question