Lists: | pgsql-cygwin |
---|
From: | Helmut Hänsel <Helmut(dot)Haensel(at)uni-bayreuth(dot)de> |
---|---|
To: | <pgsql-cygwin(at)postgresql(dot)org> |
Subject: | initdb: failed |
Date: | 2004-10-18 10:30:52 |
Message-ID: | 000501c4b4fd$8b346990$7d30b484@che.unibayreuth.de |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Lists: | pgsql-cygwin |
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
From: | Reini Urban <rurban(at)x-ray(dot)at> |
---|---|
To: | Helmut Hänsel <Helmut(dot)Haensel(at)uni-bayreuth(dot)de> |
Cc: | pgsql-cygwin(at)postgresql(dot)org |
Subject: | Re: initdb: failed |
Date: | 2004-10-20 00:32:35 |
Message-ID: | 4175B223.90109@x-ray.at |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Lists: | pgsql-cygwin |
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/