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?
==============================================
安全稳定大容量,全国最大的免费邮箱@126.com!
马上到http://www.126.com申请25M免费大容量邮箱!
前1,000,000名注册的邮箱帐号更可获得50M超大邮箱!