[oracle@seha1 grid]$ ./gridSetup.sh -silent -applyRU /dboracle/software/33204768
ERROR: The home is not clean. This home cannot be used since there was a failed OPatch execution in this home. Use a different home to proceed.
One -aplyRU failed due to old OPatch version. After updating OPatch, I tried to install RU but it failed with the error.
We can't do much here.
Executing "gridSetup.sh" Fails with "ERROR: The home is not clean" (Doc ID 2279633.1)
As per the above doc, we need to remove the home and bring the zip again and unzip here.
[oracle@seha1 grid]$ pwd
/grid/app/19.0/grid
[oracle@seha1 grid]$ cd ..
[oracle@seha1 19.0]$ rm -rf grid
[oracle@seha1 19.0]$ mkdir grid
[oracle@seha1 19.0]$ cd grid
[oracle@seha1 grid]$ ls -ltr
total 0
[oracle@seha1 grid]$ pwd
/grid/app/19.0/grid
Let's copy the software again.
$ scp LINUX.X64_193000_grid_home.zip oracle@192.168.126.11:/grid/app/19.0/grid
oracle@192.168.126.11's password:
LINUX.X64_193000_grid_home.zip 100% 2755MB 35.3MB/s 01:18
sudip@DESKTOP-RDIUEUO MINGW64 /c/Softwares
Let's unzip. Giving few lines from the last.
finishing deferred symbolic links:
bin/lbuilder -> ../nls/lbuilder/lbuilder
lib/libocci.so -> libocci.so.19.1
lib/libagtsh.so -> libagtsh.so.1.0
lib/libodm19.so -> libodmd19.so
lib/libclntsh.so -> libclntsh.so.19.1
lib/libjavavm19.a -> ../javavm/jdk/jdk8/lib/libjavavm19.a
javavm/lib/jce.jar -> ../../javavm/jdk/jdk8/lib/jce.jar
lib/libocci.so.18.1 -> libocci.so
jdk/bin/ControlPanel -> jcontrol
javavm/admin/cbp.jar -> ../../javavm/jdk/jdk8/admin/cbp.jar
lib/libclntshcore.so -> libclntshcore.so.19.1
lib/libclntsh.so.12.1 -> libclntsh.so
lib/libclntsh.so.18.1 -> libclntsh.so
lib/libclntsh.so.11.1 -> libclntsh.so
lib/libclntsh.so.10.1 -> libclntsh.so
jdk/jre/bin/ControlPanel -> jcontrol
javavm/admin/libjtcjt.so -> ../../javavm/jdk/jdk8/admin/libjtcjt.so
javavm/admin/classes.bin -> ../../javavm/jdk/jdk8/admin/classes.bin
javavm/admin/lfclasses.bin -> ../../javavm/jdk/jdk8/admin/lfclasses.bin
javavm/lib/security/cacerts -> ../../../javavm/jdk/jdk8/lib/security/cacerts
javavm/lib/sunjce_provider.jar -> ../../javavm/jdk/jdk8/lib/sunjce_provider.jar
javavm/lib/security/README.txt -> ../../../javavm/jdk/jdk8/lib/security/README.txt
javavm/lib/security/java.security -> ../../../javavm/jdk/jdk8/lib/security/java.security
jdk/jre/lib/amd64/server/libjsig.so -> ../libjsig.so
Let's copy the latest Opatch.
[oracle@seha1 grid]$ cd /dboracle/software/
[oracle@seha1 software]$ ls -ltr
total 2660284
drwxr-x--- 8 oracle oinstall 4096 Oct 18 11:32 33204768
-rw-r--r-- 1 oracle oinstall 2603124672 Nov 2 14:28 p33204768_190000_Linux-x86-64.zip
-rw-r--r-- 1 oracle oinstall 120998448 Nov 2 14:41 p6880880_210000_Linux-x86-64.zip
[oracle@seha1 software]$
[oracle@seha1 software]$ unzip -d /grid/app/19.0/grid/ p6880880_210000_Linux-x86-64.zip
Archive: p6880880_210000_Linux-x86-64.zip
replace /grid/app/19.0/grid/OPatch/README.txt? [y]es, [n]o, [A]ll, [N]one, [r]ename: A
inflating: /grid/app/19.0/grid/OPatch/README.txt
inflating: /grid/app/19.0/grid/OPatch/datapatch
inflating: /grid/app/19.0/grid/OPatch/emdpatch.pl
Let's try the -applyRU once again.
[oracle@seha1 grid]$ ./gridSetup.sh -silent -applyRU /dboracle/software/33204768
Preparing the home to patch...
Applying the patch /dboracle/software/33204768...
Successfully applied the patch.
The log can be found at: /tmp/GridSetupActions2021-11-02_03-04-50PM/installerPatchActions_2021-11-02_03-04-50PM.log
Now it is successful.
Comments