Thread: Troubles with Postmaster on XP

Troubles with Postmaster on XP

From
john_tran@owfg.com
Date:

Running:

  Win-XP
  cygwin     - 1.3.22-1
  postgresql - 7.3.4-1
  cygipc     - 1.14-1

Install process worked fine. No problem running cyg-ipc or initdb. But any attempt to:

postmaster -i -D /usr/local/pgsql/data &

fails with the following message:

IpcSemaphoreInitialize: semctl(id=2, 0, SETVAL, 0) failed: Invalid argument
LOG: startup process (pid 2472) exited with exit code 1
LOG: aborting startup due to startup process failure


-------------
Note: This message is only intended for the use of the individual or entity to which it is addressed and may contain information that is privileged, confidential and exempt from disclosure. If the reader of this message is not the intended recipient, or an employee or agent responsible for delivering the message to the intended recipient, you are hereby notified that any dissemination, distribution, or copying of this communication is strictly prohibited. If you have received this communication in error, please notify us by telephone (604-888-2079) or electronically by return message, and delete or destroy all copies of this communication. Thank you.

Re: Troubles with Postmaster on XP

From
Jason Tishler
Date:
On Tue, Aug 05, 2003 at 04:16:58PM -0700, john_tran@owfg.com wrote:
> IpcSemaphoreInitialize: semctl(id=2, 0, SETVAL, 0) failed: Invalid argument
> LOG: startup process (pid 2472) exited with exit code 1
> LOG: aborting startup due to startup process failure

Does the following (from the README) help?

    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.

If not, then see the following:

    http://archives.postgresql.org/pgsql-cygwin/2003-06/msg00075.php

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