delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2004/01/02/13:14:17

Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sources.redhat.com/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com
Message-ID: <005801c3d15c$85270830$1401a8c0@spaces>
From: "Jian Huang" <jhuang AT e-iit DOT com>
To: <cygwin AT cygwin DOT com>
Subject: initdb failed
Date: Fri, 2 Jan 2004 13:16:16 -0500
MIME-Version: 1.0

Hi,

This is the first time I tried to use PostgreSQL (on Windows 2000). I
downloaded everything in binary by "Default" (and everything in Admin, Base,
and Database). The Cygwin DLL version is 1.5.5-1 and the database is version
7.4.1.

Then I downloaded a binary version of cygipc-1.14-1 and did the following:
(a) cd /
(b) tar -jxvf cygipc-1.14-1.tar.bz2
(c) ipc-daemon &

No matter what, whenever I tried to initialize PostgreSQL,  I always get the
following error. Can anyone tell me what went wrong?

$ initdb -W -D /my_data
The files belonging to this database system will be owned by user
"Administrator
".
This user must also own the server process.

The database cluster will be initialized with locale C.

creating directory /my_data... ok
creating directory /my_data/base... ok
creating directory /my_data/global... ok
creating directory /my_data/pg_xlog... ok
creating directory /my_data/pg_clog... ok
selecting default max_connections... 10
selecting default shared_buffers... 50
creating configuration files... ok
creating template1 database in /my_data/base/1... FATAL:  could not create
share
d memory segment: Function not implemented
DETAIL:  Failed system call was shmget(key=1, size=1081344, 03600).

initdb: failed
initdb: removing data directory "/my_data"

Sincerely yours,

Jian Huang


--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Problem reports:       http://cygwin.com/problems.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019