Thread: initdb: failed
Hello, I have freshly downloaded 8.0beta3cvs on my cygwin running on Windows 2000 "configure" - "make install" without any probs "initdb -D /var/pgsql/data" results in the following error message: creating template1 database in /var/pgsql/data/base/1 ... FATAL: could not create shared memory segment: Function not implemented I have read around in the newsgroups and found several possible origins for this failure, what I have done is: - cygipc is installed and detected by configure: > cat config.log | grep shmget configure:5699: checking for shmget in -lcygipc ac_cv_lib_cygipc_shmget=yes - cygserver is configured and started - the environment variable CYGWIN is set to contain the word server > env|grep CYGWIN CYGWIN=binmode ntsec tty server - ipc-daemon or ipc-daemon2 are not running what else could I do? Help is very much appreciated :-) Helmut
Helmut Hänsel schrieb: > I have freshly downloaded 8.0beta3cvs on my cygwin running on Windows 2000 > > "configure" - "make install" without any probs > > "initdb -D /var/pgsql/data" results in the following error message: > > creating template1 database in /var/pgsql/data/base/1 ... FATAL: could not > create shared memory segment: Function not implemented > > I have read around in the newsgroups and found several possible origins for > this failure, what I have done is: > > - cygipc is installed and detected by configure: > > > cat config.log | grep shmget > configure:5699: checking for shmget in -lcygipc > ac_cv_lib_cygipc_shmget=yes that's the problem. you have to deinstall cygipc. do you know that there's an official cygwin postgres-8.0.0cvs package? with build script, docs and and patches. > - cygserver is configured and started > > - the environment variable CYGWIN is set to contain the word server > > > env|grep CYGWIN > CYGWIN=binmode ntsec tty server > > - ipc-daemon or ipc-daemon2 are not running -- Reini Urban http://xarch.tu-graz.ac.at/home/rurban/