Wednesday, February 3, 2016

adfgclone.pl in 12.2 failed while ohsT2PApply process


adcfgclone.pl failed while performing clone of EBS 12.2 instance. This occurred while ohsT2PApply is in progress.

Below are the errors found in logfiles.

/tmp/CLONINGCLIENT-1008723463327980977/clone_asinstance_start_process-1337948214.log
2015-12-02T3:10:04-06:00] [opmn] [ERROR:1] [] [internal] lxlinit - NLS boot file not found or invalid
opmnctl ping: error parsing /d12/tech_st/fs1/FMW_Home/webtier/instances/EBS_web_EBDV2_OHS1/config/OPMN/opmn/opmn.xml
[2015-12-02T3:10:04-06:00] [opmn] [ERROR:1] [105] [internal] XML parser init: character set initialization failed.
$INST_TOP/admin/log/clone/run/ohsT2PApply/CLONE2016-02-02_13-10-02_599255196.error:
 
2015-12-02T3:10:04-06:00] [opmn] [ERROR:1] [] [internal]...
2015-12-02T13:10:04-06:00] [opmn] [ERROR:1] [] [internal] lxlinit - NLS boot file not found or invalid
opmnctl ping: error parsing /d12/tech_st/fs1/FMW_Home/webtier/instances/EBS_web_EBDV2_OHS1/config/OPMN/opmn/opmn.xml
[2015-12-02T3:10:04-06:00] [opmn] [ERROR:1] [105] [internal] XML parser init: character set initialization failed.
SEVERE : Dec 2, 2016 03:10:04 - ERROR - CLONE-20218   Cloning is not successful.
SEVERE : Dec 2, 2016 03:10:04 - CAUSE - CLONE-20218   An internal operation failed.
SEVERE : Dec 2, 2016 03:10:04 - ACTION - CLONE-20218   Provide the clone log and error file for investigation.
oracle.as.clone.cloner.exception.ApplyCloneException:  Instance "Create & Start" step  failed.
        at oracle.as.clone.util.ASInstanceUtil.createStartAndregisterASInstance(ASInstanceUtil.java:333)
        at oracle.as.clone.util.ASInstanceUtil.createStartInstance(ASInstanceUtil.java:282)
        at oracle.as.clone.cloner.component.ComponentApplyCloner.createStartInstance(ComponentApplyCloner.java:272)
        at oracle.as.clone.cloner.component.ComponentApplyCloner.doClone(ComponentApplyCloner.java:134)
        at oracle.as.clone.cloner.Cloner.doFinalClone(Cloner.java:63)
        at oracle.as.clone.request.ApplyCloneRequest.applyArchive(ApplyCloneRequest.java:188)
        at oracle.as.clone.request.ApplyCloneRequest._clone(ApplyCloneRequest.java:69)
        at oracle.as.clone.process.CloningExecutionProcess.execute(CloningExecutionProcess.java:131)
        at oracle.as.clone.process.CloningExecutionProcess.execute(CloningExecutionProcess.java:114)
        at oracle.as.clone.client.CloningClient.executeT2PCommand(CloningClient.java:257)
        at oracle.as.clone.client.CloningClient.main(CloningClient.java:119)
Caused by: java.lang.Exception: Unable to start opmnserver of the instance /u01/app/EBSDEV2/tech_st/fs1/FMW_Home/webtier/instances/EBS_web_EBSDEV2_OHS1
        at oracle.as.clone.provisioning.implementations.ASInstanceProvImpl.startInstance(ASInstanceProvImpl.java:449)
        at oracle.as.clone.provisioning.implementations.ASInstanceProvImpl.createInstanceAndStart(ASInstanceProvImpl.java:198)
        at oracle.as.clone.util.ASInstanceUtil.createStartAndregisterASInstance(ASInstanceUtil.java:327)
        ... 10 more
SEVERE :  Instance "Create & Start" step  failed.


