Re: IpcSemaphoreCreate - detailed account - Mailing list pgsql-cygwin

From Jason Tishler
Subject Re: IpcSemaphoreCreate - detailed account
Date
Msg-id 20030210140027.GG2408@tishler.net
Whole thread Raw
In response to IpcSemaphoreCreate - detailed account  (Gregory D Dennis <gdennis@MIT.EDU>)
Responses Re: IpcSemaphoreCreate - detailed account
List pgsql-cygwin
Greg,

On Sat, Feb 08, 2003 at 08:01:03AM -0500, Gregory D Dennis wrote:
> I am running on Windows XP.

Home or Pro.

> The given command
>
>    ipc-daemon --install-as-service
>
> did not work so i used instead

The above is bad.  Please report this to the Cygwin list.

>    cygrunsrv --install ipc-daemon --desc "CygWin IPC Daemon" --path
> /usr/local/bin/ipc-daemon --termsig INT --shutdown
>
> i then started the ipc daemon
>
>    net start ipc-daemon
>
> and i can verify from the services window that it is in fact running.
> I created the postgres user with

Does ipctest work?  Especially, from the postgres account?  If not, then
PostgreSQL will not work too.

> still logged on as 'postgres', i tried to initialize the database
>
>    initdb -D /usr/share/postgresql/data
>
> and i received the following error:
>
> [snip]
>
> IpcSemaphoreCreate: semget(key=1, num=17, 03600) failed: Function not
> implemented
>
>    initdb failed.

What is the output of the following command:

$ ls -ld /tmp /tmp/cygipc_? /tmp/MultiFile*
drwxrwxrwx+ 101 Administ None       188416 Feb 10 08:56 /tmp
-rw-rw-rw-    1 SYSTEM   SYSTEM    3916520 Jan 17 11:19 /tmp/MultiFileMsg
-rw-rw-rw-    1 SYSTEM   SYSTEM      22032 Jan 17 11:19 /tmp/MultiFileSem
-rw-rw-rw-    1 SYSTEM   SYSTEM     202768 Jan 17 11:19 /tmp/MultiFileShm
-rw-------    1 postgres None      1441792 Jan 13 16:30 /tmp/cygipc_0

Jason

--
PGP/GPG Key: http://www.tishler.net/jason/pubkey.asc or key servers
Fingerprint: 7A73 1405 7F2B E669 C19D  8784 1AFD E4CC ECF4 8EF6

pgsql-cygwin by date:

Previous
From: Jason Tishler
Date:
Subject: Re: FW: Latest cygwin always crashing with Postgres
Next
From: Jason Tishler
Date:
Subject: Re: I couldn't compile postgresql 7.3.1 under cygwin 1.3.18-1