delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2002/12/09/13:37:35

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 19:34:59 +0100
Lines: 27
Message-ID: <at2nsr$av$1@main.gmane.org>
References: <269620-22002120816132222 AT M2W031 DOT mail2web DOT com> <at0jbi$uha$1 AT main DOT gmane DOT org> <20021209182312 DOT GE1620 AT tishler DOT net>
NNTP-Posting-Host: c193-150-231-34.cm-upc.chello.se
Mime-Version: 1.0
X-Trace: main.gmane.org 1039459035 351 193.150.231.34 (9 Dec 2002 18:37:15 GMT)
X-Complaints-To: usenet AT main DOT gmane DOT org
NNTP-Posting-Date: Mon, 9 Dec 2002 18:37:15 +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: <20021209182312.GE1620@tishler.net>

Jason,

Jason Tishler wrote:
> On Mon, Dec 09, 2002 at 12:05:16AM +0100, Dan Holmsand wrote:
> 
>>I get a similar error:
>>
>>IpcSemaphoreInitialize: semctl(id=2, 0, SETVAL, 0) failed: Invalid argument
> 
> 
> The above is noted in the README:
> 
>     2. It is recommended to delete all cygipc temporary files
>     (/tmp/cygipc* and /tmp/MultiFile*) before starting postmaster under
>     a different user account.  Otherwise, postmaster will fail to start
>     due to IPC errors.

I know. However, this doesn't necessarily help if ipc-daemon is run by 
one account (say, "system" or "administrator") and postmaster by another 
(say, "postgres"). In my experience at least, postgres must have read 
AND write rights to the /tmp/MultiFile* files, otherwise you get the 
above error on startup.

That is not entirely clear in the README, imho.

/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