Port Bug Report: Syntax error while doing initdb

From: Unprivileged user <nobody>
To: pgsql-ports(at)postgresql(dot)org
Subject: Port Bug Report: Syntax error while doing initdb
Date: 1999-02-16 18:54:54
Message-ID: 199902161854.NAA75378@hub.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-ports


============================================================================
POSTGRESQL BUG REPORT TEMPLATE
============================================================================

Your name : Randy Mann
Your email address : randy213(at)hotmail(dot)com

Category : install: other
Severity : non-critical

Summary: Syntax error while doing initdb

System Configuration
--------------------
Operating System : Red Hat Linux Release 5.2 (Apollo)

PostgreSQL version : 6.4.2

Compiler used : gcc

Hardware:
---------
Pentium, 32 Mb RAM

Versions of other tools:
------------------------
make

--------------------------------------------------------------------------

Problem Description:
--------------------
When I run initdb, an error comes as
syntax error 2305 : parse error.

[postgres(at)oak postgres]$ initdb
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=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
.15280
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.
[postgres(at)oak postgres]$

--------------------------------------------------------------------------

Test Case:
----------

--------------------------------------------------------------------------

Solution:
---------

--------------------------------------------------------------------------

Browse pgsql-ports by date

  From Date Subject
Next Message Unprivileged user 1999-02-18 00:19:02 Port Bug Report: Cluster crashes
Previous Message David Stes 1999-02-16 11:01:34 Unixware 7