Skip site navigation (1) Skip section navigation (2)

shmget failed

From: Michel Beheregaray <Michel(dot)Beheregaray(at)univ-pau(dot)fr>
To: <pgsql-ports(at)postgresql(dot)org>
Subject: shmget failed
Date: 2000-10-26 13:48:20
Message-ID: (view raw, whole thread or download thread mbox)
Lists: pgsql-ports
                        POSTGRESQL BUG REPORT TEMPLATE

Your name		:	Michel Beheregaray
Your email address	:	michel(dot)beheregaray(at)univ-pau(dot)fr

System Configuration
  Architecture (example: Intel Pentium)  	: Intel Pentium

  Operating System (example: Linux 2.0.26 ELF) 	: 2.2.16

  PostgreSQL version (example: PostgreSQL-7.0):   PostgreSQL-7.0.2

  Compiler used (example:  gcc 2.8.0)		: egcs-2.91.66

Please enter a FULL description of your problem:

postgresql was running fine but I wanted to increase the maxbackends value.
I reconfigure with "./configure  --with-maxbackends=64", then "make" and
replace previous version of postgres program (/usr/local/pgsql/bin/postgres) .
When I launch postmaster (link to postgres), I get the following error
message :
IpcMemoryCreate: shmget failed (Paramtre invalide) key=5432001, size=2048000, p
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
FATAL 1:  ShmemCreate: cannot create region

In doc/FAQ_Linux, I can read :

3.5)    Why do I get an error like:
        IpcMemoryCreate: memKey=155356396 , size=760632 ,
        permission=384IpcMemoryCreate: shmget(..., create, ...)
        failed: Invalid argument

        You haven't build IPC support into your Linux kernel. You
        will have to rebuild the kernel and switch on this option.

But my linux kernel was compiled with IPC support, here is an extract of

What did I make wrong ?

Centre Informatique de l'Universite de Pau et des Pays de l'Adour (CIUPPA)
Bat IFR, rue Jules Ferry, F-64000 PAU           Tl.:  +33 (0)5 59 72 20 12
Courriel : Michel(dot)Beheregaray(at)univ-pau(dot)fr       Fax :  +33 (0)5 59 72 20 19


pgsql-ports by date

Next:From: Trond Eivind =?iso-8859-1?q?Glomsr=F8d?=Date: 2000-10-26 14:20:32
Subject: 7.0 vs. 7.1 (was: latest version?)
Previous:From: Pete FormanDate: 2000-10-26 09:25:21
Subject: Re: [PATCH]: Building PostgreSQL 7.0.2 on Cygwin 1.1.4 (T ake 2)

Privacy Policy | About PostgreSQL
Copyright © 1996-2017 The PostgreSQL Global Development Group