Skip site navigation (1) Skip section navigation (2)

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 (view raw or flat)
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超大邮箱!



pgsql-cygwin by date

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

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group