Re: Initdb failing when installing Postgre on Cygwin - Mailing list pgsql-cygwin

From Patrick Samson
Subject Re: Initdb failing when installing Postgre on Cygwin
Date
Msg-id 20040119075455.90029.qmail@web60301.mail.yahoo.com
Whole thread Raw
In response to Initdb failing when installing Postgre on Cygwin  ("bsytko" <bsytko@yahoo.com>)
List 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

pgsql-cygwin by date:

Previous
From: "Pham Luu Hung"
Date:
Subject: How to get result of a query from MS DOS batch script or delete file from plpgsq
Next
From: "bsytko"
Date:
Subject: Cygrunsrv error