postmaster don't run - Mailing list pgsql-general

From Andrea Antibo
Subject postmaster don't run
Date
Msg-id XFMail.981003154143.antibo@mclink.it
Whole thread Raw
List pgsql-general
hi,

I'm installing postgres 6.3.2 in a linux machine (suse 5.2), but I have problem
with postmaster and initdb.

When initb run I have this messages:



-------------
initdb: using /usr/local/pgsql/lib/local1_template1.bki.source as input to creat
e the template database.
initdb: using /usr/local/pgsql/lib/global1.bki.source as input to create the glo
bal classes.
initdb: using /usr/local/pgsql/lib/pg_hba.conf.sample as the host-based authenti
cation control file.

We are initializing the database system with username postgres (uid=26).
This user will own all the files and must also own the server process.

initdb: creating template database in /usr/local/pgsql/data/base/template1
Running: postgres -boot -C -F -D/usr/local/pgsql/data -Q template1
WARN:heap_modifytuple: repl is \  0
initdb: could not create template database
initdb: cleaning up by wiping out /usr/local/pgsql/data/base/template1
-------



Look the last 2 lines.




Now, by postmaster I have:

-------
postmaster does not find the database system.  Expected to find it in the
PGDATA directory "/usr/local/pgsql/data", but unable to open file with pathname
"/usr/local/pgsql/data/base/template1/pg_class".

No data directory -- can't proceed.
-------



So, can anyone help me?


pgsql-general by date:

Previous
From: michel@michel.enter.it
Date:
Subject: subscribe pgsql-general
Next
From: "Agape"
Date:
Subject: [GENERAL] Question programming in C, PGresult *