delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2004/05/04/15:32:55

Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sources.redhat.com/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com
Message-ID: <4097F026.4020705@x-ray.at>
Date: Tue, 04 May 2004 21:33:58 +0200
From: Reini Urban <rurban AT x-ray DOT at>
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; de-AT; rv:1.7b) Gecko/20040421 MultiZilla/1.5.0.4h
MIME-Version: 1.0
To: Cygwin List <cygwin AT cygwin DOT com>
Subject: Re: postgresql problem
References: <20040504172609 DOT GA9872 AT SDF DOT LONESTAR DOT ORG> <6 DOT 1 DOT 0 DOT 6 DOT 0 DOT 20040504150541 DOT 03146828 AT 127 DOT 0 DOT 0 DOT 1>
In-Reply-To: <6.1.0.6.0.20040504150541.03146828@127.0.0.1>
X-Spam-Checker-Version: SpamAssassin 2.63 (2004-01-11) on hornet.mur.at
X-Spam-Level:
X-Spam-Status: No, hits=0.0 required=5.0 tests=none autolearn=no version=2.63
X-IsSubscribed: yes

Larry Hall schrieb:
>>initdb doesn't work, because it says the shmget system call is not
>>implemented.  Is there anything I can do about this?

You need to start ipc-daemon2 before.

> <http://www.tishler.net/jason/software/postgresql/postgresql-7.4.1.README>
> BTW, I found this by googling.  It's loads of fun! ;-)

less /usr/share/doc/postgresql-7.4.1/README and
less /usr/share/doc/Cygwin/postgresql-7.4.1.README
is enough.

And one important issue is missing from the first section
of the README:
And you need to pass --locale=C to initdb also.
I use this:

$ ipc-daemon2 --install-as-service
$ net start ipc-daemon2
$ export PGDATA=/usr/share/postgresql/data
$ initdb --locale=C
$ pg_ctl -o -i

Option -i to enable TCP/IP connections since I couldn't make it connect 
via sockets.
-- 
Reini Urban
http://xarch.tu-graz.ac.at/home/rurban/


--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Problem reports:       http://cygwin.com/problems.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019