>> 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
>> Creating directory /usr/share/postgresql/data
>> 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
> 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.
Thanks, Jason. After replacing shapshot 20010416 by 20010413 nothing changed.
Then I followed your advice and located the call in the initdb script. I removed "-o
/dev/null" from PGSQL_OPT and realized that the path to postgres was wrong:
"//bin/postgres". I called initdb with -L and everything worked fine. I think the reason
is that I have the whole cygnus stuff under c:\cygwin and not under c:\
Again thanks for your help.
Dr. med. Michael Schopen Tel. +49 221 4724 325
Deutsches Institut fuer Fax. +49 221 41 14 29
und Information DIMDI http://www.dimdi.de
D-50676 Koeln email:s#chopen(at)dimdi(dot)de
>>> remove # to use email address <<<
pgsql-cygwin by date
|Next:||From: Jason Tishler||Date: 2001-04-20 15:36:44|
|Subject: Cygwin PostgreSQL ESQL Patch|
|Previous:||From: Jason Tishler||Date: 2001-04-19 16:48:05|
|Subject: Re: PostGreSQL 7.1 with CygWin|