postgres solaris 2.6 error message

Started by David Giffinover 26 years ago2 messagesgeneral
Jump to latest
#1David Giffin
david@agent911.com

I'm getting this error when trying to run postgres under solaris 2.6 and
posgrsql 6.5.1.

postgres@vizard:~/postgresql-6.5.1$ /opt/pgsql/bin/postmaster -i -S -p5432
-D/opt/pgsql/data
IpcMemoryCreate: shmget failed (Invalid argument) key=5432001,
size=1073152, permission=600
FATAL 1: ShmemCreate: cannot create region

Any ideas?

David

#2Aaron Holtz
aholtz@bright.net
In reply to: David Giffin (#1)
Re: [GENERAL] postgres solaris 2.6 error message

Might be in the FAQ, but add this to /etc/system and reboot:

set semsys:seminfo_semmap=64
set semsys:seminfo_semmni=4096
set semsys:seminfo_semmns=4096
set semsys:seminfo_semmnu=4096
set semsys:seminfo_semume=64
set semsys:seminfo_semmsl=100
set shmsys:shminfo_shmmax=268435456
set shmsys:shminfo_shmmin=100
set shmsys:shminfo_shmmni=100
set shmsys:shminfo_shmseg=100

Not sure if these are the *best* values, but if I remember back when I was
solving this error, these were good suggested values.

--------------------------------------------------------------------------
Aaron Holtz
ComNet Inc.
UNIX Systems Specialist
Email: aholtz@bright.net
"It's not broken, it just lacks duct tape."
--------------------------------------------------------------------------

On Mon, 26 Jul 1999, David Giffin wrote:

Show quoted text

I'm getting this error when trying to run postgres under solaris 2.6 and
posgrsql 6.5.1.

postgres@vizard:~/postgresql-6.5.1$ /opt/pgsql/bin/postmaster -i -S -p5432
-D/opt/pgsql/data
IpcMemoryCreate: shmget failed (Invalid argument) key=5432001,
size=1073152, permission=600
FATAL 1: ShmemCreate: cannot create region

Any ideas?

David