How to resolve RMAN-06035: wrong version of recover.bsq, expecting 11.2.0.4, found 11.2.0.2

In my case there are two oracle homes.
so when I schedule a cron job for archive clearing following error was raised.

Recovery Manager: Release 11.2.0.4.0 - Production on Wed May 17 13:41:49 2023
Copyright (c) 1982, 2011, Oracle and/or its affiliates.  All rights reserved.
RMAN-00571: ===========================================================
RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
RMAN-00571: ===========================================================
RMAN-00554: initialization of internal recovery manager package failed
RMAN-03000: recovery manager compiler component initialization failed
RMAN-06035: wrong version of recover.bsq, expecting 11.2.0.4, found 11.2.0.2





SOLUTION:

I have added following line to the oraenv file. 

export PATH=$ORACLE_HOME/bin:$PATH


Comments

Popular posts from this blog

[FATAL] [DBT-10503] Template file is not specified

Resolving ORA-10635 and ORA-39171 Errors During BLOB Tablespace Maintenance