prepare phase errors

classic Classic list List threaded Threaded
8 messages Options
Sri
Reply | Threaded
Open this post in threaded view
|

prepare phase errors

Sri
Hi Erman,

can you please update your findings and suggestions on below errors with prepare phase

prepare phase failed with below error:

[applscp@applrook1 ohsT2PApply]$ cat CLONE2013-11-10_22-21-25_441608689.error
WARNING : Failed to start component EBS_web_ROOKDB
SEVERE : [PLUGIN][OHS] - ERROR - Nov 10, 2013 22:23:38 - CLONE-26009   OHS T2P failed.
SEVERE : [PLUGIN][OHS] - CAUSE - Nov 10, 2013 22:23:38 - CLONE-26009   Unable to start OS component.
SEVERE : [PLUGIN][OHS] - ACTION - Nov 10, 2013 22:23:38 - CLONE-26009   Check clone log and error file and ohs log file /u02/applapps/fs2/FMW_Home/webtier/instances/EBS_web_ROOKDB_OHS1/diagnostics/logs/OHS/EBS_web_ROOKDB/console~OHS~1.log for root cause.
SEVERE : Nov 10, 2013 22:23:38 - ERROR - CLONE-20218   Cloning is not successful.
SEVERE : Nov 10, 2013 22:23:38 - CAUSE - CLONE-20218   An internal operation failed.
SEVERE : Nov 10, 2013 22:23:38 - 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:269)
        at oracle.as.clone.cloner.component.ComponentApplyCloner.doClone(ComponentApplyCloner.java:193)
        at oracle.as.clone.cloner.Cloner.doFinalClone(Cloner.java:63)
        at oracle.as.clone.request.ApplyCloneRequest.applyArchive(ApplyCloneRequest.java:198)
        at oracle.as.clone.request.ApplyCloneRequest._clone(ApplyCloneRequest.java:77)
        at oracle.as.clone.process.CloningExecutionProcess.execute(CloningExecutionProcess.java:131)
        at oracle.as.clone.process.CloningExecutionProcess.execute(CloningExecut
        at oracle.as.clone.client.CloningClient.executeT2PCommand(CloningClient.
        at oracle.as.clone.client.CloningClient.main(CloningClient.java:124)
Caused by: java.lang.Exception: Unable to start OHS Component.
        at oracle.as.clone.ohs.impl.OHSComponentApplyClonerImpl.doPostPasteConfi
        ... 8 more




From log

/u02/applapps/fs2/FMW_Home/webtier/instances/EBS_web_ROOKDB_OHS1/diagnostics/logs/OHS/EBS_web_ROOKDB/console~OHS~1.log

--------
13/11/10 22:21:38 Start process
--------
/u02/applapps/fs2/FMW_Home/webtier/ohs/bin/apachectl startssl: execing httpd
ModSecurity: WARNING Using transformations in SecDefaultAction is deprecated (/u02/applapps/fs2/FMW_Home/webtier/instances/EBS_web_ROOKDB_OHS1/config/OHS/EBS_web_ROOKDB/security2.conf:62).
ModSecurity: WARNING Using transformations in SecDefaultAction is deprecated (/u02/applapps/fs2/FMW_Home/webtier/instances/EBS_web_ROOKDB_OHS1/config/OHS/EBS_web_ROOKDB/security2.conf:84).

--------
13/11/10 22:23:38 Stop process
--------
/u02/applapps/fs2/FMW_Home/webtier/ohs/bin/apachectl stop: httpd (no pid file) not running
[Sun Nov 10 22:24:08 2013] [warn] Errors will be logged into /u02/applapps/fs2/FMW_Home/webtier/instances/EBS_web_ROOKDB_OHS1/diagnostics/logs/OHS/EBS_web_ROOKDB/EBS_web_ROOKDB.log
ModSecurity: WARNING Using transformations in SecDefaultAction is deprecated (/u02/applapps/fs2/FMW_Home/webtier/instances/EBS_web_ROOKDB_OHS1/config/OHS/EBS_web_ROOKDB/security2.conf:62).
ModSecurity: WARNING Using transformations in SecDefaultAction is deprecated (/u02/applapps/fs2/FMW_Home/webtier/instances/EBS_web_ROOKDB_OHS1/config/OHS/EBS_web_ROOKDB/security2.conf:84).

--------
13/11/10 22:24:40 Stop process
--------
/u02/applapps/fs2/FMW_Home/webtier/ohs/bin/apachectl hardstop: httpd (no pid file) not running

--------
13/11/10 22:25:42 Stop process
--------
/u02/applapps/fs2/FMW_Home/webtier/ohs/bin/apachectl hardstop: httpd (no pid file) not running
[Sun Nov 10 22:26:39 2013] [warn] Errors will be logged into /u02/applapps/fs2/FMW_Home/webtier/instances/EBS_web_ROOKDB_OHS1/diagnostics/logs/OHS/EBS_web_ROOKDB/EBS_web_ROOKDB.log
Audit init

--------
13/11/10 22:26:43 Stop process
--------
/u02/applapps/fs2/FMW_Home/webtier/ohs/bin/apachectl hardstop: httpd stopped

Reply | Threaded
Open this post in threaded view
|

Re: prepare phase errors

ErmanArslansOracleBlog
Administrator
What is written in the following file?

/u02/applapps/fs2/FMW_Home/webtier/instances/EBS_web_ROOKDB_OHS1/diagnostics/logs/OHS/EBS_web_ROOKDB/console~OHS~1.log
Sri
Reply | Threaded
Open this post in threaded view
|

Re: prepare phase errors

Sri
Thank you

The same which i pasted above.
 

/u02/applapps/fs2/FMW_Home/webtier/instances/EBS_web_ROOKDB_OHS1/diagnostics/logs/OHS/EBS_web_ROOKDB/console~OHS~1.log

--------
13/11/10 22:21:38 Start process
--------
/u02/applapps/fs2/FMW_Home/webtier/ohs/bin/apachectl startssl: execing httpd
ModSecurity: WARNING Using transformations in SecDefaultAction is deprecated (/u02/applapps/fs2/FMW_Home/webtier/instances/EBS_web_ROOKDB_OHS1/config/OHS/EBS_web_ROOKDB/security2.conf:62).
ModSecurity: WARNING Using transformations in SecDefaultAction is deprecated (/u02/applapps/fs2/FMW_Home/webtier/instances/EBS_web_ROOKDB_OHS1/config/OHS/EBS_web_ROOKDB/security2.conf:84).

--------
13/11/10 22:23:38 Stop process
--------
/u02/applapps/fs2/FMW_Home/webtier/ohs/bin/apachectl stop: httpd (no pid file) not running
[Sun Nov 10 22:24:08 2013] [warn] Errors will be logged into /u02/applapps/fs2/FMW_Home/webtier/instances/EBS_web_ROOKDB_OHS1/diagnostics/logs/OHS/EBS_web_ROOKDB/EBS_web_ROOKDB.log
ModSecurity: WARNING Using transformations in SecDefaultAction is deprecated (/u02/applapps/fs2/FMW_Home/webtier/instances/EBS_web_ROOKDB_OHS1/config/OHS/EBS_web_ROOKDB/security2.conf:62).
ModSecurity: WARNING Using transformations in SecDefaultAction is deprecated (/u02/applapps/fs2/FMW_Home/webtier/instances/EBS_web_ROOKDB_OHS1/config/OHS/EBS_web_ROOKDB/security2.conf:84).

--------
13/11/10 22:24:40 Stop process
--------
/u02/applapps/fs2/FMW_Home/webtier/ohs/bin/apachectl hardstop: httpd (no pid file) not running

--------
13/11/10 22:25:42 Stop process
--------
/u02/applapps/fs2/FMW_Home/webtier/ohs/bin/apachectl hardstop: httpd (no pid file) not running
[Sun Nov 10 22:26:39 2013] [warn] Errors will be logged into /u02/applapps/fs2/FMW_Home/webtier/instances/EBS_web_ROOKDB_OHS1/diagnostics/logs/OHS/EBS_web_ROOKDB/EBS_web_ROOKDB.log
Audit init

--------
13/11/10 22:26:43 Stop process
--------
/u02/applapps/fs2/FMW_Home/webtier/ohs/bin/apachectl hardstop: httpd stopped
Reply | Threaded
Open this post in threaded view
|

Re: prepare phase errors

ErmanArslansOracleBlog
Administrator
Set CONFIG_JVM_ARGS in your shell
export CONFIG_JVM_ARGS="-Xms1024m -Xmx1024m"

Run the prepare phase in the same shell and update me with the outcome
Sri
Reply | Threaded
Open this post in threaded view
|

Re: prepare phase errors

Sri
This post was updated on .
Hi erman,

Thank you, after setting the parameter it completed successfully.
Can you plz let us know how this worked,beacause didnt see any memory errors in logs.
Reply | Threaded
Open this post in threaded view
|

Re: prepare phase errors

ErmanArslansOracleBlog
Administrator
I believe, sometimes during cloning, there may be some shortages in java heap.(java heap of the cloning processes)
When you set this env variable, you have sufficient heap space for all the cloning operations.. (java side of the cloning process)
Sri
Reply | Threaded
Open this post in threaded view
|

Re: prepare phase errors

Sri
thanks erman,

can we find the default heap that was used by cloning process?
Reply | Threaded
Open this post in threaded view
|

Re: prepare phase errors

ErmanArslansOracleBlog
Administrator
you can check with ps -ef while your cloning processes are running.
you can also go into the code and see.. (they can be in the wrappers that call java.. like perl scripts that call java)
But the place that this values are set, may differ.
For ex: for t2p activities, we have s_t2p_jvm_heap_parameters in context_file.
Anyways, go with config_jvm_args.. In your instance, as you see the default was "< 1024"