Not enough shared memory error when installing Postgres for APMDB on Solaris during Enterprise Manager installation

Document ID : KB000048296
Last Modified Date : 14/02/2018
Show Technical Document Details

Description:

During Enterprise Manager installation, the APMDB fails to install with the following Postgres error:

  • Not enough shared memory

  • Please increase shared memory to 6693928832 or higher. You can set this value in /etc/project.

Increasing this value does not resolve the problem.

  • user.introscope:100::introscope::project.max-file-descriptor=(privileged,1024,deny);project.max-msg-ids=(privileged,512,deny);project.max-sem-ids=(privileged,1024,deny);project.max-sem-nsems=(privileged,512,deny);project.max-sem-ops=(privileged,512,deny);project.max-shm-memory=(priv,7340032000,deny);project.max-shm-ids=(privileged,1024,deny)

Solution:

The change required in /etc/project is position dependent.

The script that checks the value looks for the position of the value in the line for the user performing the installation.

In order for the test to pass, the shared memory setting must be the first parameter. For example:

  • user.introscope:100::introscope::project.max-shm-memory=(priv,7340032000,deny);project.max-file-descriptor=(privileged,1024,deny);project.max-msg-ids=(privileged,512,deny);project.max-sem-ids=(privileged,1024,deny);project.max-sem-nsems=(privileged,512,deny);project.max-sem-ops=(privileged,512,deny);project.max-shm-ids=(privileged,1024,deny)