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: initdb error on windows - urgent, please
Date: Wed, 01 Oct 2003 17:02:44 +0200
Message-ID: <3F7B08B4.15865.1E8DFD5@localhost> (raw)

Hi, everybody,

Please help me with an urgent problem.

I have PostgreSQL version: 7.3.1Alfa1 for Windows (the only Win version available)

I am training installation of ProgreSQL on various PC's WinNT, 2K, XP and 2003 
installed. In some cases I've got such a problem (till now on W2K and W2003)

When I try to initialize dbspace using initdb, for example: 
    .....
    initdb -D /cygdrive/d/database/postgres --username=myuser -W -E LATIN2
    .....

   (of course specified path exists and is owned by "myuser")

I will get such information:

    ----
    The files belonging to this database system will be owned by user "myuser".
    This user must also own the server process.

    The database cluster will be initialized with locale C.

    Fixing permissions on existing directory /cygdrive/d/database/postgres... ok
    creating directory /cygdrive/d/database/postgres/base... ok
    creating directory /cygdrive/d/database/postgres/global... ok
    creating directory /cygdrive/d/database/postgres/pg_xlog... ok
    creating directory /cygdrive/d/database/postgres/pg_clog... ok
    creating template1 database in /cygdrive/d/database/postgres/base/1... 
    IpcSemaphoreCreate: semget(key=1, num=17, 03600) failed: Function not 
implemented

    initdb failed.
    ----

User "myuser" belongs to the administator group of course.
Any set of initdb options causes the same result (even initdb with no parameters)


What is happening? How can I avoid such a problem? Why this seems to occur only 
on:
  some Win2k installations (two of tested five or six), 
  Win2003(first attempt passed through, second one on the other machine failed) 

and never (so far) on 
  WinNT (I've tried one) nor 
  WinXP (four or five cases).

All Windows (except of WinNT) were Polish edition

I have thought it's a matter of service pack installed, but today I installed PostgreSQL 
on one machine with W2003 SE PL and everything went OK, but on other machine 
with the same W2003 initdb failed.

I need an urgent help. 
Thanks in advance.

-- 
greetings
Jaroslaw Lubczynski

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





view thread (4+ messages)  latest in thread

Message-ID: <3F7B08B4.15865.1E8DFD5@localhost>
Permalink:  ../3F7B08B4.15865.1E8DFD5@localhost/
Also on:    postgresql.org/message-id/3F7B08B4.15865.1E8DFD5@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: <3F7B08B4.15865.1E8DFD5@localhost>
  References: <3F7B08B4.15865.1E8DFD5@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