Cygwin on Win98: initdb failed

From: Christian Rank <christian(dot)rank(at)rz(dot)uni-passau(dot)de>
To: pgsql-cygwin(at)postgresql(dot)org
Subject: Cygwin on Win98: initdb failed
Date: 2004-09-20 06:42:50
Message-ID: 414E7BEA.3020704@rz.uni-passau.de
Views: Raw Message | Whole Thread | Download mbox
Thread:
Lists: pgsql-cygwin

Hello,

I'm trying to run the Cygwin version of PostgreSQL on Windows 98 SE.
During initdb, creation of the initial database cluster is aborted with
the message
creating template1 database in /var/pgsql/data/base/1...
shmat(id=1179648) failed: invalid argument

The sequence of commands leading to this is as follows:

mkdir /var/pgsql
export CYGWIN=server
/usr/bin/cygserver-config -n
/usr/sbin/cygserver -E &
mkdir /var/pgsql/data
initdb -D /var/pgsql/data -E LATIN1

Software versions used:
cygwin 1.5.11-1
PostgreSQL 7.4.5-1
Windows 98 Second Edition 4.10.2222 A

The same setup runs on Windows 2000 without problems. According to the
cygserver docs, it should run on Win98, too.

Does anybody know what's going wrong here?

Thanks in advance,
Christian

--
Dr. Christian Rank
Rechenzentrum Universit├Ąt Passau
Innstr. 33
D-94032 Passau
GERMANY
Tel.: 0851/509-1838
Fax: 0851/509-1802
PGP public key see http://www.rz.uni-passau.de/mitarbeiter/rank

Responses

Browse pgsql-cygwin by date

  From Date Subject
Next Message Michael Mallete 2004-09-20 11:59:51 initdb problems
Previous Message Jason Tishler 2004-09-18 19:02:25 Re: postgres on cygwin