Re: initdb fails - Mailing list pgsql-cygwin

From Jason Tishler
Subject Re: initdb fails
Date
Msg-id 20010418133004.F536@dothill.com
Whole thread Raw
In response to initdb fails  (schopen@dimdi.de)
Responses Re: initdb fails
List pgsql-cygwin
Michael,

On Wed, Apr 18, 2001 at 06:13:43PM +0200, schopen@dimdi.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

--
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.Tishler@dothill.com
Hazlet, NJ 07730 USA                 WWW:   http://www.dothill.com

pgsql-cygwin by date:

Previous
From: schopen@dimdi.de
Date:
Subject: initdb fails
Next
From: Jason Tishler
Date:
Subject: Re: initdb fails