Re: initdb: failed

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
Thread:
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/

In response to

Browse pgsql-cygwin by date

  From Date Subject
Next Message Reini Urban 2004-10-20 01:07:05 Re: Where is the link to cygwin?
Previous Message Marek Lewczuk 2004-10-19 20:36:05 Re: Where is the link to cygwin?