You do not have sufficient permissions to access the inventory ‘/u01/app/oraInventory/locks’

Sometime back i got the following error while trying to install Oracle GoldenGate on Exadata. This issue can be resovled by changing ” inventory.lock” permission using following method.

Error : – 

[ggate@dbadm01 Disk1]$ ./runInstaller
You do not have sufficient permissions to access the inventory ‘/u01/app/oraInventory/locks’. Installation cannot continue. It is required that the primary group of the install user is same as the inventory owner group. Make sure that the install user is part of the inventory owner group and restart the installer.: Permission denied

[ggate@dm02dbadm01 Disk1]$ ls -ltr
total 43
-rwxr-xr-x+ 1 oracle oinstall 918 Oct 22 2016 runInstaller
drwxr-xr-x+ 11 oracle oinstall 21 Oct 22 2016 stage
drwxr-xr-x+ 2 oracle oinstall 3 Oct 22 2016 response
drwxr-xr-x+ 4 oracle oinstall 11 Oct 22 2016 install

Solution : –

Chmod 770 locks
backup the already existing inventory.lock file
mv inventory.lock inventory.lock_<date>

And restart of the ./runinstaller using the response file fixed the issue.


[ggate@dm02dbadm01 Disk1]$ ./runInstaller
Starting Oracle Universal Installer…

Checking Temp space: must be greater than 120 MB. Actual 8704 MB Passed
Checking swap space: must be greater than 150 MB. Actual 23584 MB Passed
Checking monitor: must be configured to display at least 256 colors. Actual 16777216 Passed
Preparing to launch Oracle Universal Installer from /tmp/OraInstall2018-05-02_02-16-39PM. Please wait …[ggate@dbadm01 Disk1]$


Reference : –