Re: PB: Initdb failure

From: "Greg B(dot) Hill" <gregoryhill597(at)netscape(dot)net>
To: pgsql-cygwin(at)postgresql(dot)org
Subject: Re: PB: Initdb failure
Date: 2004-02-05 17:57:38
Message-ID: 40228412.3030105@netscape.net
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-cygwin

Hi:
I am experiencing the same problem with initdb
(i.e. semctl(35, 16, SETVAL, 536) failed: Invalid argument)
and have tried the recommended solutions to no avail sofar.

My system info is:

Windows XP Professional, SP1
Cygwin 1.5.7-1

net start "cygwin ipc daemon 2" starts the service with no errors, and I
tried cleaning up
the related files in /tmp and restarting as suggested.

Can anyone explain what the problem is, i.e. which argument is invalid
and why?
Oh, and what I need to do to fix it would also be appreciated, thanks!

Greg B. Hill

jean-philippe jacoupy wrote:

My ipc-daemon2
already worked as a
service

I have followed this
guide to install
postgresql with
cygwin:

http://www.tishler.net/jason/software/postgresql/postgresql-7.4.1.README

And try everything
there is in it ...

cray ( at ) lavieenrose ~
net start | grep IPC
Cygwin IPC Daemon
2

------- Message
d'origine ------- De: Leeuw van der,
Tim <tim ( dot ) leeuwvander ( at ) nl ( dot ) unisys ( dot ) com>
Date: Thu, 22 Jan
2004 09:05:55 -0600 Sujet: Re: [CYGWIN]
PB: Initdb failure

ipc-daemon2.exe
--install-as-service

net start "cygwin
ipc daemon 2"

try again

regards,

--Tim

-----Original
Message-----
From:
pgsql-cygwin-owner ( at ) postgresql ( dot ) org
[mailto:pgsql-cygwin-owner ( at ) postgresql ( dot ) org]On
Behalf Of
jean-philippe
jacoupy Sent: donderdag 22
januari 2004 10:27
To:
pgsql-cygwin ( at ) postgresql ( dot ) org
Subject: [CYGWIN]
PB: Initdb failure

Hi,

when I'm trying to
init my database
(with initdb), it
says me:

creating template1
database in
/usr/share/postgresql/data//base/1...
FATAL: semctl(17,
16, SETVAL,536) failed:
Invalid argument

initdb: failed

I've this system
configuration: Windows XP Pro
service Pack 1

Cygwin Package
Information
Package Version Status
cygipc 2.02-1 OK
cygwin 1.5.6-1 OK

and postgresql 7.4.1

can someone explain
me what I've to do
to fix this ?

Les noms de domaine
les moins chers du
marché : 6,49 euros
HT sur
http://www.lycos.fr/pro

---------------------------(end
of
broadcast)---------------------------
TIP 4: Don't 'kill
-9' the postmaster

---------------------------(end
of
broadcast)---------------------------
TIP 8: explain
analyze is your
friend

--
GEEK CODE
Version: 3.1
GCSd+s+:+a--C++(++++)UBCSP+>+++L-E-W++N-o?K?wOM+V-PS+PE+Y+PGP+t+5?X+R++tvb++DID+Ge++hr++ ?

E-mail, Dialogue en direct et SMS gratuits sur minitel : 3615 CARAMAIL

---------------------------(end of broadcast)---------------------------
TIP 2: you can get off all lists at once with the unregister command
(send "unregister YourEmailAddressHere" to majordomo ( at ) postgresql ( dot ) org)

------------------------------------------------------------------------

* Follow-Ups:
o Re: PB: Initdb failure
<http://archives.postgresql.org/pgsql-cygwin/2004-01/msg00053.php>

+ From: jean-philippe jacoupy

------------------------------------------------------------------------

* Prev by Date: ipc-daemon2 not working!!!!
<http://archives.postgresql.org/pgsql-cygwin/2004-01/msg00064.php>
* Next by Date: Re: ipc-daemon2
<http://archives.postgresql.org/pgsql-cygwin/2004-01/msg00068.php>
* Previous by thread: Re: PB: Initdb failure
<http://archives.postgresql.org/pgsql-cygwin/2004-01/msg00053.php>
* Next by thread: initdb -> not found cygcrypt-0.dll
<http://archives.postgresql.org/pgsql-cygwin/2004-01/msg00054.php>
* Index(es):
o Main
<http://archives.postgresql.org/pgsql-cygwin/2004-01/index.php#00061>
o Thread
<http://archives.postgresql.org/pgsql-cygwin/2004-01/threads.php#00061>

Home <http://archives.postgresql.org/> | Main Index
<http://archives.postgresql.org/pgsql-cygwin/2004-01/index.php> | Thread
Index <http://archives.postgresql.org/pgsql-cygwin/2004-01/threads.php>
Hub.Org Networking Services <http://www.hub.org> Area902 Business Di
<http://www.area902.com>

Browse pgsql-cygwin by date

  From Date Subject
Next Message Jason Tishler 2004-02-05 18:03:23 Re: Postgresql wants cygcygipc-2.dll despite server - cygwin 1.5.7
Previous Message Greg B. Hill 2004-02-05 17:22:15 initdb error