delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2002/12/08/18:10:49

Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sources.redhat.com/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com
To: cygwin AT cygwin DOT com
X-Injected-Via-Gmane: http://gmane.org/
Path: not-for-mail
From: Dan Holmsand <dan AT eyebee DOT com>
Subject: Re: postgres 7.3 IpcSemaphoreCreate: semget(key=1, num=17, 03600)failed:
Function not implemented
Date: Mon, 09 Dec 2002 00:05:16 +0100
Lines: 33
Message-ID: <at0jbi$uha$1@main.gmane.org>
References: <269620-22002120816132222 AT M2W031 DOT mail2web DOT com>
NNTP-Posting-Host: c193-150-231-34.cm-upc.chello.se
Mime-Version: 1.0
X-Trace: main.gmane.org 1039388850 31274 193.150.231.34 (8 Dec 2002 23:07:30 GMT)
X-Complaints-To: usenet AT main DOT gmane DOT org
NNTP-Posting-Date: Sun, 8 Dec 2002 23:07:30 +0000 (UTC)
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.2.1) Gecko/20021130
X-Accept-Language: en-us, en
In-Reply-To: <269620-22002120816132222@M2W031.mail2web.com>

Elfyn,

elfyn-cygwin AT mail DOT exposure DOT org DOT uk wrote:
> Hi,
> 
> I am getting the exact same results as you are Jari. I had a working
> postgres install just before the return values were changed in cygipc
> (1.12), but as i only use it rarely i did not notice the service starting 
> or not starting up. From what I can see it looks like postgres.exe was not
> linked with libcygipc.a.
> 
> Jason, can you confirm that postgres is working? Is there anyone else with
> the *behaviour*?
> 
> Elfyn
> elfyn AT exposure DOT org DOT uk

I get a similar error:

IpcSemaphoreInitialize: semctl(id=2, 0, SETVAL, 0) failed: Invalid argument

if the account postmaster is running under ("postgres" in my case) 
doesn't have read AND write rights to the /tmp/MultiFile[Sem/Msg/Shm] files.

You may try deleting these files (and /tmp/cygipc_* to be safe), and 
starting ipc_daemon manually from the same account as postmaster is 
running under. Does that make a difference?

I've added a "chown postgres /tmp/MultiFile*" to my start script for 
ipc-daemon, and postgres 7.3 now works beautifully. YMMV, of course.

/dan




--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Bug reporting:         http://cygwin.com/bugs.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019