Re: [SQL] Can't starting postmaster with -B 512 Option

From: The Hermit Hacker <scrappy(at)hub(dot)org>
To: 송기원 <schiva(at)m2000(dot)co(dot)kr>
Cc: PostgreSQL-ADMIN <pgsql-admin(at)postgreSQL(dot)org>
Subject: Re: [SQL] Can't starting postmaster with -B 512 Option
Date: 1998-11-13 03:49:21
Message-ID: Pine.BSF.4.05.9811122344280.337-100000@thelab.hub.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-admin pgsql-general pgsql-hackers pgsql-sql

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(at)hub(dot)org secondary: scrappy(at){freebsd|postgresql}.org

In response to

Browse pgsql-admin by date

  From Date Subject
Next Message Elliot Jaspin 1998-11-13 04:27:16 problem compiling under AIX 4.2
Previous Message 송기원 1998-11-13 03:01:40 Can't starting postmaster with -B 512 Option

Browse pgsql-general by date

  From Date Subject
Next Message Sven Hartrumpf 1998-11-13 07:56:16 PGSQL 6.4 and C++ Functions
Previous Message 송기원 1998-11-13 03:01:40 Can't starting postmaster with -B 512 Option

Browse pgsql-hackers by date

  From Date Subject
Next Message Michael Robinson 1998-11-13 05:36:05 More CORBA and PostgreSQL
Previous Message 송기원 1998-11-13 03:01:40 Can't starting postmaster with -B 512 Option

Browse pgsql-sql by date

  From Date Subject
Next Message Tom Lane 1998-11-13 14:49:50 Re: Can't starting postmaster with -B 512 Option
Previous Message 송기원 1998-11-13 03:01:40 Can't starting postmaster with -B 512 Option