Error INS-32826 Applaying RU in Database Home

Yesterday I was patching an oracle home database, when it failed due to a permissions issue. When I ran the RU installation again I got the following message;

[INS-32826] The software home (/dbrest/database/server/19.0.0) is already registered in the central inventory. Refer to patch readme instructions on how to apply.

In this case it seems to be half done, the best thing to do is to force a detach and re-run the patch from the beginning.

To force the detach run the following command, in my case being a RAC with Grid infrastructure, I run it from the owner, which is the user Grid;

./runInstaller -silent -waitforcompletion -detachHome ORACLE_HOME=’/dbrest/database/server/19.0.0′ -local

You have to run it from the Grid home, and specifically inside the Oracle Universal Installer, and here inside the bin folder.

$GRID_HOME/oui/bin

The output is this

Starting Oracle Universal Installer…

Checking swap space: must be greater than 500 MB. Actual 57298 MB Passed
The inventory pointer is located at /var/opt/oracle/oraInst.loc
You can find the log of this install session at:
/app/oraInventory/logs/DetachHome2024-06-28_10-17-43AM.log
‘DetachHome’ was successful.

HTH – Antonio NAVARRO

< Running SQL Files with SQL*Plus in Oracle