delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2003/07/19/09:34:22

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
From: "Kevin Jones" <kevinj AT develop DOT com>
To: <cygwin AT cygwin DOT com>
Subject: Postmaster failing 'not enough core'
Date: Sat, 19 Jul 2003 14:33:35 +0100
Message-ID: <000a01c34dfa$5b8f3320$0400a8c0@milo>
MIME-Version: 1.0
X-Priority: 3 (Normal)
X-MSMail-Priority: Normal
Importance: Normal
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.3718.0
X-OriginalArrivalTime: 19 Jul 2003 13:34:10.0678 (UTC) FILETIME=[6FA56960:01C34DFA]

I'm running Cygwin 1.3.22.1 on Windows 2003. I've installed ipc-daemon
as a service and I'm trying to get postmaster started.

I've created a postgres account, logged on under that account and run
initdb -D /usr/share/postgresql/data to create the DB.

postmaster is installed like this

"$ cygrunsrv --install postmaster --path /usr/bin/postmaster   --args
"-D  /usr/share/postgresql/data -i -B 16 -N 8" --dep ipc-daemon
--termsig INT --user postgres --shutdown #"

ipc-daemon starts OK (for a while It wouldn't but logging off and back
on seemed to fix that problem), but postmaster won't start. I'm getting
this in 'postmster.log'

"IpcMemoryCreate: shmget(key=5432001, size=1499136, 03600) failed: Not
enough core"

followed by the rest of the message. I've tried reducing buffer sizes to
16 (the minimum) and the max connections to 8 (as can be seen above) and
I'm still getting the problem.

I suspect it's a permissions problem (most of these seem to be:) ) Do I
need to do anything special to the postgres user, or allow it access to
any particular directory?

Any help would be much appreciated.

Thanks,

Kevin Jones
Developmentor
www.develop.com


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