Re: IpcMemoryCreate: shmget failed (Permission denied)

From: Jeff Eckermann <jeff_eckermann(at)yahoo(dot)com>
To: Theuns <ftvo(at)webmail(dot)co(dot)za>, pgsql-novice(at)postgresql(dot)org
Subject: Re: IpcMemoryCreate: shmget failed (Permission denied)
Date: 2003-06-06 23:34:31
Message-ID: 20030606233431.40973.qmail@web20801.mail.yahoo.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-novice

Try running "ipcclean". ISTR that working for me in a
similar situation.

--- Theuns <ftvo(at)webmail(dot)co(dot)za> wrote:
> When trying to start the postmaster after
> installation, I get this
> error :
>
> $ postmaster -D /usr/local/pgsql/data
> IpcMemoryCreate: shmget failed (Permission denied)
> key=5432001,
> size=1104896, permission=600
> This type of error is usually caused by an improper
> shared memory or System V IPC semaphore
> configuration.
> For more information, see the FAQ and
> platform-specific
> FAQ's in the source directory pgsql/doc or on our
> web site at http://www.postgresql.org.
> FATAL 1: ShmemCreate: cannot create region
>
> Checking the share memory status:
>
> $ ipcs -l
>
> ------ Shared Memory Limits --------
> max number of segments = 1024
> max seg size (kbytes) = 32768
> max total shared memory (kbytes) = 134217728
> min seg size (bytes) = 1
>
> Cgecking the shmmax configuration value :
>
> $ vi /proc/sys/kernel/shmmax
>
> 33554432
>
> Check hard disk space :
>
> $ df -vk
> Filesystem 1k-blocks Used Available
> Use% Mounted on
> /dev/hda6 4719972 4407656 72548
> 99% /
> /dev/hda1 69973 2476 63884
> 4% /boot
>
> I can not access the postrgresql mail list archives
> or subscribe to a
> list due to the hard disk failures they had
> encountered recently.
>
> I'm working on a Redhat Linux 7.0 (Guinness)
> Kernel 2.2.16-22 on an i686
>
> with the latest PostgreSQL version 7.3.3
>
> The machine has 128mb ram with a 4gb hard drive
>
> PS. I am not a Linux expert and have to get this
> working on my own so
> any help would be appreciated.
>
> Thanks
> Theuns
>
_______________________________________________________________________
> LOOK GOOD, FEEL GOOD - WWW.HEALTHIEST.CO.ZA
>
> Cool Connection, Cool Price, Internet Access for R59
> monthly @ WebMail
> http://www.webmail.co.za/dialup/
>
> ---------------------------(end of
> broadcast)---------------------------
> TIP 4: Don't 'kill -9' the postmaster

__________________________________
Do you Yahoo!?
Yahoo! Calendar - Free online calendar with sync to Outlook(TM).
http://calendar.yahoo.com

In response to

Browse pgsql-novice by date

  From Date Subject
Next Message Jeff Eckermann 2003-06-06 23:40:09 Re: FATAL 1
Previous Message Rory Campbell-Lange 2003-06-06 16:41:02 Re: Return Record