Re: initdb error on windows - urgent, please

From: Jarek Lubczyński <eljot(at)elkomtech(dot)com(dot)pl>
To: pgsql-admin(at)postgresql(dot)org
Subject: Re: initdb error on windows - urgent, please
Date: 2003-10-03 10:57:06
Message-ID: 3F7D7222.24187.1161958@localhost
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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

In response to

Browse pgsql-admin by date

  From Date Subject
Next Message cad0022 2003-10-03 11:09:31 How to avoid users from viewing functions code
Previous Message Jarek Lubczyński 2003-10-03 10:25:28 Re: initdb error on windows - urgent, please