EMC BCV of Oracle Home

I used make BCV backup copies of Oracle Home (on 8.1.7.4) to another hosts for recovery and testing. After I had migrated to 10.2.0.3 (HPUX 11.23 IA64), all database functions and functionality remain the same. However Oracle utilities such as dbca, opatch etc., are always reporting the dreaded "Exception in thread "main" java.lang.NoClassDefFoundError-.......".
Searching the support site recommending to reinstall oracle. Why the host name change should impact this?
Did anyone find a workaround for this?

That is the first place I checked. Everything is identical except source's hostname is XXXX and target hostname is YYYY. All the paths and profiles are identical.
The original installation was done on host XXXX and BCV are mounted in YYYY. I did copy /var/adm/options/oracle folder also. Identical oracle account (same uid and group)etc., Virtualy no difference in OS, Storage, Patches (OS pathces), Java version etc., But the problem persists.
Thanks for your comments.

Similar Messages

  • Cannot perform ASM cloning with EMC BCV sync/split

    We have a ASM instance (RAC) on two notes (+ASM1 and +ASM2 respectively).
    We wanted to use EMC BCV sync/split to clone the source database. Here are the details
    Source
    ASM Instance = +ASM1(RAC)
    DB Instance = TESTASM (In diskgroup TESTASM_DG)
    10.2.0.3 versions both
    Target
    1) ASM Instance = +ASM2 (RAC)
    2) I first created a new diskgroup called TESTASM2_DG (note the 2 in the name) and mounted it.
    3) put source TESTASM db in hotbackup mode
    4) unix SA did the BCV sync split.
    What happenend then was the diskgroup name on the target became TESTASM_DG now (i guess this is because the diskgroup name is stored in the disk header). I was not able to mount it on target. It says ASM disk header corruption.
    So then i thought let me re do this and here are the changes
    Target
    1) Create TESTASM_DG diskgroup (same name as the source). - But create diskgroup failed with
    create diskgroup TESTASM_DG
    external redundancy DISK '/dev/rdsk/c12t1d4';
    ERROR at line 1:
    ORA-15018: diskgroup cannot be created
    ORA-15030: diskgroup name "TESTASM_DG" is in use by another diskgroup
    drop diskgroup TESTASM_DG
    ERROR at line 1:
    ORA-15039: diskgroup not dropped
    ORA-15001: diskgroup "TESTASM_DG" does not exist or is not mounted
    Questions
    1) Why is ASM2 saying TESTASM_DG is already in use ? Yes it is being used on the source node by ASM1. So does it mean that a RAC ASM cluster cannot have two same diskgroup names on each of the nodes in this cluster ?
    If there is this restriction, then how do we perform BCV sync/split. We use BCV sync/split as our database cloning option. There are other things like RMAN DUPLICATE etc, but that is not feasible for us because of time taken and other performance issues. BCV sync/split is very fast and we want to use it even after ASM
    Will most appreciate your help on this.

    It seems that cloning is not supported on the same host using BCV.Amit, I am not cloning in the same host. I want to clone it on target host NODE 2. But the diskgroup is not getting mounted on NODE 2 becuz of the name clash. If i use different name, then ASM Disk header corruption is coming. So this is where i am struck. RMAN Duplicate is not an option for us because of network related performance problems. We were doing BCV sync/split prior to ASM and we want to continue with that route after ASM.
    I will update you folks after working Oracle support and EMC on this.
    -Srinivas

  • Need of Two Oracle Home in R12

    I am a newbie apps dba and was going through the oracle documentation. Where I learnt that in r12 there are two ORACLE_HOME 10.2.0 and 10.3.0. I tried to research regarding the same but couldn't find anything conclusive enough that would clear my fundamentals regarding the need for having 2 ORACLE_HOME. Of what I have understood , 10.2.0 is Developer Home which hosts the Apache, forms server etc and 10.3.0 hosts the JAVA/html server etc. Is my understanding correct regarding the same ? and what is the use and advantage of having two Oracle Homes? Do explain me in laymen terms as I am still a newbie!

    BhaviSavla;
    I guess you dint understand what I have said!!! I HAVE ALREADY READ THAT THOUSAND TIMES!!! Please think double&triple time while you are talking wiht Hussein Sawwan about EBS related questions. I am sure about Hussein Sawwan  understand your question as he understand other questions and already he has been answered your question(If you have ability to understand what you read)
    I strongly suggest you about TO BE KIND-RESPECT with forum users which are trying to help other people here.
    And I am still not able to understand the actual advantage of having TWO ORACLE_HOME...After read something, If you still understand than dont blame forum users. Choose easy way... Rise SR!
    Kindly do not post just to increase your number of posts on this forum!! If you cannot help me in anyway with this, kindly do not post!If you dont follow OTN forum site consistently than DO NOT MAKE COMMENT about people here If the topic is Hussein Sawwan.
    I must remind you something... He has more than 50k post wiht 51k points which mean he made post here like your_post_count*1500times... Wiht other words, his each post equal to 1 point, which mean his each post has meaning which are helpful!
    Do you have capability to calculate how mch time he spend here?
    Dont thing so!
    Moderator, I belive this question is already answered If the poster read notes! Please close or lock this thread!
    Thanks
    Helios

  • Want to use single oracle home for multiple database releases

    Hi,
    I have following 3 different databases.
    Oracle7 Server Release 7.3.4.4.0
    Oracle Database 10g Enterprise Edition Release 10.2.0.3.0
    Oracle Database 10g Enterprise Edition Release 10.2.0.3.0 - 64bit
    I want to access these databases using single oracle home. Please advise which client version I have to install to access these. I tried using Oracle Release 9.2.0.1.0 client but I am not able to connect to oracle 7 by using this.I am ready to have multiple oracle homes.But what client version I have to install and where can I get it.Your help will be highly appreciated.

    ... and 7 is using oracle 8.1.7 client.From your sales representative. 8i is no longer available for downloading,because desupported since many years.
    Werner

  • Multiple Oracle home and multiple Oracle database versions on same server?

    Hi all,
    I want to setup a test environment on single Windows XP server with an instance
    of Oracle 10g and Oracle 11g. How can I install both versions without problems?
    Thanks

    Hi,
    I am facing a problem on the same..
    below is the link to my thread.
    Multiple Oracle Home in Windows
    Please reply me how to solve this problem
    Thanks
    Bhavik Fuletra

  • Multiple oracle home installation

    I am going to install oracle 11g2 on hpux server. The server already has 10g on it and the plan is to run both for sometimes.
    Unfortunately, IUnfortunately, I don’t have prior experience installing multi-homed oracle software and I
    need help on how to supply the oracle home directory name to the installer:
    Do I have to supply the installation (OUI) with the oracle home directory: i.e
    Exiting oracle home: /u00/app/oracle/product/10.2.0/db_1
    For the new oracle home: /u00/app/oracle/product/11.2.0/db_2
    Is this correct?
    thank you,
    Lou

    What I did was create two profiles. My OS is similar, but NOT the same
    My default is Oracle 11.
    However I need a way to go back between Oracle Homes so I created an "o10g.profile" and a "o11g.profile"
    o10g.profile
    TMP=/tmp; export TMP
    TMPDIR=$TMP; export TMPDIR
    export ORACLE_BASE=/u01/app/oracle
    unset ORACLE_HOME
    export ORACLE_HOME=/u01/app/oracle/product/10.2.0
    #export DISPLAY=localhost:0.0
    export TZ=CST6CDT
    export ORA_OCI_NO_OPTIMIZED_FETCH=1
    ORA_OCI_NO_OPTIMIZED_FETCH=1; export ORA_OCI_NO_OPTIMIZED_FETCH
    export ORACLE_SID=STANDBY
    export ORACLE_TERM=xterm
    #export TNS_ADMIN= Set if sqlnet.ora, tnsnames.ora, etc. are not in $ORACLE_HOME/network/admin
    export NLS_LANG=AMERICAN;
    LD_LIBRARY_PATH=$ORACLE_HOME/lib:/lib:/usr/lib
    LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/usr/local/lib
    export LD_LIBRARY_PATH
    # Set shell search paths
    unset PATH
    PATH=/usr/sbin:/usr/kerberos/bin:/usr/local/bin:/bin:/usr/bin:/usr/X11R6/bin; export PATH
    export PATH=$PATH:$ORACLE_HOME/bin
    #CLASSPATH
    CLASSPATH=$ORACLE_HOME/JRE:$ORACLE_HOME/jlib:$ORACLE_HOME/rdbms/jlib
    CLASSPATH=$CLASSPATH:$ORACLE_HOME/network/jlibNotice the unset ORACLE_HOME at the top, this is key. Also the unset PATH.
    Now compare it to my o11g.profile file
    TMP=/tmp; export TMP
    TMPDIR=$TMP; export TMPDIR
    export ORACLE_BASE=/u01/app/oracle
    unset ORACLE_HOME
    export ORACLE_HOME=/u01/app/oracle/product/11.2.0
    #export DISPLAY=localhost:0.0
    export TZ=CST6CDT
    export ORA_OCI_NO_OPTIMIZED_FETCH=1
    ORA_OCI_NO_OPTIMIZED_FETCH=1; export ORA_OCI_NO_OPTIMIZED_FETCH
    export ORACLE_SID=PRIMARY
    export ORACLE_TERM=xterm
    #export TNS_ADMIN= Set if sqlnet.ora, tnsnames.ora, etc. are not in $ORACLE_HOME/network/admin
    export NLS_LANG=AMERICAN;
    LD_LIBRARY_PATH=$ORACLE_HOME/lib:/lib:/usr/lib
    LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/usr/local/lib
    export LD_LIBRARY_PATH
    # Set shell search paths
    unset PATH
    PATH=/usr/sbin:/usr/kerberos/bin:/usr/local/bin:/bin:/usr/bin:/usr/X11R6/bin; export PATH
    export PATH=$PATH:$ORACLE_HOME/bin
    #CLASSPATH
    CLASSPATH=$ORACLE_HOME/JRE:$ORACLE_HOME/jlib:$ORACLE_HOME/rdbms/jlib
    CLASSPATH=$CLASSPATH:$ORACLE_HOME/network/jlibIts probably a great idea to review the document Srini refers to. However this is a short and sweet example. In my case I can issue a
    source o10g.profileAnd be on Oracle 10. So to install the other version I created the profile for it and then then used it to switch to that ENV for the install.
    Best Regards
    mseberg

  • Multiple Oracle home

    Hi ,
    I have some doubt which needs to be cleared.
    If I will install multiple oracle home like ORACLE_HOME=/u01/app/oracle/product/10.1.0/asm
    ORACLE_HOME=/u01/app/oracle/product/9.2.0
    ORACLE_HOME=/u01/app/oracle/product/10.2.0
    ORACLE_HOME=/u01/app/oracle/product/crs
    Now in this when I will set export ORACLE_HOME then which version will be picked up.
    Is ORAENV isgoing to come into picture.
    Please throw some light on it.
    Mk

    asifkabirdba wrote:
    You have installed your oracle product (db,application server) using one of os user like oracle,appl,oraprod ect. When you log in to your OS by using OS user then .profile file executed automatically to export necessary environmental variables. You did not mention your OS. Normally you will find it to your OS user home directory. You can edit this file to set your desired ORACLE_HOME.
    # .bash_profile
    # Get the aliases and functions
    if [ -f ~/.bashrc ]; then
         . ~/.bashrc
    fi
    # User specific environment and startup programs
    PATH=$PATH:$HOME/bin
    export PATH
    unset USERNAME
    ORACLE_HOME=/oracle/product/102
    ORACLE_SID=ogtest
    LD_LIBRARY_PATH=$ORACLE_HOME/lib
    TNS_ADMIN=/oracle/product/102/network/admin/
    export ORACLE_HOME
    export ORACLE_SID
    export LD_LIBRARY_PATH
    export TNS_ADMIN
    export PATH=$PATH:$ORACLE_HOME/bin
    Regards
    Asif KabirAsif,
    Your advice to hard code the Oracle environment directly into the profile is poorly thought out. And a direct carry over of 'worst practices' unfortunately taught in some Oracle related classes.
    The OP did correctly identify oraenv (as described in the "Administrator's Reference for UNIX-Based Operating Systems" at http://www.oracle.com/pls/db102/portal.portal_db?selected=4) as the preferred solution. Putting THAT into the profile (using ORAENV_ASK as described in the manual) is OK.
    I'll leave you to figure out why the difference - I've posted many times about that in these forums.
    /Hans

  • CRS install fails Oracle home incompatibility checks  ( 10G )

    Hi,
    I'm trying to install RAC for 10.2.0 . The first step is to install cluster Ready Services ( On red hat linux ) . When it does the product specific prequisite checks, it fails on "Checking for Oracle home incompatibilities".
    I get the error " Oracle clusterware cannot be installed into an existing oracle home".
    I did a previous attempt at an install which failed. I have completely deleted the
    /oracle/product/10.2.0/crs directory which was previously created.
    If I check the environment variables, I get :
    [oracle@rac1 db_1]$ env | grep -i home
    HOME=/oracle
    ORACLE_HOME=/oracle/product/10.2.0/db_1
    So, in my thinking there is no trace now of a previous home for CRS.
    So why am I getting the error ??
    Thanks
    George

    It seems taht you have not cleared the inventory..As menioned earlier use OUI to remove the oracle_home from inventory. In case you do not wish to use the existing ORACLE_HOME=/oracle/product/10.2.0/db_1 or any other Oracle Installation on this server, then you can go ahead and remove the inventory itself.
    You can use Note:239998.1 for the various files to be removed for cleaning up CRS..
    - Amit
    http://askoracledba.blogspot.com/

  • Multiple APEX instances sharing the same Oracle Home?

    Can someone tell me if it is possible to have multiple APEX installations where the database instances are sharing the same Oracle Home? If so, how would this be set up?
    So, if I have development and test running on the same home, I want a separate APEX instance for each. We can do this when different Oracle homes are used (separate httpd running) but not for the same home.
    Thanks

    Thanks - We have tried putting 2 dad entries in file, but not sure how you connect. You only specify a port number, so how does it connect that to a db???

  • Multiple Instances on single oracle home

    Hi,
    If i have multiple instances in a single oracle home
    How can i know which instance is running (up)
    to which table i fire query to find instances status
    how to start single instance out of multiple instances
    Thanks,
    Mustang

    mustang4455 wrote:
    Hi,
    If i have multiple instances in a single oracle home
    How can i know which instance is running (up)
    to which table i fire query to find instances status
    how to start single instance out of multiple instances
    These questions show a certain lack of knowledge about Oracle - which immediately says that you also do not know what you are doing ito performance and scalability of a Oracle and that server platform by running multiple instances on it.
    In most case, running multiple instances is the wrong thing to do. It degrades performance. It does not and cannot scale. It is an exception to the basic fundamentals of client-server. And not just for Oracle.
    You need sound technical justification for running multiple instances on a server. What is yours?

  • Forms installation problem - how do I create a new default Oracle home?

    I am new to Oracle so please forgive my utter ignorance. My impression of Oracle because of how an installation
    has to be done is taking a nosedive. I thought Microsoft was bad with all the re-booting but the explanation that I
    read in Anubhav Seth's post about installing Dev 6i before 8i and the suggestion (not a requirement) to format the
    harddisk and reinstall Windows just leaves me with my jaw hanging open. I'm having a little trouble swallowing that
    one.
    Here's my situation... I'm running 8i at home and I am using it for the Oracle courses that I am taking at a local
    university. So 8i with its SQL*Plus has been all I have needed to date. Now we have a project to do that involves forms.
    So I go to the OTN page for downloads and downloaded file 6irel2nt.exe which is 264 MB in size. This file, I assume,
    has forms in it -- what else I don't know because things are not explained all that well on the web site or I don't know
    where to look (which implies poor organization of the web pages).
    I run the 6irel2nt.exe file and end up with 11,128 new files on my computer. That's nice. I run the setup file and a step or
    two into it it complains that my 'Ora81' home is already being used and that I need to install it into another Oracle Home.
    Now I'm trying to find out how I create another Oracle Home. I perform a search in GOOGLE on "creat default Oracle
    home" and basically get nowhere. My $50+ "Oracle 8i A Beginner's Guide" from Oracle Press mentions Oracle Home
    on one page (pg. 170) but is completely useless in this case. My $184 worth of Oracle University manuals (which
    are really PowerPoint slides) is useless too. My next step will be to comb through the FAQs. All this because I cannot
    believe that I have to totally uninstall one product to get another to install and then reinstall the first one. That is INSANE!
    If I have gone way off track please feel free to blast me but if this is true then all I can say is that the folks at Oracle need
    a lesson in KISS (Keep It Simple Stupid)! Computers and computer software are supposed to make our lives simpler
    not complicate the holy hell out of them. I'll get off my soapbox now. Sorry about the whining.

    I ended up uninstalling 8i and then I installed Dev 6i (Forms) and then I reinstalled 8i. I had some problems
    installing Dev 6i because of this error "path.vrf(86): Unbound variable 'path_too_long_prompt'". Right after this error
    appears I get a dialog that states, "The Oracle Installer cannot update the system path variable to %new_path%
    because it is too long. Please restrict your system path to 127 characters and make sure D:\Oracle\OraWin95\bin
    is included in your path."
    The path D:\Oracle\OraWin95 was what I set up for this installation.
    What I did to work around this problem was this...
    (1) Go to Start - Accessories - System Tools - System Information.
    (2) Click on the Tools menu
    (3) Select System Configuration Utility
    (4) Select the Autoexec.bat tab
    (5) I added D:\Oracle\OraWin95\bin to my PATH variable and unchecked the checkbox next to one of the several
    lines that I have that build my PATH variable. (I have several PATH lines that simply add a path to the system
    variable %path%). After the installation is complete you can go back and turn back on the paths that you had disabled.
    After installing 8i I did have a problem connecting to the database. I got this error:
    Error: ORA-01034 Oracle not available
    I believe this happened because I had forgotten to turn back on some of my PATH information that I mentioned
    earlier. After checking one of my PATH variables and rebooting, this problem disappeared.
    When reinstalling 8i and when the installation asks for an SID and you enter the SID you had used in the original
    installation you may get a notice that says the SID already exists. I think this happens because the uninstall does not
    clean up the registry totally, so I entered a different one. Later on, after the installation has been completed and you
    are connecting to your database, you will be prompted to select an SID -- just make sure that you select the SID from
    the latest installation.
    I should've mentioned first that in preparing for this whole ridiculous exercise I created a directory under my Oracle
    directory that I was going to use as the new 'Oracle home.' So I guess that's all one has to do to create a new Oracle
    home -- just have another directory ready to install 'stuff' into.
    All in all, this a pretty asinine exercise. Oracle really needs to fix this mess. I honestly thought Microsoft was bad but
    this takes the cake. I wonder if SQL Server is this screwed up.

  • Creating a new database in a new Oracle home

    Hi,
    I'd like to add a new database using dbca, but I want it in a different Oracle Home to the other databases on the server. I notice that in the dbca I do not get an option to specify a new Oracle home. I assume it is because this tool is only for database creation and not instance creation. Do I therefore need to do a full Oracle install in order to create a second Oracle home?
    Many thanks.
    ****Ignore this, I know what I'm doing now****
    Edited by: user11201026 on Aug 6, 2009 3:52 AM

    You need to better understand what an ORACLE_HOME is. An Oracle home has nothing to do with a Oracle database.
    ORACLE_HOME defines the location of an installation of an Oracle software installation.
    Where you decide to put a database is irrelevant to the location of an ORACLE_HOME.
    One ORACLE_HOME can have zero, one, or many databases.
    But you can not have an ORACLE_HOME without an installation of Oracle software.
    The concept docs are at http://tahiti.oracle.com.

  • Error while appying patch set 4 (10.1.3.4.0) to oracle home (10.1.3.1.0 )

    Hi,
    I am trying to apply patch set 10g Release 3 (10.1.3) Patch Set 4 (10.1.3.4.0) to 10g Release 3 (10.1.3.1.0) oracle home. As the pre - installation steps describes I have run the script ‘upgrade_10131_10134_oracle.sql’ for both ESB and BPEL. Also we need to delete the line <data id="java-bin" value="/myhost/jdk1.4.2/bin/java" />from the ‘ORACLE_HOME/opmn/conf/opmn.xml’ file. But when I have checked that file, the line was not present there.
    But when I am running the installer, it is showing error like
    Error
    --> Process (index=1,uid=418288051,pid=30220)
    failed to start a managed process after the maximum retry limit
    Log:
    C:\Oracle\Soa_OFMPractice\SOATESTING\opmn\logs\\HTTP_Server~1.log
    Configuration assistant "OPMN Configuration Assistant" failed.
    When I checked the log I got the error message like
    08/12/05 14:00:10 Start process
    Syntax error on line 278 of c:/oracle/soa_ofmpractice/soatesting/apache/apache/conf/httpd.conf:
    Cannot load c:/oracle/soa_ofmpractice/soatesting/apache/apache/modules/apachemoduleossl.dll into server: (127) The specified procedure could not be found:
    Does anybody know how to fix this problem?
    Thanks & Regards,
    Anju

    There is a quick fix for this
    There are 2 lines you need to comment form the c:/oracle/soa_ofmpractice/soatesting/apache/apache/conf/httpd.conf
    A comment is done with a #
    If you look in the C:\Oracle\Soa_OFMPractice\SOATESTING\opmn\logs\HTTP_Server~1.log file it will tell you.
    Find the line that has apachemoduleossl in it. When you try and restart it will fail again the C:\Oracle\Soa_OFMPractice\SOATESTING\opmn\logs\HTTP_Server~1.log should tell you what line to comment
    sorry can't be of much more help but dont have access to an environement at the moment.
    cheers
    James

  • Using patch plans for 12.1.0.2 target oracle home fails with 'PREREQ_MESG: Unable to get the version of OPatch'

    We are attempting to use patch plan to apply PSU and one-offs to a new 12.1.0.2 database oracle home.  Our EM version is 12.1.0.4.
    We are experiencing the same issue described in ''Bug 20271609 : Unable to get the version of OPatch".   This bug is closed as 'duplicate bug to filer' but we do not appear to have visibility into what patch/bug fixes the issue.
    Description from the above mentioned bug is our same issue.  We do not have this issue when we use patch plans against an 11.2.x oracle_home target.  It is unique to 12.1.0.2 oracle_home target.
    Description from the bug:
    The Plan failed in step "Run Prerequisite Checks" with the following errors:
    PREREQ_NAME: Minimum Version of OPatch
    PREREQ_DESC: Check if the required version of OPatch is present on the target
    PREREQ_TYPE: PATCH_TOOL_CHECK
    PREREQ_STATUS: FAILED
    PREREQ_MESG: Unable to get the version of OPatch at
    /u01/app/oracle/product/12.1.0/dbhome_2/Opatch
    We have opened an SR to see if we can get more info on what was already identified as a bug.  Has anyone else experienced this issue?  If so, can you share any patches or workarounds (other than manually applying patches) that you found useful?
    Thanks.

    You'll probably get the same info from Support, but the workaround is to use the Patch Database (however that doesn't work if there's no DB target associated to that home).   If you were trying to do patchign out of place (clone home, patch, then move db's), EM can do this for you.   If you're just installing a new DB Home and trying to patch, then i don' think there's another workaround.  The base bug is marked fixed though, so a backport for the 12.1.0.6 plugin should be available very soon.  I would ask the support analyst to request the backport for your plugin/patch level...

  • How To Find Oracle Home Directory Path...

    Hello,
    I am working on deployment of java web service on Oracle Application Server(LINUX) 10g, EBS - R12.
    I am working on other system and i want to deploy web service remotely on application server.
    And i am not getting the oracle home directory path. I want to find the home directory path remotely.
    so suggest me how to find out path of that.
    or weather i have to install jdevloper on server system and than i have to deploy it,
    or any other alternative way is available.
    Reply as soon as possible......

    Thanks for your reply.
    It's precisely the registry key which got tampered, and there's no ORACLE_HOME environmental variable(Or that too is tampered)
    Now,how to set it to one of the Oracle home directories?
    Regards,
    Bhagat
    !!!!!!!!!!!!!!!!!!!!

Maybe you are looking for