Skip site navigation (1) Skip section navigation (2)

InitDB Failure - PostgreSQL 7.2, RedHat 7.3, compile from source

From: chris(at)creatop(dot)com(dot)au
To: pgsql-hackers(at)postgresql(dot)org
Subject: InitDB Failure - PostgreSQL 7.2, RedHat 7.3, compile from source
Date: 2002-11-28 07:50:18
Message-ID: 956506.1038469818180.JavaMail.nobody@MACBETH (view raw or flat)
Thread:
Lists: pgsql-hackers
Hi,

Sorry to ask this question straight out but I wasn't sure where else to get an answer! 

Due to the 32 character limit on column/table names, we needed to recompile PostgreSQL from the source with updated settings.  It compiles fine, but on running initdb, we get the following output:

------------------------------------
The files belonging to this database system will be owned by user "postgres".
This user must also own the server process.

Fixing permissions on existing directory /var/lib/pgsql/data... ok
creating directory /var/lib/pgsql/data/base... ok
creating directory /var/lib/pgsql/data/global... ok
creating directory /var/lib/pgsql/data/pg_xlog... ok
creating directory /var/lib/pgsql/data/pg_clog... ok
creating template1 database in /var/lib/pgsql/data/base/1... /usr/bin/initdb: line 473: 23462 Broken pipe             cat "$POSTGRES_BKI"
     23463                       | sed -e "s/POSTGRES/$POSTGRES_SUPERUSERNAME/g" -e "s/ENCODING/$MULTIBYTEID/g"
     23464 Segmentation fault      | "$PGPATH"/postgres -boot -x1 $PGSQL_OPT $BACKEND_TALK_ARG template1

initdb failed.
---------------------------------

Can anyone shed some light on this just by looking at it?  Two of us have wasted basically an entire day getting to this point and would appreciate any assistance.  We may end up having to settle with 64 characters and install the latest RC :-) However ideally we'd like to be able to go beyond 64.

Cheers,

Chris

----------------------------------------------
Chris Cox
B.IT.(Information Systems) 
Senior Software Engineer

Creatop Interactive Media
Level 1, 240 McCullough Street
Sunnybank. Qld. 4109
Australia
Ph:     +61 7 3216 9755
Mobile: +61 412 416600
http://www.creatop.com.au/
chris(at)creatop(dot)com(dot)au
----------------------------------------------

Responses

pgsql-hackers by date

Next:From: Matthew T. O'ConnorDate: 2002-11-28 08:11:33
Subject: Re: Auto Vacuum Daemon (again...)
Previous:From: Steve JacksonDate: 2002-11-28 07:32:46
Subject: System Tables

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group