Port Bug Report: initdb failure - Mailing list pgsql-ports

From Unprivileged user
Subject Port Bug Report: initdb failure
Date
Msg-id 199901311911.OAA70867@hub.org
Whole thread Raw
List pgsql-ports
============================================================================
                        POSTGRESQL BUG REPORT TEMPLATE
============================================================================


Your name        : Antonio Tozzi
Your email address    : antonio@hp720.icqem.pi.cnr.it

Category        : runtime: back-end
Severity        : critical

Summary: initdb failure

System Configuration
--------------------
  Operating System   : Linux 2.0.34

  PostgreSQL version : 6.4.2

  Compiler used      : gcc2.7.2.3

Hardware:
---------
486dx66 20mb ram

Versions of other tools:
------------------------
gnu make 3.76.1

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

Problem Description:
--------------------
Running with debug mode on.
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=1000).
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

Creating template database in /usr/local/pgsql/data/base/template1
Running: postgres -boot -C -F -D/usr/local/pgsql/data -d template1

Creating global classes in /usr/local/pgsql/data/base
Running: postgres -boot -C -F -D/usr/local/pgsql/data -d template1
Running with debug mode on.
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=1000).
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

Creating template database in /usr/local/pgsql/data/base/template1
Running: postgres -boot -C -F -D/usr/local/pgsql/data -d template1

Creating global classes in /usr/local/pgsql/data/base
Running: postgres -boot -C -F -D/usr/local/pgsql/data -d template1

Adding template1 database to pg_database...
Running: postgres -boot -C -F -D/usr/local/pgsql/data -d template1 < /tmp/create.1151
Amopen: relation pg_database. attrsize 65
TRAP: Failed Assertion("!(reldesc):", File: "bootstrap.c", Line: 494)

!(reldesc) (0) [No such file or directory]
initdb: could not log template database
initdb: cleaning up.

Adding template1 database to pg_database...
Running: postgres -boot -C -F -D/usr/local/pgsql/data -d template1 < /tmp/create.1151
Amopen: relation pg_database. attrsize 65
TRAP: Failed Assertion("!(reldesc):", File: "bootstrap.c", Line: 494)

!(reldesc) (0) [No such file or directory]
initdb: could not log template database
initdb: cleaning up.


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

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


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

Solution:
---------


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


pgsql-ports by date:

Previous
From: Unprivileged user
Date:
Subject: Port Bug Report: GRANT to GROUP(s) causes PG_DUMP(ALL) to fail
Next
From: Unprivileged user
Date:
Subject: Port Bug Report: Can't import nullable date field with COPY in psql