Initfb fails

From: Argentino trombin <arge(at)inca(dot)finsiel(dot)it>
To: maillist(at)candle(dot)pha(dot)pa(dot)us
Subject: Initfb fails
Date: 1999-07-15 12:56:12
Message-ID: 378DDA6C.1FAF186C@inca.finsiel.it
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

Dear All:
I am new to linux and postgresql and Ihave a problem.

I installed the RedHat rpm packages for postgresql 6.4.3-2 and tried to
follow the intructions in chapter 4 about the installation. The problem
lies with initdb. After entering as user postrgres, from the shell (in
/usr/var/pgsql) I run:
"initdb --pglib=/usr/lib/pgsql --pgdata=data --username=postgres"

and get the following error:

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

Creating template database in data/base/template1
ERROR: cannot read block 0 of pg_variable
ERROR: cannot read block 0 of pg_variable
initdb: could not create template database
initdb: cleaning up by wiping out data/base/template1"

I cant figure out what this error means or how to fix it. Can anybody
help?

Kind thanks

Argentino

-----
Argentino Trombin
Finsiel SpA
Rome, Italy

Browse pgsql-general by date

  From Date Subject
Next Message Bruce Momjian 1999-07-15 13:34:53 Re: [GENERAL] Multi-threading on PostgreSQL?
Previous Message Chris Bitmead 1999-07-15 06:31:11 Re: [GENERAL] Multi-threading on PostgreSQL?