Solution:

 Unset the following environment
ORA_NLS10
TNS_ADMIN
ORACLE_HOME

Also, before running adcfgclone.pl make sure no EBS related environment is configured.

5 comments:

  1. Mar 07, 2016 10:25:09 AM oracle.as.config.impl.OracleASComponentBaseImpl start
    WARNING: Failed to start component EBS_web_PRE01
    oracle.as.config.ProvisionException: HTTP status code = 204 : 0 of 1 processes started.
    at oracle.as.config.impl.OracleASComponentBaseImpl.manageProcess(OracleASComponentBaseImpl.java:943)
    at oracle.as.config.impl.OracleASComponentBaseImpl.start(OracleASComponentBaseImpl.java:1062)
    at oracle.as.clone.ohs.provisioning.OHSComponentProvision.startComponent(OHSComponentProvision.java:85)
    at oracle.as.clone.ohs.provisioning.OHSComponentProvision.restartComponent(OHSComponentProvision.java:133)
    at oracle.as.clone.ohs.impl.OHSComponentApplyClonerImpl.doPostPasteConfig(OHSComponentApplyClonerImpl.java:204)
    at oracle.as.clone.cloner.component.ComponentApplyCloner.doClone(ComponentApplyCloner.java:174)
    at oracle.as.clone.cloner.Cloner.doFinalClone(Cloner.java:61)
    at oracle.as.clone.request.ApplyCloneRequest.applyArchive(ApplyCloneRequest.java:188)
    at oracle.as.clone.request.ApplyCloneRequest._clone(ApplyCloneRequest.java:69)
    at oracle.as.clone.process.CloningExecutionProcess.execute(CloningExecutionProcess.java:131)
    at oracle.as.clone.process.CloningExecutionProcess.execute(CloningExecutionProcess.java:114)
    at oracle.as.clone.client.CloningClient.executeT2PCommand(CloningClient.java:238)
    at oracle.as.clone.client.CloningClient.main(CloningClient.java:115)

    SEVERE : Mar 7, 2016 10:25:09 AM - ERROR - CLONE-20218 Cloning is not successful.
    SEVERE : Mar 7, 2016 10:25:09 AM - CAUSE - CLONE-20218 An internal operation failed.
    SEVERE : Mar 7, 2016 10:25:09 AM - ACTION - CLONE-20218 Provide the clone log and error file for investigation.
    oracle.as.t2p.exceptions.FMWT2PPasteConfigException: java.lang.Exception: Unable to start OHS Component.
    at oracle.as.clone.ohs.impl.OHSComponentApplyClonerImpl.doPostPasteConfig(OHSComponentApplyClonerImpl.java:217)
    at oracle.as.clone.cloner.component.ComponentApplyCloner.doClone(ComponentApplyCloner.java:174)
    at oracle.as.clone.cloner.Cloner.doFinalClone(Cloner.java:61)
    at oracle.as.clone.request.ApplyCloneRequest.applyArchive(ApplyCloneRequest.java:188)
    at oracle.as.clone.request.ApplyCloneRequest._clone(ApplyCloneRequest.java:69)
    at oracle.as.clone.process.CloningExecutionProcess.execute(CloningExecutionProcess.java:131)
    at oracle.as.clone.process.CloningExecutionProcess.execute(CloningExecutionProcess.java:114)
    at oracle.as.clone.client.CloningClient.executeT2PCommand(CloningClient.java:238)
    at oracle.as.clone.client.CloningClient.main(CloningClient.java:115)
    Caused by: java.lang.Exception: Unable to start OHS Component.
    at oracle.as.clone.ohs.impl.OHSComponentApplyClonerImpl.doPostPasteConfig(OHSComponentApplyClonerImpl.java:213)
    ... 8 more
    SEVERE : java.lang.Exception: Unable to start OHS Component.

    ReplyDelete
  2. Mar 07, 2016 10:25:09 AM oracle.as.config.impl.OracleASComponentBaseImpl start
    WARNING: Failed to start component EBS_web_PRE01
    oracle.as.config.ProvisionException: HTTP status code = 204 : 0 of 1 processes started.
    at oracle.as.config.impl.OracleASComponentBaseImpl.manageProcess(OracleASComponentBaseImpl.java:943)
    at oracle.as.config.impl.OracleASComponentBaseImpl.start(OracleASComponentBaseImpl.java:1062)
    at oracle.as.clone.ohs.provisioning.OHSComponentProvision.startComponent(OHSComponentProvision.java:85)
    at oracle.as.clone.ohs.provisioning.OHSComponentProvision.restartComponent(OHSComponentProvision.java:133)
    at oracle.as.clone.ohs.impl.OHSComponentApplyClonerImpl.doPostPasteConfig(OHSComponentApplyClonerImpl.java:204)
    at oracle.as.clone.cloner.component.ComponentApplyCloner.doClone(ComponentApplyCloner.java:174)
    at oracle.as.clone.cloner.Cloner.doFinalClone(Cloner.java:61)
    at oracle.as.clone.request.ApplyCloneRequest.applyArchive(ApplyCloneRequest.java:188)
    at oracle.as.clone.request.ApplyCloneRequest._clone(ApplyCloneRequest.java:69)
    at oracle.as.clone.process.CloningExecutionProcess.execute(CloningExecutionProcess.java:131)
    at oracle.as.clone.process.CloningExecutionProcess.execute(CloningExecutionProcess.java:114)
    at oracle.as.clone.client.CloningClient.executeT2PCommand(CloningClient.java:238)
    at oracle.as.clone.client.CloningClient.main(CloningClient.java:115)

    SEVERE : Mar 7, 2016 10:25:09 AM - ERROR - CLONE-20218 Cloning is not successful.
    SEVERE : Mar 7, 2016 10:25:09 AM - CAUSE - CLONE-20218 An internal operation failed.
    SEVERE : Mar 7, 2016 10:25:09 AM - ACTION - CLONE-20218 Provide the clone log and error file for investigation.
    oracle.as.t2p.exceptions.FMWT2PPasteConfigException: java.lang.Exception: Unable to start OHS Component.
    at oracle.as.clone.ohs.impl.OHSComponentApplyClonerImpl.doPostPasteConfig(OHSComponentApplyClonerImpl.java:217)
    at oracle.as.clone.cloner.component.ComponentApplyCloner.doClone(ComponentApplyCloner.java:174)
    at oracle.as.clone.cloner.Cloner.doFinalClone(Cloner.java:61)
    at oracle.as.clone.request.ApplyCloneRequest.applyArchive(ApplyCloneRequest.java:188)
    at oracle.as.clone.request.ApplyCloneRequest._clone(ApplyCloneRequest.java:69)
    at oracle.as.clone.process.CloningExecutionProcess.execute(CloningExecutionProcess.java:131)
    at oracle.as.clone.process.CloningExecutionProcess.execute(CloningExecutionProcess.java:114)
    at oracle.as.clone.client.CloningClient.executeT2PCommand(CloningClient.java:238)
    at oracle.as.clone.client.CloningClient.main(CloningClient.java:115)
    Caused by: java.lang.Exception: Unable to start OHS Component.
    at oracle.as.clone.ohs.impl.OHSComponentApplyClonerImpl.doPostPasteConfig(OHSComponentApplyClonerImpl.java:213)
    ... 8 more
    SEVERE : java.lang.Exception: Unable to start OHS Component.

    ReplyDelete
  3. Did you check whether NLS parameter is unset where you intiated adcfgclone.pl

    ReplyDelete
    Replies
    1. what do you mean by NLS parameter?

      Delete
    2. when I start OHS using adapcctl manually i get

      failed to get an IP for the hostname

      Delete

Your Comments on blog are strongly welcomed..