pg.ddx.io  pgsql-admin@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Jarek Lubczyński <eljot@elkomtech.com.pl>
To: pgsql-admin@postgresql.org
Subject: Re: initdb error on windows - urgent, please
Date: Fri, 03 Oct 2003 12:57:06 +0200
Message-ID: <3F7D7222.24187.1161958@localhost> (raw)
In-Reply-To: <blgl2t$2opj$1@news.hub.org>
References: <3F7B08B4.15865.1E8DFD5@localhost>



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



view thread (4+ messages)

Message-ID: <3F7D7222.24187.1161958@localhost>
Permalink:  ../3F7D7222.24187.1161958@localhost/
Also on:    postgresql.org/message-id/3F7D7222.24187.1161958@localhost

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-admin@postgresql.org
  Cc: eljot@elkomtech.com.pl
  Subject: Re: initdb error on windows - urgent, please
  In-Reply-To: <3F7D7222.24187.1161958@localhost>
  References: <3F7B08B4.15865.1E8DFD5@localhost> <3F7D7222.24187.1161958@localhost>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox