pg.ddx.io  pgsql-sql@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: The Hermit Hacker <scrappy@hub.org>
To: ¼Û±â¿ø <schiva@m2000.co.kr>
Cc: PostgreSQL-ADMIN <pgsql-admin@postgreSQL.org>
Subject: Re: [SQL] Can't starting postmaster with -B 512 Option
Date: Thu, 12 Nov 1998 23:49:21 -0400 (AST)
Message-ID: <Pine.BSF.4.05.9811122344280.337-100000@thelab.hub.org> (raw)
In-Reply-To: <005101be0eb1$f0034920$4157fbcb@m2000.www.m2000.co.kr>

On Fri, 13 Nov 1998, [euc-kr] ¼Û±â¿ø wrote:

> System Spec
>     SUN OS 2.6
>     PostgreSQL 6.3 Version
> 
> [Error Message]
> sol% postmaster -B 512 -S -D /usr/local/pgsql/data
> IpcMemoryCreate: memKey=5432001 , size=4501144 ,
> permission=384IpcMemoryCreate: shmget(..., create, ...) failed: Invalid
> argument
> This type of error is usually caused by improper
> shared memory or System V IPC semaphore configuration.
> See the FAQ for more detailed information
> FATAL 1:  ShmemCreate: cannot create region
> 
> I don't know why error occured....
> Please.. Help me.....

First off...pick a list, don't send to them all...have narrowed it down to
the only one that was appropriate...

Second of all...Under Solaris 2.6, you have to raise the shared memory
segments available via the /etc/systems file.  I don' have the appropriate
document sittin gin front of me, or else I'd try and give you a more
detailed answer, but, for example, one of our Solaris machines at the
office as the following in its /etc/system file:

set shmsys:shminfo_shmmax=16777216
set shmsys:shminfo_shmmin=1
set shmsys:shminfo_shmmni=100
set shmsys:shminfo_shmseg=51

Each of the values tend to "inter-relate"...so you'll want to read up on
the appropriate docs for this, available through Sun...

Marc G. Fournier                                
Systems Administrator @ hub.org 
primary: scrappy@hub.org           secondary: scrappy@{freebsd|postgresql}.org 




view thread (3+ messages)  latest in thread

Message-ID: <Pine.BSF.4.05.9811122344280.337-100000@thelab.hub.org>
Permalink:  ../Pine.BSF.4.05.9811122344280.337-100000@thelab.hub.org/
Also on:    postgresql.org/message-id/Pine.BSF.4.05.9811122344280.337-100000@thelab.hub.org

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-sql@postgresql.org
  Cc: scrappy@hub.org, schiva@m2000.co.kr, pgsql-admin@postgreSQL.org
  Subject: Re: [SQL] Can't starting postmaster with -B 512 Option
  In-Reply-To: <Pine.BSF.4.05.9811122344280.337-100000@thelab.hub.org>
  References: <005101be0eb1$f0034920$4157fbcb@m2000.www.m2000.co.kr> <Pine.BSF.4.05.9811122344280.337-100000@thelab.hub.org>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox