Skip to content
Home » Oracle » How to Resolve PRVG-1205 : OS kernel parameter "file-max" does not have expected current value on node

How to Resolve PRVG-1205 : OS kernel parameter "file-max" does not have expected current value on node

PRVG-1205

Saw some errors during prerequisite checks of Oracle database installation.

OUI Prerequisite Check - OS Kernel Parameters
OUI Prerequisite Check - OS Kernel Parameters

Precisely speaking, the error is PRVG-1205 if we check its details.

OUI Prerequisite Check - OS Kernel Parameters - PRVG-1205
OUI Prerequisite Check - OS Kernel Parameters - PRVG-1205

An example of the error details is as below:

OS Kernel Parameter: file-max - This is a prerequisite condition to test whether the OS kernel parameter "file-max" is properly set.
Expected Value : 6815744
Actual Value : Current=788543; Configured=undefined
 Details:
 - PRVG-1205 : OS kernel parameter "file-max" does not have expected current value on node "test" [Expected = "6815744" ; Current = "788543"; Configured = "undefined"].
  - Cause:  A check of the current value for an OS kernel parameter did not find the expected value.
  - Action:  Modify the kernel parameter current value to meet the requirement.

PRVG-1205 means that some kernel parameters like file-max, rmem_default, rmem_max, wmem_default, wmem_max and aio-max-nr do not meet the minimum requirement of Oracle database installation. You should raise their values in order to pass the prerequisite check before installation.

Solutions

You can fix them at run-time by OUI or manually add a sysctl configuration file.

Fix by OUI

Click on "Fix and Check Again" to make OUI to make the changes.

OUI Prerequisite Check - OS Kernel Parameters - Fix and Check Again
OUI Prerequisite Check - OS Kernel Parameters - Fix and Check Again

A confirmation dialog will prompt to you, please click "OK" to proceed if you have no issue about it.

OUI Prerequisite Check - OS Kernel Parameters - Fix and Check Again - Confirmation Dialog
OUI Prerequisite Check - OS Kernel Parameters - Fix and Check Again - Confirmation Dialog

It should pass this time, you can continue installing Oracle product. But there's a drawback, those changes will not persist after a system reboot.

sysctl file

To persist changed values of kernel parameters across reboots, you can make a sysctl configuration file for system to read at boot-time.

[root@test ~]# vi /etc/sysctl.d/97-oracle-database-sysctl.conf
fs.aio-max-nr = 1048576
fs.file-max = 6815744
kernel.shmall = 2097152
kernel.shmmax = 4294967295
kernel.shmmni = 4096
kernel.sem = 250 32000 100 128
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 = 1048576

Then make it read values from all system directories.

[root@test ~]# sysctl --system

After that, click on "Check Again" to pass the checks. This is the official way to solve it.

To take a look a complete installation process, you may check the following posts:

Leave a Reply

Your email address will not be published. Required fields are marked *