One assumes you are running Linux. shm is provided by iBCS .
make sure that it is loaded (use lsmod).
if not loaded, the path is /lib/modules/<kernel release>/misc
so you need eg.
insmod /lib/modules/2.2.20-10/misc/iBCS.o

kerneld if running should fetch it for you.

On Thu, 30 Mar 2000, Niall Dalton wrote:

> Hi,
> 
> I'm taking a look at a postgres installation
> for a friend (normal admin guy is away..).
> 
> When I try to start postgres I get the following,
> although I am assured that shm was configured correctly.
> 
> Is there something else that could be causing this?
> (What's the quickest way to make certain shm is
> configured correctly in the kernel?)
> 
> Please cc me on any replies.
> 
> Thanks!
> 
> niall
> 
> [postgres@machine postgres]$ /usr/local/pgsql/bin/postmaster -D
> /usr/local/pgsql/data
> IpcMemoryCreate: shmget failed (Permission denied) key=5432010,
> size=120, permission=700
> IpcMemoryAttach: shmat failed (Permission denied) id=3201
> FATAL 1:  AttachSLockMemory: could not attach segment
> [postgres@machine postgres]$
> 

Reply via email to