Despite banging on about making sure you have the latest OPatch applied on your database / grid homes today I was caught out.
If you have different OPatch versions between the grid and database homes you hit a mismatch error but if you have different versions on different RAC nodes you will hit this :
[root@ora01 gridhome]# $ORACLE_HOME/OPatch/opatchauto apply /u99/media/jul2020/31305382 -oh /u01/app/12.2.0/gridhome -analyze
Can't open perl script "/u01/app/12.2.0/gridhome/OPatch/auto/database/bin/RemoteHostExecutor.pl": (null)
oracle.dbsysmodel.driver.sdk.productdriver.ProductDriverException: Unable to execute command : Can't open perl script "/u01/app/12.2.0/gridhome/OPatch/auto/database/bin/RemoteHostExecutor.pl": (null)
OPatchAuto failed.
If you do a quick search you will be told to apply the latest OPatch but I was already using the latest version but once same version on all nodes - happy days!
So latest version all homes and all nodes.
check if you unzip the latest version oaptch using root user, it should unzip by orarac:oinstall user .
ReplyDeleteyou saved my life <3 <3
DeleteThank you Anonymous from "15 October 2020 at 23:50"
ReplyDeleteYou saved my time! Love you!
You saved my life! Love you so much!
ReplyDelete