delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2003/12/14/19:20:20

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: <000c01c3c2a1$3bdf02a0$fee430c8@alejo>
From: "Manuel Tejada" <mantemu AT terra DOT com DOT pe>
To: <cygwin AT cygwin DOT com>
Subject: I can't initializate the PostgreSQL v 7.4
Date: Sun, 14 Dec 2003 19:20:14 -0500
MIME-Version: 1.0
X-Priority: 3
X-MSMail-Priority: Normal
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1165

I was working with PostgreSQL 7.3.4 easily.
Yesterday I decided to made an upgrade to PostgreSQL 7.4.2.
After upgrading from internet with the setup.exe I followed the normal
procedure to inicializate the postgre. Observe that The initdb failed.

----------------
admin AT alejo ~
$ ipc-daemon &
[1] 935405

admin AT alejo ~
$ initdb -D /usr/share/postgresql/data
The files belonging to this database system will be owned by user "admin".
This user must also own the server process.

The database cluster will be initialized with locale C.

creating directory /usr/share/postgresql/data... ok
creating directory /usr/share/postgresql/data/base... ok
creating directory /usr/share/postgresql/data/global... ok
creating directory /usr/share/postgresql/data/pg_xlog... ok
creating directory /usr/share/postgresql/data/pg_clog... ok
selecting default max_connections... 10
selecting default shared_buffers... 50
creating configuration files... ok
creating template1 database in /usr/share/postgresql/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/share/postgresql/data"

admin AT alejo ~


--------------------

My questions are:
a) Why I get the FATAL error if I have started the ipc daemon before the
initdb?
b) How to fix this?

Note.- This is no the first upgrade I made. The upgrading from version 7.2
to 7.3 was without problem.

I'll appreciate any answer


--
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