Running Postgresql 7.4.2 on Windows 2000 with Cygwin !

From: JC Jan Christensen <jan(dot)christensen(at)riva-systems(dot)dk>
To: "'pgsql-admin(at)postgresql(dot)org'" <pgsql-admin(at)postgresql(dot)org>
Subject: Running Postgresql 7.4.2 on Windows 2000 with Cygwin !
Date: 2004-04-06 09:03:46
Message-ID: 519590683F85D311A7C200105A4CFA334AF6A2@mailserver.riva-systems.dk
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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(dot)christensen(at)riva-systems(dot)dk

I hope to hear from you.

Best regards

Jan Christensen

Responses

Browse pgsql-admin by date

  From Date Subject
Next Message Daniel Rubio 2004-04-06 10:03:59 Re: possible bug with sequences
Previous Message Torsten Neuer 2004-04-06 08:34:54 Re: Raw vs Filesystem