problem in initdb - Mailing list pgsql-ports

From GBiju@aol.com
Subject problem in initdb
Date
Msg-id e7d3833f.36fb1bca@aol.com
Whole thread Raw
List pgsql-ports
Hi

Version : Postgres v6.4.2 ( just downloaded 2 days back)
OS       :  RedHat v5.1 Linux v ?
hardware: i586 ( Pentium II @ 300Mhz )

The installation went fine until I ran initdb from the postgres account.
It gave a list but at the end it gives a parse error and dumps core.  I am
attaching the output of initdb.  can you help me ?

The compilation and installation went fine I believe, exept for warnings..
which is okay as per docs.

thanx and regards
Biju
initdb: using /usr/local/pgsql/lib/local1_template1.bki.source as input to create the template database.
initdb: using /usr/local/pgsql/lib/global1.bki.source as input to create the global classes.
initdb: using /usr/local/pgsql/lib/pg_hba.conf.sample as the host-based authentication control file.

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

Creating Postgres database system directory /usr/local/pgsql/data

Creating Postgres database system directory /usr/local/pgsql/data/base

initdb: creating template database in /usr/local/pgsql/data/base/template1
Running: postgres -boot -C -F -D/usr/local/pgsql/data -Q template1
    syntax error 2305 : parse error
Creating global classes in /base
Running: postgres -boot -C -F -D/usr/local/pgsql/data -Q template1

Adding template1 database to pg_database...
Running: postgres -boot -C -F -D/usr/local/pgsql/data -Q template1 < /tmp/create.405
ERROR:  pg_atoi: error in "template1": can't parse "template1"
ERROR:  pg_atoi: error in "template1": can't parse "template1"
initdb: could not log template database
initdb: cleaning up.


pgsql-ports by date:

Previous
From: Unprivileged user
Date:
Subject: Port Bug Report: gmake all>& make.log & fails
Next
From: Unprivileged user
Date:
Subject: Port Bug Report: Cannot initdb