Re: Error when I try to run initdb under cygwin. Plz help me...

From: "Leeuw van der, Tim" <tim(dot)leeuwvander(at)nl(dot)unisys(dot)com>
To: <pgsql-cygwin(at)postgresql(dot)org>
Subject: Re: Error when I try to run initdb under cygwin. Plz help me...
Date: 2004-02-17 08:32:18
Message-ID: DD0DC14935B1D211981A00105A1B28DB0A7B4D5E@NL-ASD-EXCH-1
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-cygwin

Hi,

As far as I can see you're nearly doing everything right except that you're starting ipc-daemon (which is version 1) and you need to start ipc-daemon2.

Please install the official ipc-daemon2 package from Cygwin Setup and start that instead, and you should be all set! :-)

regards,

--Tim

THIS COMMUNICATION MAY CONTAIN CONFIDENTIAL AND/OR OTHERWISE PROPRIETARY MATERIAL and is thus for use only by the intended recipient. If you received this in error, please contact the sender and delete the e-mail and its attachments from all computers.

-----Original Message-----
From: pgsql-cygwin-owner(at)postgresql(dot)org [mailto:pgsql-cygwin-owner(at)postgresql(dot)org]On Behalf Of Flávio Henrique
Sent: maandag 16 februari 2004 22:20
To: pgsql-cygwin(at)postgresql(dot)org
Subject: [CYGWIN] Error when I try to run initdb under cygwin. Plz help me...

Hi all...
I'm newbie with cygwin but I'm receiving a error message when I try to run
'initdb' here...

Look:
I'm using win98 and I want to run postgresql...
I installed cygwin from Internet and everything goes fine...
I open a bash shell and run 'ipc-daemon &'... ok...
When I run 'initdb -D /var/psql' the error:

The files belonging to this database system will be owned by user "dug".
This user must also own the server process.
The database cluster will be initialized with locale C.
fixing permissions on existing directory /var/psql... ok
creating directory /var/psql/base... ok
creating directory /var/psql/global... ok
creating directory /var/psql/pg_xlog... ok
creating directory /var/psql/pg_clog... ok
selecting default max_connections... 10
selecting default shared_buffers... 50
creating configuration files... ok
creating template1 database in /var/psql/base/1...
FATAL: could not create shared memory segment: Function not implemented
DETAIL: Failed system call was shmget(key=1, size=1081344, 03600).
initdb: failed

What's wrong? some package that I don't install ?
what now ?

thanx for any hint

Flávio Henrique

Responses

Browse pgsql-cygwin by date

  From Date Subject
Next Message Flávio Henrique 2004-02-17 12:00:58 Re: Error when I try to run initdb under cygwin. Plz help me...
Previous Message Adolfo Arbach 2004-02-16 23:53:13 command question