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

Re: initdb fails

From: Jason Tishler <Jason(dot)Tishler(at)dothill(dot)com>
To: schopen(at)dimdi(dot)de
Cc: pgsql-cygwin(at)postgresql(dot)org
Subject: Re: initdb fails
Date: 2001-04-18 17:30:04
Message-ID: (view raw, whole thread or download thread mbox)
Lists: pgsql-cygwin

On Wed, Apr 18, 2001 at 06:13:43PM +0200, schopen(at)dimdi(dot)de wrote:
> bash-2.04$ bin/initdb
> This database system will be initialized with username "schopen".
> This user will own all the data files and must also own the server 
> process.
> Creating directory /usr/share/postgresql/data
> [snip]
> Initializing pg_shadow.
> initdb failed.
> Removing /usr/share/postgresql/data.
> Removing temp file /tmp/initdb.194.
> Any help? Thanks a lot.

I just tried the above with the following configuration:

    NT 4.0 SP6a
    PostgreSQL 7.1-2
    cygipc 1.09-2
    Cygwin 1.1.8-2 (with cygwin1.dll replaced by cygwin1-20010416.dll.bz2)

and the initdb worked as expected.

My only suggestion is to capture the output from the following:

    $ sh -x /bin/initdb

and send the precise point in the initdb shell script where the failure
occurs to the list.  Hopefully, someone will be able to figure out what
is going wrong for you.


Jason Tishler
Director, Software Engineering       Phone: +1 (732) 264-8770 x235
Dot Hill Systems Corp.               Fax:   +1 (732) 264-8798
82 Bethany Road, Suite 7             Email: Jason(dot)Tishler(at)dothill(dot)com
Hazlet, NJ 07730 USA                 WWW:

In response to


pgsql-cygwin by date

Next:From: Jason TishlerDate: 2001-04-18 19:38:38
Subject: Re: initdb fails
Previous:From: schopenDate: 2001-04-18 16:13:43
Subject: initdb fails

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