shmget failed

Поиск
Список
Период
Сортировка
От Michel Beheregaray
Тема shmget failed
Дата
Msg-id 972568100.39f83624c84e8@www.univ-pau.fr
обсуждение исходный текст
Ответы Re: shmget failed  (Peter Eisentraut <peter_e@gmx.net>)
Список pgsql-ports
============================================================================
                        POSTGRESQL BUG REPORT TEMPLATE
============================================================================


Your name        :    Michel Beheregaray
Your email address    :    michel.beheregaray@univ-pau.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 (Param�tre invalide) key=5432001, size=2048000, p
ermission=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

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
/usr/src/linux/.config
[...]
CONFIG_SYSVIPC=y
[...]

What did I make wrong ?

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

В списке pgsql-ports по дате отправления:

Предыдущее
От: Pete Forman
Дата:
Сообщение: Re: [PATCH]: Building PostgreSQL 7.0.2 on Cygwin 1.1.4 (T ake 2)
Следующее
От: Lamar Owen
Дата:
Сообщение: Re:RPM dependencies (Was: 7.0 vs. 7.1 (was: latest version?))