Home > Archive > PostgreSQL Bugs > December 2005 > BUG #2083: initdb fails with: child process was terminated by signal 11









You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

 

Author BUG #2083: initdb fails with: child process was terminated by signal 11
Wilfried Weiss

2005-12-01, 11:24 am


The following bug has been logged online:

Bug reference: 2083
Logged by: Wilfried Weiss
Email address: Wilfried.Weiss@Pilkington.de
PostgreSQL version: 8.1.0
Operating system: AIX 5.1
Description: initdb fails with: child process was terminated by
signal 11
Details:

make of PostgreSQL completed without problems:

Configure parms:
../configure --enable-odbc --enable-syslog
--with-includes=/opt/freeware/include --with-libraries=/opt/freew
are/lib --with-tclconfig=/opt/freeware/lib

C-Compiler IBM C for AIX Version 6.0

This worked well until PostgreSQL 8.0.3.

initdb has the following output:

$ initdb -d
Running in debug mode.
VERSION=8.1.0
PGDATA=/database/data
share_path=/usr/local/pgsql/share
PGPATH=/usr/local/pgsql/bin
POSTGRES_SUPERUSERNA
ME=postgres
POSTGRES_BKI=/usr/local/pgsql/share/postgres.bki
POSTGRES_DESCR=/usr/local/pgsql/share/postgres.description
POSTGRESQL_CONF_SAMP
LE=/usr/local/pgsql/share/postgresql.conf.sample
PG_HBA_SAMPLE=/usr/local/pgsql/share/pg_hba.conf.sample
PG_IDENT_SAMPLE=/usr/local/pgsql/share/pg_ident.conf.sample
The files belonging to this database system will be owned by user
"postgres".
This user must also own the server process.

The database cluster will be initialized with locale en_US.
The default database encoding has accordingly been set to LATIN1.

fixing permissions on existing directory /database/data ... ok
creating directory /database/data/global ... ok
creating directory /database/data/pg_xlog ... ok
creating directory /database/data/pg_xlog/archive_status ... ok
creating directory /database/data/pg_clog ... ok
creating directory /database/data/pg_subtrans ... ok
creating directory /database/data/pg_twophase ... ok
creating directory /database/data/pg_multixact/members ... ok
creating directory /database/data/pg_multixact/offsets ... ok
creating directory /database/data/base ... ok
creating directory /database/data/base/1 ... ok
creating directory /database/data/pg_tblspc ... ok
selecting default max_connections ... 10
selecting default shared_buffers ... 50
creating configuration files ... ok
creating template1 database in /database/data/base/1 ... DEBUG: invoking
IpcMemoryCreate(size
=1335296)
LOG: database system was shut down at 2005-12-01 08:40:47 NFT
LOG: checkpoint record is at 0/20
LOG: redo record is at 0/20; undo record is at 0/20; shutdown TRUE
LOG: next transaction ID: 3; next OID: 10000
LOG: next MultiXactId: 1; next MultiXactOffset: 0
LOG: database system is ready
child process was terminated by signal 11
initdb: removing contents of data directory "/database/data"
$

---------------------------(end of broadcast)---------------------------
TIP 3: Have you checked our extensive FAQ?

http://www.postgresql.org/docs/faq

Weiss, Wilfried

2005-12-02, 9:23 am

Hi Senenca,

I think that I do not need readline, so I will try to recompile --without-readline.
The server is running AIX 5.1 ML 2. Before I recompile I will apply ML 7, thought I already did it.
As this is an old F40 I cannot upgrade to AIX 5.2 or above, so I have to stay on 5.1.

I think there must have been a major change from 8.0.3 to 8.0.4 as I did not notice any problem on 8.0.3.

Thank you for the quick help.
I will tell you whether it worked.

Regards
Wilfried Weiss

-----Ursprüngliche Nachricht-----
Von: Seneca Cunningham & #91;mailto:scunning@
ca.afilias.info]
Gesendet: Donnerstag, 1. Dezember 2005 20:22
An: Weiss, Wilfried
Cc: pgsql-bugs@postgresql.org
Betreff: Re: [BUGS] BUG #2083: initdb fails with: child process was
terminated by signal 11


Wilfried Weiss wrote:
> Configure parms:
> ./configure --enable-odbc --enable-syslog
> --with-includes=/opt/freeware/include --with-libraries=/opt/freew
> are/lib --with-tclconfig=/opt/freeware/lib
>
> C-Compiler IBM C for AIX Version 6.0
>
> This worked well until PostgreSQL 8.0.3.


If you pass configure the flag "--without-readline", does gmake check
succeed? If it does and you need readline capabilities in the copy of
psql on your AIX box, there are a few options:

0) use libedit (patching postgres' configure scripts is required
unless readline is removed from the server)
1) installing readline 5.0 and replacing your standard 4.3 build
2) relinking your existing libreadline so that it doesn't export
strncpy and other functions that it shouldn't
3) use an external readline wrapper around the readline-less psql

By the way, which maintenance level is your server at?

--
Seneca Cunningham
scunning@ca.afilias.info

---------------------------(end of broadcast)---------------------------
TIP 4: Have you searched our list archives?

http://archives.postgresql.org

Sponsored Links





Also available: Server administration forum archive | Web Design forum archive | Software forum archive | Hardware reviews archive | Programming forum archive

Copyright 2008 droptable.com