Re: initdb error on windows - urgent, please - Mailing list pgsql-admin

From Jarek Lubczyński
Subject Re: initdb error on windows - urgent, please
Date
Msg-id 3F7D7222.24187.1161958@localhost
Whole thread Raw
In response to Re: initdb error on windows - urgent, please  (Kerv <keresztes_m@yahoo.com>)
List pgsql-admin

On 2 Oct 2003 at 10:45, Kerv wrote:

> Jarek Lubczyn'ski wrote:

> > Hi, everybody,
> >
> > Please help me with an urgent problem.
> >
> > [...]
> >
> > When I try to initialize dbspace using initdb, for example:
> >     .....
> >     initdb -D /cygdrive/d/database/postgres --username=myuser -W -E
> >     LATIN2 .....
> >
> > I will get such information:
> >
> >[...]
> >     initdb failed.
> >     ----
> >
>
> Hi,
> You need the IPC support for cygwin. Find it and download the cygipc
> package for cygwin. For set up and running PostgreSQL for cygwin
> please
>   read postgresql-...README from ...cygwin\usr\doc\Cygwin
> Regards,
>  Kerv
>
>

I have just read, thanks.



But I have noticed that some things fails during PostgreSQL installation on some
Win2k, such as:

- under bash files in /usr/bin are owned by 'unknown' - I have to chown them to proper
user by hand

- ipc-daemon service isn't created - I must do it by my own using sc utility

- file /usr/bin/postmaster is missing - I must create it

- "PostgreSQL Server" service isn't created as well - I must use script
/usr/bin/serviceinstall.bat to create it

After performing those commands Postgres really wants to work (tested on only one
machine). But the strangest thing is that those problems seems to appear only on Win
2000 & 2003 and, moreover, not always. For example yesterday my coleaques gave
me two _identically_ configured machines - the same hardware and with the same
software installed on them. On one machine everything seems to work perfectly, but
on the second one problems occurred. Why???


--
Greetings
Jarek LubczyÄski

There are 10 kinds of people:
Those who understand binary and those who don't

pgsql-admin by date:

Previous
From: "Jarek Lubczyński"
Date:
Subject: Re: initdb error on windows - urgent, please
Next
From: "Rob Long"
Date:
Subject: Re: pg_restore fails - postgres 7.3.4