initdb fails on HP-UX 10.20 / PGSQL 7.1.2

Started by PostgreSQL Bugs Listalmost 25 years ago2 messagesbugs
Jump to latest
#1PostgreSQL Bugs List
pgsql-bugs@postgresql.org

Roland Lammel (lammel@atc.co.at) reports a bug with a severity of 1
The lower the number the more severe it is.

Short Description
initdb fails on HP-UX 10.20 / PGSQL 7.1.2

Long Description
Installation: Compile from source on HP-UX 10.20 with
configure --prefix=/opt/postgresql

after install...

[47]: % /opt/postgresql/bin/initdb -D /opt/postgresql/data This database system will be initialized with username "pgsql". This user will own all the data files and must also own the server process.
This database system will be initialized with username "pgsql".
This user will own all the data files and must also own the server process.

Creating directory /opt/postgresql/data
Creating directory /opt/postgresql/data/base
Creating directory /opt/postgresql/data/global
Creating directory /opt/postgresql/data/pg_xlog
Creating template1 database in /opt/postgresql/data/base/1
DEBUG: database system was shut down at 2001-06-28 10:12:41 METDST
DEBUG: CheckPoint record at (0, 8)
DEBUG: Redo record at (0, 8); Undo record at (0, 8); Shutdown TRUE
DEBUG: NextTransactionId: 514; NextOid: 16384
DEBUG: database system is in production state
Creating global relations in /opt/postgresql/data/global
DEBUG: database system was shut down at 2001-06-28 10:12:49 METDST
DEBUG: CheckPoint record at (0, 112)
DEBUG: Redo record at (0, 112); Undo record at (0, 0); Shutdown TRUE
DEBUG: NextTransactionId: 514; NextOid: 17199
DEBUG: database system is in production state
Initializing pg_shadow.
Enabling unlimited row width for system tables.
Creating system views.
/opt/postgresql/bin/initdb[572]: 11505 Memory fault(coredump)

initdb failed.
Removing /opt/postgresql/data.
Removing temp file /tmp/initdb.11454.

Sample Code

No file was uploaded with this report

#2Tom Lane
tgl@sss.pgh.pa.us
In reply to: PostgreSQL Bugs List (#1)
Re: initdb fails on HP-UX 10.20 / PGSQL 7.1.2

pgsql-bugs@postgresql.org writes:

initdb fails on HP-UX 10.20 / PGSQL 7.1.2

Hmm. What compiler are you using? HPUX 10.20 is my primary development
platform, so I can assure you PG works on it ;-). I usually test with
gcc (currently 2.95.3) and HP's cc (what /usr/bin/cc says HP92453-01
A.10.32.22 HP C Compiler at the moment). Another possibility is that
you ought to update your C library.

regards, tom lane