Thread: Solaris 5.6 Shared Memory Problem

Solaris 5.6 Shared Memory Problem

From
Carlo Perassi
Date:
Hi all
We compiled Postgresql under Solaris 5.6.
.configure+make+make install worked without problem
but
when we try to start postmaster we got a problem about shared memory.
I was wondering if someone on this mailing list knows how to fix this problem without debuggin *all* the postgres.

This is what happens when I start postmaster:

% postmaster -i &
[1] 16136
% IpcMemoryCreate: shmget failed (Invalid argument) key=5432001, size=1073152, permission=600
FATAL 1:  ShmemCreate: cannot create region
^C
[1]    Done                 postmaster -i


Thanks in advance.

Carlo Perassi
perassi@vlsilab01.polito.it
VLSI Laboratory - Politecnico di Torino
--


Re: [PORTS] Solaris 5.6 Shared Memory Problem

From
Bruce Momjian
Date:
> Hi all
> We compiled Postgresql under Solaris 5.6.
> .configure+make+make install worked without problem
> but
> when we try to start postmaster we got a problem about shared memory.
> I was wondering if someone on this mailing list knows how to fix this problem without debuggin *all* the postgres.

See Solaris FAQ on web site.

>
> This is what happens when I start postmaster:
>
> % postmaster -i &
> [1] 16136
> % IpcMemoryCreate: shmget failed (Invalid argument) key=5432001, size=1073152, permission=600
> FATAL 1:  ShmemCreate: cannot create region
> ^C
> [1]    Done                 postmaster -i
>
>
> Thanks in advance.
>
> Carlo Perassi
> perassi@vlsilab01.polito.it
> VLSI Laboratory - Politecnico di Torino
> --
>
>
> ************
>
>


--
  Bruce Momjian                        |  http://www.op.net/~candle
  maillist@candle.pha.pa.us            |  (610) 853-3000
  +  If your life is a hard drive,     |  830 Blythe Avenue
  +  Christ can be your backup.        |  Drexel Hill, Pennsylvania 19026