initdb and IpcMemoryCreate

Поиск
Список
Период
Сортировка
От Todd F. Peterson
Тема initdb and IpcMemoryCreate
Дата
Msg-id Pine.GSO.4.44.0212071857590.16706-100000@screamer.ncgr.org
обсуждение исходный текст
Ответы Re: initdb and IpcMemoryCreate
Список 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


В списке pgsql-cygwin по дате отправления:

Предыдущее
От: srinivas reddy
Дата:
Сообщение: ...
Следующее
От: "Henshall, Stuart - Design & Print"
Дата:
Сообщение: Re: PostgreSQL: Managing Kernel Resource for Cygwin