Re: IpcSemaphoreCreate - detailed account

From: Jason Tishler <jason(at)tishler(dot)net>
To: Gregory D Dennis <gdennis(at)MIT(dot)EDU>
Cc: pgsql-cygwin(at)postgresql(dot)org
Subject: Re: IpcSemaphoreCreate - detailed account
Date: 2003-02-10 14:00:27
Message-ID: 20030210140027.GG2408@tishler.net
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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

In response to

Responses

Browse pgsql-cygwin by date

  From Date Subject
Next Message Jason Tishler 2003-02-10 14:30:56 Re: I couldn't compile postgresql 7.3.1 under cygwin 1.3.18-1
Previous Message Jason Tishler 2003-02-10 13:52:26 Re: FW: Latest cygwin always crashing with Postgres