Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , 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 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: References: <269620-22002120816132222 AT M2W031 DOT mail2web DOT com> NNTP-Posting-Host: c193-150-231-34.cm-upc.chello.se Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit 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/