Skip to Main Content

Oracle Database Discussions

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

orabase return old oracle_base

992731May 19 2014 — edited May 20 2014

Hi everyone,

please help

I had copied /u01/app/oracle from another host to this host (AIX os)

then I moved /u01/app/oracle to /u01/app/oracle11 in order to install oracle database 10g on the same host

PROD database is on 11g binaries.

the problem is that the 11g orabase binary keeps returning the old oracle_base . how to change it to /u01/app/oracle11 ?

I've already tried modifying $ORACLE_HOME/inventory/ContentsXML/oraclehomeproperties.xml like the following:

<?xml version="1.0" encoding="UTF-8"?>

<!-- Copyright (c) 1999, 2011, Oracle. All rights reserved. -->

<!-- Do not modify the contents of this file by hand. -->

<ORACLEHOME_INFO>

    <GUID>1144690967.1161990947</GUID>

    <HOME/>

    <ARU_PLATFORM_INFO>

        <ARU_ID>212</ARU_ID>

        <ARU_ID_DESCRIPTION>IBM_AIX</ARU_ID_DESCRIPTION>

    </ARU_PLATFORM_INFO>

    <PROPERTY_LIST>

        <PROPERTY NAME="ORACLE_HOME_OFFSET_SIZE" VAL="750"/>

        <PROPERTY NAME="ARCHITECTURE" VAL="64"/>

        <PROPERTY NAME="ORACLE_HOME_OFFSET_SIZE_UNITS" VAL="MB"/>

        <PROPERTY NAME="ORACLE_BASE" VAL="/u01/app/oracle11"/>

    </PROPERTY_LIST>

</ORACLEHOME_INFO>

more details:

host[]/home/oracle>. oraenv

ORACLE_SID = [oracle] ? PROD

The Oracle base has been set to /u01/app/oracle

host[PROD]/home/oracle>echo $ORACLE_HOME

/u01/app/oracle11/product/11.2.0/dbhome_1

host[PROD]/home/oracle>which orabase

/u01/app/oracle11/product/11.2.0/dbhome_1/bin/orabase

host[PROD]/home/oracle>which oraenv

/usr/local/bin/oraenv

host[PROD]/home/oracle>orabase

/u01/app/oracle

Thanks

Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Jun 17 2014
Added on May 19 2014
5 comments
686 views