Tuesday 1 March 2016

Oracle Rapid Clone Errors and Solutions

Error:
Below pre-req checks are having warning
WARNING : Packages
Global inventory loc = /etc/oraInst.loc
Log: /opt/oraInventory/logs/install2016-04-05_05-05-11PM.log
contextFile:/opt/clone/oracle/TEST/fs1/EBSapps/comn/clone/prereq/webtier/Scripts/prereq/oui/agent_prereq_context.xml
The entry point is: oracle.installType.all
Check Name:CertifiedVersions
Check Description:This is a prerequisite condition to test whether the Oracle software is certified on the current O/S or not.
Expected result: One of oracle-6,oracle-5.8,oracle-5.7,oracle-5.6,enterprise-6.6,enterprise-4,enterprise-5,redhat-6.6,redhat-4,redhat-5,SuSE-10,SuSE-11
Actual Result: redhat-6.6

Check complete. The overall result of this check is:  Failed

Solution:

To implement the solution, please execute the following steps: 

1. Edit ./opt/clone/oracle/TEST/fs1/EBSapps/comn/clone/prereq/webtier/Scripts/prereq/linux64/refhost.xml file: 

Change 
<VERSION VALUE="6"/> 
To 
<VERSION VALUE="6.6"/> 



Example
FROM:
<OPERATING_SYSTEM>
    <VERSION VALUE="6"/>
    <ARCHITECTURE VALUE="x86_64"/>
    <NAME VALUE="Linux"/>
    <VENDOR VALUE="oracle"/>
    <GLIBC ATLEAST="2.12-1.7.el6">

TO:
<OPERATING_SYSTEM>
    <VERSION VALUE="6.4"/>
    <ARCHITECTURE VALUE="x86_64"/>
    <NAME VALUE="Linux"/>
    <VENDOR VALUE="redhat"/>
    <GLIBC ATLEAST="2.12-1.7.el6">

-----------------------------------------------------------------------------------------------------------------------------------------------------------------


Error:
Ensure that the above Oracle Homes are unregistered from the global inventory "/opt/oraInventory/ContentsXML/inventory.xml" and re-run adcfgclone.pl script

Solution: 
Rename or delete the file inventory.xml in your oraInventory location For Example:
\opt\oraInventory\ContentsXML\inventory.xml

-----------------------------------------------------------------------------------------------------------------------------------------------------------------

Error:
START: Creating new WLS domain. 
Running /home/oracle/d01/oracle/TEST/fs1/FMW_Home/oracle_common/bin/pasteConfig.sh -javaHome /home/oracle/d01/oracle/TEST/fs1/EBSapps/comn/clone/FMW/t2pjdk -al /home/oracle/d01/oracle/TEST/fs1/EBSapps/comn/clone/FMW/WLS/EBSdomain.jar -tdl /home/oracle/d01/oracle/TEST/fs1/FMW_Home/user_projects/domains/EBS_domain_TEST -tmw /home/oracle/d01/oracle/TEST/fs1/FMW_Home -mpl /home/oracle/d01/oracle/TEST/fs1/EBSapps/comn/clone/FMW/WLS/plan/moveplan.xml -ldl /home/oracle/d01/oracle/TEST/fs1/inst/apps/TEST_erptest/admin/log/clone/wlsT2PApply -silent true -debug true -domainAdminPassword /home/oracle/d01/oracle/TEST/fs1/EBSapps/comn/clone/FMW/tempinfo.txt 
Script Executed in 4434 milliseconds, returning status 255 
ERROR: Script failed, exit code 255 

Solution:


1. Back up the inventory.xml file to inventory.xml.bk
2. Remove (rm -rf) the inst directory on the target run file system
3. Remove (rm -rf) the FMW_Home directory on the target run file system
4. From a brand new session(terminal) where nothing has been sourced, navigate to your COMMON_TOP/clone/bin directory
5. Again make sure there are no EBS specific env variables sourced on this session(terminal) and run perl adcfgclone.pl appsTier




1. Remove the  /tmp/.ovdlock.tmp file.
2. Re-run adcfgclone.


OR

The existing clone was not neatly removed. stop services, restart nodes and then remove. Extract new cold backup files and then re run adcfgclone.pl script.

-----------------------------------------------------------------------------------------------------------------------------------------------------------------


Problem:
#############################################################
Started ApplyAppsTier at Wed Oct 19 16:08:37 PKT 2016
Version:
        ApplyAppsTier.java      :       120.11.12020000.6
#############################################################

START: Creating the FMW Home from ApplyAppsTier
FMW JDK version in use: 1.6.0_29

START: Creating FMW Home.
Running /opt/CLONE/oracle/TEST/fs1/EBSapps/comn/clone/FMW/pasteBinary.sh -javaHome /opt/CLONE/oracle/TEST/fs1/EBSapps/comn/clone/FMW/t2pjdk -al /opt/CLONE/oracle/TEST/fs1/EBSapps/comn/clone/FMW/FMW_Home.jar -tl /opt/CLONE/oracle/TEST/fs1/FMW_Home -invPtrLoc /etc/oraInst.loc -ldl /opt/CLONE/oracle/TEST/fs1/inst/apps/CLONE_appstest/admin/log/clone/fmwT2PApply -silent true -debug true -executeSysPrereqs false
Script Executed in 106673 milliseconds, returning status 255

ERROR: Script failed, exit code 255

Solution:

Check with df -h command / should have more than 3 GB available space.
--------------------------------------------------------------------------------------------------------------------------------

No comments:

Post a Comment