top of page
  • Writer's pictureSudipta 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.

46 views0 comments

Recent Posts

See All

How to Convert Physical Standby To Active DataGuard

Standby database SQL> select open_mode , protection_mode , database_role from v$database; OPEN_MODE      PROTECTION_MODE   DATABASE_ROLE -------------------- -------------------- ---------------- MOUN

ORA-00845: MEMORY_TARGET not supported on this system

srvctl start asm fails with the following error. [oracle@sbstandby ~]$ srvctl start asm PRCR-1079 : Failed to start resource ora.asm CRS-2674: Start of 'ora.LISTENER.lsnr' on 'sbstandby' failed CRS-50


Post: Blog2_Post
bottom of page