Oracle 11gR2 Installation on Oracle linux 7 – Prerequisite condition failed for OS kernel parameter “semmni”

installationoracleoracle-11goracle-11g-r2

while Installing oracle 11gr2 on oracle Linux 7. The prerequisite condition to test whether the OS kernel parameter "semmni" is failed with below error.

Please find the screenshot of it.enter image description here

Below is the kernel parameters which are configured in the etc/sysctl.conf file.

fs.aio-max-nr = 1048576    
fs.file-max = 6815744    
kernel.shmall = 2097152    
kernel.shmmax = 2147483648     
kernel.shmmni = 4096
#semaphores: semmsl, semmns, semopm, semmni
kernel.sem = 250 256000 100 1024    
net.ipv4.ip_local_port_range = 9000 65500    
net.core.rmem_default=262144    
net.core.rmem_max=4194304   
net.core.wmem_default=262144
net.core.wmem_max=1048586

Any idea why it is failing?

Best Answer

Having the correct value in sysctl.conf does not mean that is the current setting in effect system-wide.

You can check the current value in effect with:

sysctl -a | grep "kernel.sem"

If it differs from the one in the file configured, you need to actualize it with

sysctl -p

Or it will happen on the next reboot automatically.