pg.ddx.io pgsql-admin@postgresql.org mailing list archive
help / color / mirror / Atom feedinitdb problem (Win2K Pro, cygwin)
2+ messages / 2 participants
[nested] [flat]
* initdb problem (Win2K Pro, cygwin)
@ 2004-06-17 12:59 Harry <xghuang@cs.aau.dk>
2004-06-20 10:58 ` Re: initdb problem (Win2K Pro, cygwin) Peter Eisentraut <peter_e@gmx.net>
0 siblings, 1 reply; 2+ messages in thread
From: Harry @ 2004-06-17 12:59 UTC (permalink / raw)
To: pgsql-admin
Hi all,
When I try to run 'initdb' in a cygwin environment, I got this output:
$ /usr/local/postgresql7.4.1/bin/initdb -d -D
/usr/local/postgresql7.4.1/data
Running in debug mode.
initdb: internal variables:
PGDATA=/usr/local/postgresql7.4.1/data
datadir=/usr/local/postgresql7.4.1/share
PGPATH=/usr/local/postgresql7.4.1/bin
ENCODING=
ENCODINGID=0
POSTGRES_SUPERUSERNAME=laohuang
POSTGRES_BKI=/usr/local/postgresql7.4.1/share/postgres.bki
POSTGRES_DESCR=/usr/local/postgresql7.4.1/share/postgres.description
POSTGRESQL_CONF_SAMPLE=/usr/local/postgresql7.4.1/share/postgresql.conf.samp
le
PG_HBA_SAMPLE=/usr/local/postgresql7.4.1/share/pg_hba.conf.sample
PG_IDENT_SAMPLE=/usr/local/postgresql7.4.1/share/pg_ident.conf.sample
The files belonging to this database system will be owned by user
"laohuang".
This user must also own the server process.
The database cluster will be initialized with locale C.
fixing permissions on existing directory /usr/local/postgresql7.4.1/data...
ok
creating directory /usr/local/postgresql7.4.1/data/base... ok
creating directory /usr/local/postgresql7.4.1/data/global... ok
creating directory /usr/local/postgresql7.4.1/data/pg_xlog... ok
creating directory /usr/local/postgresql7.4.1/data/pg_clog... ok
selecting default max_connections... 10
selecting default shared_buffers... 50
creating configuration files... ok
creating template1 database in /usr/local/postgresql7.4.1/data/base/1...
DEBUG:
invoking IpcMemoryCreate(size=1081344)
FATAL: could not create shared memory segment: Function not implemented
DETAIL: Failed system call was shmget(key=1, size=1081344, 03600).
DEBUG: proc_exit(1)
DEBUG: shmem_exit(1)
DEBUG: exit(1)
initdb: failed
What is the problem? Is it related with path settings?
Thanks.
laohuang
^ permalink raw reply [nested|flat] 2+ messages in thread
* Re: initdb problem (Win2K Pro, cygwin)
2004-06-17 12:59 initdb problem (Win2K Pro, cygwin) Harry <xghuang@cs.aau.dk>
@ 2004-06-20 10:58 ` Peter Eisentraut <peter_e@gmx.net>
0 siblings, 0 replies; 2+ messages in thread
From: Peter Eisentraut @ 2004-06-20 10:58 UTC (permalink / raw)
To: Harry <xghuang@cs.aau.dk>; pgsql-admin
Harry wrote:
> creating template1 database in
> /usr/local/postgresql7.4.1/data/base/1... DEBUG:
> invoking IpcMemoryCreate(size=1081344)
> FATAL: could not create shared memory segment: Function not
> implemented DETAIL: Failed system call was shmget(key=1,
> size=1081344, 03600). DEBUG: proc_exit(1)
> DEBUG: shmem_exit(1)
> DEBUG: exit(1)
>
> initdb: failed
>
> What is the problem? Is it related with path settings?
Please search the archives of the pgsql-cygwin list about this problem.
Depending on the particular version of Cygwin you need to start an IPC
server, but forget the name now.
^ permalink raw reply [nested|flat] 2+ messages in thread
end of thread, other threads:[~2004-06-20 10:58 UTC | newest]
Thread overview: 2+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
2004-06-17 12:59 initdb problem (Win2K Pro, cygwin) Harry <xghuang@cs.aau.dk>
2004-06-20 10:58 ` Peter Eisentraut <peter_e@gmx.net>
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox