More "IpcMemoryCreate: shmget failed" errors - Mailing list pgsql-bugs

From Sean Kelly
Subject More "IpcMemoryCreate: shmget failed" errors
Date
Msg-id Pine.LNX.4.10.10006161711050.5649-100000@random.ncl.ac.uk
Whole thread Raw
Responses Re: More "IpcMemoryCreate: shmget failed" errors  (The Hermit Hacker <scrappy@hub.org>)
Re: More "IpcMemoryCreate: shmget failed" errors  (Tom Lane <tgl@sss.pgh.pa.us>)
List pgsql-bugs
Hello again,

    A couple of weeks ago I reported a problem installing both 7.0 and
7.0.2 where attempting to start "postmaster" produced an "IpcMemoryCreate:
shmget failed"-type error.

    Tom Lane suggested I use the "ipcclean" application to remove
the "old shmem segments".

    Running "ipcclean" with 7.0.2 gave "ipcclean: nothing removed" as
the result "but postmaster" still gave the same "IpcMemoryCreate: shmget
failed" error.

    So ... I deleted this 7.0.2 installation and decided to go back to
6.5.3.  This installed, but when trying to start "postmaster" I got:

----- - - -----
IpcMemoryCreate: shmget failed (Permission denied) key=5432010, size=120, permission=700
IpcMemoryAttach: shmat failed (Permission denied) id=130
FATAL 1:  AttachSLockMemory: could not attach segment
----- - - -----

    So, I ran ipcclean that comes with 6.5.3 which finished with no
messages, but "postmaster" still gives the "IpcMemoryCreate: shmget
failed".

    Hence, I cannot run PostgreSQL on this system any more :(

    Any suggestions?  Is there a way that v7 could check for these old
segments from v6 and remove them?  Is this even the problem here?  Any
other ways to clear these suspected old segments at all?

    Thanks for your time,

--
Sean Kelly <S.Kelly@ncl.ac.uk>
"The best way to predict the future is to invent it" - Alan Kay

pgsql-bugs by date:

Previous
From: "Mitterwald, Holger"
Date:
Subject: Date or Documentation bug?
Next
From: The Hermit Hacker
Date:
Subject: Re: More "IpcMemoryCreate: shmget failed" errors