about "IpcSemaphoreCreate: semget(...)"

From: "" <rb(dot)qiu(at)126(dot)com>
To: pgsql-cygwin(at)postgresql(dot)org
Subject: about "IpcSemaphoreCreate: semget(...)"
Date: 2003-10-17 14:24:44
Message-ID: 3F8FFBAC.00007E.27103@bjapp4
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-cygwin

The describe of the error as follow.
=======================================================
$ /usr/local/pgsql/bin/initdb -d /usr/local/pgsql/data
Running with debug mode on.

initdb variables:
PGDATA=/usr/local/pgsql/data
datadir=/usr/local/pgsql/share
PGPATH=/usr/local/pgsql/bin
ENCODING=
ENCODINGID=0
POSTGRES_SUPERUSERNAME=DLIB
POSTGRES_BKI=/usr/local/pgsql/share/postgres.bki
POSTGRES_DESCR=/usr/local/pgsql/share/postgres.description
POSTGRESQL_CONF_SAMPLE=/usr/local/pgsql/share/postgresql.conf.sample
PG_HBA_SAMPLE=/usr/local/pgsql/share/pg_hba.conf.sample
PG_IDENT_SAMPLE=/usr/local/pgsql/share/pg_ident.conf.sample
The files belonging to this database system will be owned by user "DLIB".
This user must also own the server process.

The database cluster will be initialized with locale C.

creating directory /usr/local/pgsql/data... ok
creating directory /usr/local/pgsql/data/base... ok
creating directory /usr/local/pgsql/data/global... ok
creating directory /usr/local/pgsql/data/pg_xlog... ok
creating directory /usr/local/pgsql/data/pg_clog... ok
creating template1 database in /usr/local/pgsql/data/base/1... DEBUG: invokin
IpcMemoryCreate(size=991232)
IpcSemaphoreCreate: semget(key=1, num=17, 03600) failed: Invalid argument
DEBUG: proc_exit(1)
DEBUG: shmem_exit(1)
DEBUG: exit(1)

initdb failed.
Removing /usr/local/pgsql/data.

================================================================================
Environment:
OS:Windows 2000 professfional
cygwin version 2.340.2.5
cygipc-2.00-2.tar.bz2 (the same when using cygipc-2.01-2.tar.bz2)
and the command "ipc-daemon2$" has run.

Would you do me a favor?

==============================================
安全稳定大容量,全国最大的免费邮箱(at)126(dot)com!
马上到http://www.126.com申请25M免费大容量邮箱!
前1,000,000名注册的邮箱帐号更可获得50M超大邮箱!

Browse pgsql-cygwin by date

  From Date Subject
Next Message Michel (Free) 2003-10-17 23:02:32 starting postmaster W2K service
Previous Message Gerrit P. Haase 2003-10-17 12:36:17 Re: pg_hba.conf is right ther, but connot connect