Always download and apply the latest version of Opatch utility
When applying “Patch 27100009 – Grid Infrastructure Jan 2018 Release Update (GI RU) 220.127.116.11.180116”, get errors from auto opatch:
# /u01/app/18.104.22.168/grid/OPatch/opatchauto apply /PATCHES/22.214.171.124/27100009
System initialization log file is /u01/app/126.96.36.199/grid/cfgtoollogs/opatchautodb/systemconfig2018-01-18_10-59-37AM.log.
Session log file is /u01/app/188.8.131.52/grid/cfgtoollogs/opatchauto/opatchauto2018-01-18_11-02-03AM.log
OPATCHAUTO-68021: Missing required argument(s).
OPATCHAUTO-68021: The following argument(s) are required: [-wallet]
OPATCHAUTO-68021: Provide the required argument(s).
Oracle OPatchAuto Version 184.108.40.206.0
Copyright (c) 2016, Oracle Corporation. All rights reserved.
This operation applies patch.
The workaround is to use latest version of Opatch (220.127.116.11.9 or higher).
Manually create a wallet in 12.2 as per “Creation of opatchauto wallet in 12.2 in 18.104.22.168.8 (Doc ID 2270185.1)”.
ALWAYS get latest OPATCH utility on all RAC nodes first before applying patches.
When applying 22.214.171.124 GI RU( 126.96.36.199.180116 ), there are a couple of issues resolved by :
- Detach ORACLE_HOME which have no instances running against.
- Remove databases which are non required , but still in OCR.
- Use latest opatch for “wallet” issue.
Finally get another issue when running opatchauto:
# /u01/app/188.8.131.52/grid/OPatch/opatchauto apply
/PATCHES/184.108.40.206/27100009 -oh /u01/app/220.127.116.11/grid
OPatchauto session is initiated at Thu Jan 18 11:56:18 2018
System initialization log file is /u01/app/18.104.22.168/grid/cfgtoollogs/
Session log file is /u01/app/22.214.171.124/grid/cfgtoollogs/opatchauto/
The id for this session is AJ8A
Execution failed for host rachost2 due to : com.oracle.cie.remote.RemoteConnectionException:
Command execution of [/u01/app/126.96.36.199/grid//perl/bin/perl
/sdk/productdriver/remote/RemoteDataCollector ] failed due to exit status 2.
OPatchauto session completed at Thu Jan 18 11:57:11 2018
Time taken to complete the session 0 minute, 54 seconds
opatchauto failed with error code 42
The below command caused errors :
Found “/u01/app/188.8.131.52/grid/OPatch/auto/database/bin/RemoteHostExecutor.pl” file does not exist on racnode2, because the OPatch on this node is still old version 184.108.40.206.6. But on racnode1 OPatch version is latest 220.127.116.11.11.
Copy the latest OPatch from node1 onto node2, then run the opatchauto successfully.
ALWAYS get latest OPATCH on all RAC nodes first before applying patches.