initdb and IpcMemoryCreate
initdb and IpcMemoryCreate
От:
"Todd F. Peterson" <tfp@ncgr.org>
Дата:
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
Re: initdb and IpcMemoryCreate
От:
Kasimir Müller <Kasimir.Mueller@gmx.de>
Дата:
Guten Tag Todd F. Peterson, am Sonntag, 8. Dezember 2002 um 03:07 schrieben Sie: > 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 > ---------------------------(end of broadcast)--------------------------- > TIP 2: you can get off all lists at once with the unregister command > (send "unregister YourEmailAddressHere" to majordomo@postgresql.org) get the latest ipc-daemon and check, the old one is uninstalled or deleted ! -- Mit freundlichen Grüssen Kasimir Müller mailto:Kasimir.Mueller@gmx.de