Thread: BUG #6334: initdb not working

BUG #6334: initdb not working

From
Wilfried.Weiss@nsg.com
Date:
The following bug has been logged on the website:

Bug reference:      6334
Logged by:          Wilfried Weiss
Email address:      Wilfried.Weiss@nsg.com
PostgreSQL version: 9.1.2
Operating system:   AIX 5300-12-04-1119
Description:=20=20=20=20=20=20=20=20

I successfully compiled 9.1.2 using IBM xlc 9.0 and gnu make 3.80-1. When
trying to initialise the database, no directory structure is created. I used
parameter -d for more debug info but did not find any useful hint why initdb
is not working. I am using PostgreSQL since Version 7.0.4, but that never
happened to me.=20

Any hint is very much appreciated.

Regards Wilfried

Re: BUG #6334: initdb not working

From
Alvaro Herrera
Date:
Excerpts from Wilfried.Weiss's message of mi=C3=A9 dic 14 03:36:25 -0300 20=
11:
> The following bug has been logged on the website:
>=20
> Bug reference:      6334
> Logged by:          Wilfried Weiss
> Email address:      Wilfried.Weiss@nsg.com
> PostgreSQL version: 9.1.2
> Operating system:   AIX 5300-12-04-1119
> Description:=20=20=20=20=20=20=20=20
>=20
> I successfully compiled 9.1.2 using IBM xlc 9.0 and gnu make 3.80-1. When
> trying to initialise the database, no directory structure is created. I u=
sed
> parameter -d for more debug info but did not find any useful hint why ini=
tdb
> is not working. I am using PostgreSQL since Version 7.0.4, but that never
> happened to me.=20

With the amount of info in this report, it seems quite unlikely that we
would be able to come up with an explanation.  Maybe the operating
system is silently failing the mkdir() calls.  Would you run it under
some sort of strace equivalent?

--=20
=C3=81lvaro Herrera <alvherre@commandprompt.com>
The PostgreSQL Company - Command Prompt, Inc.
PostgreSQL Replication, Consulting, Custom Development, 24x7 support

Re: BUG #6334: initdb not working

From
"Weiss, Wilfried"
Date:
Hi Alvaro,

I just compiled version 9.1.3 and got quite the same error.

I still do not have any clue what to change, as the compile runs successful=
ly without any error.

Regards Wilfried=20


-----Urspr=FCngliche Nachricht-----
Von: Alvaro Herrera [mailto:alvherre@alvh.no-ip.org]=20
Gesendet: Mittwoch, 11. Januar 2012 19:48
An: Pg Bugs
Cc: Weiss, Wilfried
Betreff: Fwd: AW: [BUGS] BUG #6334: initdb not working

I'm forwarding a reply I got to my personal email.  I have no idea what
to do with this report.  The interesting extract from the attached log
file is:

initializing dependencies ... ok
creating system views ... FATAL:  column "?column?" specified more than once
STATEMENT:  /*
     * PostgreSQL System Views
     *
     * Copyright (c) 1996-2011, PostgreSQL Global Development Group
     *
     * src/backend/catalog/system_views.sql
     */
=20=20=20=20
    CREATE VIEW pg_roles AS


Wilfried: please CC the list in replies always.



--- Begin forwarded message from Weiss, Wilfried ---
From: "Weiss, Wilfried" <wilfried.weiss@nsg.com>
To: Alvaro Herrera <alvherre@commandprompt.com>
Date: Wed, 11 Jan 2012 09:38:16 -0300
Subject: AW: [BUGS] BUG #6334: initdb not working

Hi Alvaro,

sorry for answering so late.

I asked my AIX systems administrator for support on this issue. However the=
y had no idea what kind of strace I could run to get more detailed informat=
ion.

Could you please give me any advice how to trace this bug?

Attached you find the debugging output of initdb. This is the only informat=
ion I have at the moment. Maybe this helps a little bit.


Best Regards / Mit freundlichen Gr=FCssen
Wilfried Weiss

A+W Basis Administration
IS Group Services
Pilkington Deutschland AG
NSG Group
Tel.: +49 (0)209 168 2624
Fax: +49 (0)209 168 2330
Mobil: +49 (0)171 306 9635
mailto:Wilfried.Weiss@nsg.com


-----Urspr=FCngliche Nachricht-----
Von: Alvaro Herrera [mailto:alvherre@commandprompt.com]=20
Gesendet: Mittwoch, 14. Dezember 2011 23:06
An: Weiss, Wilfried
Cc: Pg Bugs
Betreff: Re: [BUGS] BUG #6334: initdb not working

Excerpts from Wilfried.Weiss's message of mi=E9 dic 14 03:36:25 -0300 2011:
> The following bug has been logged on the website:
>=20
> Bug reference:      6334
> Logged by:          Wilfried Weiss
> Email address:      Wilfried.Weiss@nsg.com
> PostgreSQL version: 9.1.2
> Operating system:   AIX 5300-12-04-1119
> Description:=20=20=20=20=20=20=20=20
>=20
> I successfully compiled 9.1.2 using IBM xlc 9.0 and gnu make 3.80-1. When
> trying to initialise the database, no directory structure is created. I u=
sed
> parameter -d for more debug info but did not find any useful hint why ini=
tdb
> is not working. I am using PostgreSQL since Version 7.0.4, but that never
> happened to me.=20

With the amount of info in this report, it seems quite unlikely that we
would be able to come up with an explanation.  Maybe the operating
system is silently failing the mkdir() calls.  Would you run it under
some sort of strace equivalent?

--- End forwarded message ---

--=20
=C1lvaro Herrera <alvherre@alvh.no-ip.org>

http://nsg.com/disclaimer