initdb and IpcMemoryCreate

From: "Todd F(dot) Peterson" <tfp(at)ncgr(dot)org>
To: pgsql-cygwin(at)postgresql(dot)org
Subject: initdb and IpcMemoryCreate
Date: 2002-12-08 02:07:47
Message-ID: Pine.GSO.4.44.0212071857590.16706-100000@screamer.ncgr.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-cygwin

Have been using cywin postgres for a couple of years. Yesterday, I
upgraded to 7.1.3 of Postgres. Fired up ipc-daemon and then the following:

bash-2.05b$ initdb -D /pg_data -d -n
Running with debug mode on.
Running with noclean mode on. Mistakes will not be cleaned up.

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

The database cluster will be initialized with locale C.

creating directory /pg_data... ok
creating directory /pg_data/base... ok
creating directory /pg_data/global... ok
creating directory /pg_data/pg_xlog... ok
creating directory /pg_data/pg_clog... ok
creating template1 database in /pg_data/base/1... DEBUG: invoking
IpcMemoryCreate(size=942080)
IpcSemaphoreCreate: semget(key=1, num=17, 03600) failed: Function not
implemented
DEBUG: proc_exit(1)
DEBUG: shmem_exit(1)
DEBUG: exit(1)

initdb failed.
Data directory /pg_data will not be removed at user's request.

bash-2.05b$

**********************************************

I see postings regarding changing kernel parameters for max semaphores,
but nothing for how to do that on Windows. Please help!!!

Thanks,
Todd Peterson
GeneX Technical Leader
The National Center for Genome Resources
Santa Fe, NM

Responses

Browse pgsql-cygwin by date

  From Date Subject
Next Message Sokolow2 2002-12-09 15:19:59 Errors making libpqdll.lib. Help!!
Previous Message mlw 2002-12-07 22:50:10 Re: Running under Cygwin: stability - performance?