Wednesday, January 29, 2014

RMAN-06035: wrong version of recover.bsq

While trying to connect to RMAN today,  I saw the below error.

Recovery Manager: Release 11.1.0.7.0 - Production on Wed Jan 29 12:10:26 2014

Copyright (c) 1982, 2007, Oracle.  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.1.0.7, found 11.2.0.3


Cause: There were multiple oracle homes on this particular database server.

Solution:

Export the ORACLE_SID and ORACLE_HOME.
                Go to $ORACLE_HOME/bin and then try connecting to RMAN

sousurdba1:/home/oracle>cd $ORACLE_HOME/bin
sousurdba1:/u01/app/oracle/product/11.2.0.3/dev/bin>rman catalog rcat/rcat123@sou01pd

Recovery Manager: Release 11.2.0.3.0 - Production on Wed Jan 29 12:11:22 2014

Copyright (c) 1982, 2011, Oracle and/or its affiliates.  All rights reserved.

connected to recovery catalog database

RMAN>

Cheers..!!!

2 comments:

  1. It would be worth checking LD_LIBRARY_PATH is pointing to correct ORACLE_HOME.

    ReplyDelete