pg.ddx.io pgsql-admin@postgresql.org mailing list archive
help / color / mirror / Atom feedRunning Postgresql 7.4.2 on Windows 2000 with Cygwin !
2+ messages / 2 participants
[nested] [flat]
* Running Postgresql 7.4.2 on Windows 2000 with Cygwin !
@ 2004-04-06 09:03 JC Jan Christensen <jan.christensen@riva-systems.dk>
0 siblings, 1 reply; 2+ messages in thread
From: JC Jan Christensen @ 2004-04-06 09:03 UTC (permalink / raw)
To: pgsql-admin
Running Postgresql 7.4.2 on Windows 2000 with Cygwin !
Dear Sirs
I have installed Cygwin (version 1.5.9-1) on my computer
(a K6-2 500Mhz with 256Mb RAM).
I have downloaded the file postgresql-7.4.2.tar.gz
and unpacked it and run the following commands:
./configure
make
make install
I have created an environment-variable called
CYGWIN and have set the value to server
I have made a shell-script that contains the
following line:
/usr/sbin/cygserver
I run this shell-script in a seperate DOS-box.
I have made a shell-script that contains the
following lines:
initdb -D /usr/local/pgsql/data
postmaster -i -n -d 2 -D /usr/local/pgsql/data
When I run this shell-script I get the following
error-message from initdb :
FATAL: could not create shared memory
segment: Function not implemented
DETAIL: Failed system call was
shmget(key=1, size=1081344, 03600)
initdb: failed
What is wrong here ???????????
How can I solve this problem ????????????
My E-mail-address is: jan.christensen@riva-systems.dk
I hope to hear from you.
Best regards
Jan Christensen
^ permalink raw reply [nested|flat] 2+ messages in thread
* Re: Running Postgresql 7.4.2 on Windows 2000 with Cygwin !
@ 2004-04-06 15:47 Corey Edwards <coreyed@linxtechnologies.com>
parent: JC Jan Christensen <jan.christensen@riva-systems.dk>
0 siblings, 0 replies; 2+ messages in thread
From: Corey Edwards @ 2004-04-06 15:47 UTC (permalink / raw)
To: JC Jan Christensen <jan.christensen@riva-systems.dk>; +Cc: pgsql-admin
On Tue, 2004-04-06 at 02:03, JC Jan Christensen wrote:
> I have made a shell-script that contains the
> following lines:
>
> initdb -D /usr/local/pgsql/data
> postmaster -i -n -d 2 -D /usr/local/pgsql/data
>
> When I run this shell-script I get the following
> error-message from initdb :
>
> FATAL: could not create shared memory
> segment: Function not implemented
> DETAIL: Failed system call was
> shmget(key=1, size=1081344, 03600)
> initdb: failed
>
> What is wrong here ???????????
> How can I solve this problem ????????????
You need to run the ipc-daemon in order to initdb or start the database.
Please see the FAQ.
http://www.postgresql.org/docs/faqs/text/FAQ_MSWIN
Also consider using the cygwin postgresql package. Detailed instructions
for installing from the package can be found here:
http://www.tishler.net/jason/software/postgresql/postgresql-7.4.README
Corey
^ permalink raw reply [nested|flat] 2+ messages in thread
end of thread, other threads:[~2004-04-06 15:47 UTC | newest]
Thread overview: 2+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
2004-04-06 09:03 Running Postgresql 7.4.2 on Windows 2000 with Cygwin ! JC Jan Christensen <jan.christensen@riva-systems.dk>
2004-04-06 15:47 ` Corey Edwards <coreyed@linxtechnologies.com>
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox