Re: initdb and postgresql 8 - Mailing list pgsql-cygwin

From Reini Urban
Subject Re: initdb and postgresql 8
Date
Msg-id 4163E164.9080502@x-ray.at
Whole thread Raw
In response to Re: initdb and postgresql 8  ("Leeuw van der, Tim" <tim.leeuwvander@nl.unisys.com>)
Responses Re: initdb and postgresql 8  (Marek Lewczuk <newsy@lewczuk.com>)
List pgsql-cygwin
Leeuw van der, Tim schrieb:
> I think you should configure cygserver (don't forget to add the env. var. CYGWIN containing the word 'server').
>
> ipc-daemon is no longer used.

You also have the problem, that you obviosuly didn't remove libipc.a
from your system, so configure took this old deprecated library (with
unsupported API calls) and you have no chance to use the new cygserver
services.

BTW: There's an experimental postgresql-8.0.0cvs package in cygwin
setup.exe now. you might want to try that instead.

> -----Original Message-----
> From: pgsql-cygwin-owner@postgresql.org
> [mailto:pgsql-cygwin-owner@postgresql.org]On Behalf Of Marek Lewczuk
> Sent: Wednesday, October 06, 2004 10:21 AM
> To: Lista dyskusyjna pgsql-cygwin
> Subject: [CYGWIN] initdb and postgresql 8
>
>
> I'm trying to initialize postgresql 8.0 but initdb produce below errors:
> $ initdb
> The files belonging to this database system will be owned by user "ml".
> This user must also own the server process.
>
> The database cluster will be initialized with locale C.
>
> creating directory /usr/local/pgsql/data ... ok
> creating directory /usr/local/pgsql/data/global ... ok
> creating directory /usr/local/pgsql/data/pg_xlog ... ok
> creating directory /usr/local/pgsql/data/pg_xlog/archive_status ... ok
> creating directory /usr/local/pgsql/data/pg_clog ... ok
> creating directory /usr/local/pgsql/data/pg_subtrans ... ok
> creating directory /usr/local/pgsql/data/base ... ok
> creating directory /usr/local/pgsql/data/base/1 ... ok
> creating directory /usr/local/pgsql/data/pg_tblspc ... ok
> selecting default max_connections ... 10
> selecting default shared_buffers ... 50
> creating configuration files ... ok
> creating template1 database in /usr/local/pgsql/data/base/1 ... FATAL:
> could no
> t create shared memory segment: Function not implemented
> DETAIL:  Failed system call was shmget(key=1, size=1171456, 03600).
> child process exited with exit code 1
> initdb: failed
> initdb: removing data directory "/usr/local/pgsql/data"
> [1]+  Done                    ipc-daemon2
>
> Is 8.0 version working on Cygwin ? Thanks for any help.

--
Reini Urban
http://xarch.tu-graz.ac.at/home/rurban/

pgsql-cygwin by date:

Previous
From: Marek Lewczuk
Date:
Subject: Re: initdb and postgresql 8
Next
From: Marek Lewczuk
Date:
Subject: Re: initdb and postgresql 8