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

Re: Initdb failing when installing Postgre on Cygwin

From: Patrick Samson <p_samson(at)yahoo(dot)com>
To: bsytko <bsytko(at)yahoo(dot)com>, pgsql-cygwin(at)postgresql(dot)org
Subject: Re: Initdb failing when installing Postgre on Cygwin
Date: 2004-01-19 07:54:55
Message-ID: 20040119075455.90029.qmail@web60301.mail.yahoo.com (view raw or flat)
Thread:
Lists: pgsql-cygwin
--- bsytko wrote:
> 
> I am following a guide here:
> 
> http://www.ejip.net/faq/postgresql_win_setup_faq.jsp
> 
> And when I run this command:
> 
> Initdb -W -D /usr/local/pgsql/data
> 
> It says creating directory's and stuff and then it
> gives this error and
> quits:
> 
> Creating template1 database in
> /usr/local/pgsql/data/base/1/... FATAL: could
> not
>  create shared memory segment: Function not
> implemented
> DETAIL: Failed system call was shmget(key=1,
> size=1081344, 03600).
> 
> Initdb: failed
> Initdb: removing data directory
> "/usr/local/pgsql/data"
> 
> I am using Cygwin version 1.5.5-1. I downloaded
> Cygipc version 1.14 and
> installed it according to that guide. I used the
> PostgreSQL that came with
> the downloaded Cygwin. I am running XP Pro w/ SP1.
> Thanks.

This doc was a good source, but is now out-of-date.
Since 7.3.3 or 7.3.4, we have to use the
cygipc package in version 2, available in the cygwin
distribution.

You should read the postgresql-<version>.README
provided with the distribution.


__________________________________
Do you Yahoo!?
Yahoo! Hotjobs: Enter the "Signing Bonus" Sweepstakes
http://hotjobs.sweepstakes.yahoo.com/signingbonus

In response to

pgsql-cygwin by date

Next:From: bsytkoDate: 2004-01-19 21:12:17
Subject: Cygrunsrv error
Previous:From: Pham Luu HungDate: 2004-01-19 05:03:20
Subject: How to get result of a query from MS DOS batch script or delete file from plpgsq

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