Skip site navigation (1) Skip section navigation (2)

Re: initdb and postgresql 8

From: Reini Urban <rurban(at)x-ray(dot)at>
To: "Leeuw van der, Tim" <tim(dot)leeuwvander(at)nl(dot)unisys(dot)com>
Cc: Marek Lewczuk <newsy(at)lewczuk(dot)com>,Lista dyskusyjna pgsql-cygwin <pgsql-cygwin(at)postgresql(dot)org>
Subject: Re: initdb and postgresql 8
Date: 2004-10-06 12:13:24
Message-ID: 4163E164.9080502@x-ray.at (view raw or flat)
Thread:
Lists: 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(at)postgresql(dot)org
> [mailto:pgsql-cygwin-owner(at)postgresql(dot)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/

In response to

Responses

pgsql-cygwin by date

Next:From: Marek LewczukDate: 2004-10-06 12:42:50
Subject: Re: initdb and postgresql 8
Previous:From: Marek LewczukDate: 2004-10-06 12:09:07
Subject: Re: initdb and postgresql 8

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group