>> 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
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.
Michael
--
====================================================
Dr. med. Michael Schopen Tel. +49 221 4724 325
Deutsches Institut fuer Fax. +49 221 41 14 29
Medizinische Dokumentation
und Information DIMDI http://www.dimdi.de
Waisenhausgasse 36-38a
D-50676 Koeln email:s#chopen@dimdi.de
>>> remove # to use email address <<<
====================================================