• Sudipta Bhaskar

ERROR: The home is not clean. This home cannot be used since there was a failed OPatch execution

[oracle@seha1 grid]$  ./ -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 "" 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
[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

Let's copy the software again.

$ scp oracle@
oracle@'s password:                                                                                                                                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/         ->
  lib/        ->
  lib/        ->
  lib/       ->
  lib/libjavavm19.a      -> ../javavm/jdk/jdk8/lib/libjavavm19.a
  javavm/lib/jce.jar     -> ../../javavm/jdk/jdk8/lib/jce.jar
  lib/    ->
  jdk/bin/ControlPanel   -> jcontrol
  javavm/admin/cbp.jar   -> ../../javavm/jdk/jdk8/admin/cbp.jar
  lib/   ->
  lib/  ->
  lib/  ->
  lib/  ->
  lib/  ->
  jdk/jre/bin/ControlPanel -> jcontrol
  javavm/admin/ -> ../../javavm/jdk/jdk8/admin/
  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/ -> ../../../javavm/jdk/jdk8/lib/security/
  jdk/jre/lib/amd64/server/ -> ../

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
-rw-r--r-- 1 oracle oinstall  120998448 Nov  2 14:41
[oracle@seha1 software]$
[oracle@seha1 software]$ unzip -d /grid/app/19.0/grid/
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/

Let's try the -applyRU once again.

[oracle@seha1 grid]$ ./ -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.

3 views0 comments

Recent Posts

See All

1Z0-083 Few Important Links

Following are few important links to prepare for the certification. Oracle® Multitenant Administrator’s Guide Backup and

Certification Overview

This has been downloaded from oracle website. It contains syllabus and other sample questions for both 082 and 083. Please concentrate on 083.