Adstpall.sh is exiting with status 3

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

Adstpall.sh is exiting with status 3

Mohammed Hamed
Hello Erman,

adstpall.sh is exiting with status 3 and taking long time to run to bring down the services . But after this when i again stop the services it is stopping fast as few of the services are already down from the previous run.

This i am facing after enabling the tls and i did try to change the values of xmx and xms values that also didn't work

[appldv4@ndevapp scripts]$ cat $CONTEXT_FILE | grep forms_jvm_stop_options
         <forms_jvm_stop_options oa_var="s_forms_jvm_stop_options">-server -verbose:gc -Xmx512M -Xms128M -XX:MaxPermSize=128M -XX:NewRatio=2 -XX:+PrintGCTimeStamps -XX:+UseTLAB -XX:+UseParallelGC -XX:ParallelGCThreads=2 -Djava.security.policy=$ORACLE_HOME/j2ee/oacore/config/java2.policy -Djava.awt.headless=true -Dhttp.webdir.enable=false</forms_jvm_stop_options>
[appldv4@ndevapp scripts]$ cat $CONTEXT_FILE | grep oacore_jvm_stop_options
         <oacore_jvm_stop_options oa_var="s_oacore_jvm_stop_options" customized="yes">-server -verbose:gc -Xmx512M -Xms128M -XX:MaxPermSize=160M -XX:NewRatio=2  -XX:+PrintGCTimeStamps -XX:+UseTLAB -XX:+UseParallelGC  -XX:ParallelGCThreads=2  -Djava.security.policy=$ORACLE_HOME/j2ee/oacore/config/java2.policy -Djava.awt.headless=true -Dhttp.webdir.enable=false</oacore_jvm_stop_options>



Log-

****************************************************


Executing service control script:
/u_dv4/inst/apps/DV4_ndevapp/admin/scripts/adoafmctl.sh stop
script returned:
****************************************************
ERROR : Timed out( 100000 ): Interrupted Exception

You are running adoafmctl.sh version 120.8

Stopping OPMN managed OAFM OC4J instance ...

****************************************************


Executing service control script:
/u_dv4/inst/apps/DV4_ndevapp/admin/scripts/adformsctl.sh stop
script returned:
****************************************************
ERROR : Timed out( 100000 ): Interrupted Exception

You are running adformsctl.sh  version 120.16.12010000.3

Stopping OPMN managed FORMS OC4J instance  ...

****************************************************


Executing service control script:
/u_dv4/inst/apps/DV4_ndevapp/admin/scripts/adoacorectl.sh stop
script returned:
****************************************************
ERROR : Timed out( 100000 ): Interrupted Exception

You are running adoacorectl.sh version 120.13

Stopping OPMN managed OACORE OC4J instance ...

****************************************************


Executing service control script:
/u_dv4/inst/apps/DV4_ndevapp/admin/scripts/adapcctl.sh stop
script returned:
****************************************************

You are running adapcctl.sh version 120.7.12010000.2

Stopping OPMN managed Oracle HTTP Server (OHS) instance ...
opmnctl: stopping opmn managed processes...

adapcctl.sh: exiting with status 0

adapcctl.sh: check the logfile /u_dv4/inst/apps/DV4_ndevapp/logs/appl/admin/log/adapcctl.txt for more information ...


.end std out.

.end err out.

****************************************************


Executing service control script:
/u_dv4/inst/apps/DV4_ndevapp/admin/scripts/adalnctl.sh stop
script returned:
****************************************************

adalnctl.sh version 120.3

Shutting down listener process APPS_DV4.

adalnctl.sh: exiting with status 0


adalnctl.sh: check the logfile /u_dv4/inst/apps/DV4_ndevapp/logs/appl/admin/log/adalnctl.txt for more information ...


.end std out.

.end err out.

****************************************************


Executing service control script:
/u_dv4/inst/apps/DV4_ndevapp/admin/scripts/adopmnctl.sh stop
script returned:
****************************************************

You are running adopmnctl.sh version 120.6.12010000.5

Stopping Oracle Process Manager (OPMN)  and the managed processes ...
opmnctl: stopping opmn and all managed processes...

adopmnctl.sh: exiting with status 0

adopmnctl.sh: check the logfile /u_dv4/inst/apps/DV4_ndevapp/logs/appl/admin/log/adopmnctl.txt for more information ...


.end std out.

.end err out.

****************************************************



adstpall.sh:Exiting with status 3

adstpall.sh: check the logfile /u_dv4/inst/apps/DV4_ndevapp/logs/appl/admin/log/adstpall.log for more information ...
Reply | Threaded
Open this post in threaded view
|

Re: Adstpall.sh is exiting with status 3

ErmanArslansOracleBlog
Administrator
You are reaching the timout of the scripts that shutdown some services ( like oacore etc..)

This is 12.1.3 right?

If so, apply patch 12965674 to 10.1.3 ORACLE_HOME, restart the services and retry.

There may be other issues as those timeouts are generic, but the patch above should be tried..

Ref:Timed Out Error In Shutting Down EBS Services (Doc ID 2638752.1)
Reply | Threaded
Open this post in threaded view
|

Re: Adstpall.sh is exiting with status 3

Mohammed Hamed
The mentioned patch is already available.

can you help me out with some other solution.



Reply | Threaded
Open this post in threaded view
|

Re: Adstpall.sh is exiting with status 3

ErmanArslansOracleBlog
Administrator
So you have the patch already applied..

Actually these are just timeouts..  Basically, the time given for shutting down the services is not enough.
So it is not a big problem.. Especially**-> if you see the services are shut down after a while(actually after getting the errors, the services will continue to shutdown in the backend)), then this is not a problem at all..

Log file of a problematic services may be analyzed and only then I might give you some more solution offers.. Maybe the SSL part is failing and that's why the shutdown can not be completed.. So send me all the logs of oacore.. ( analyzing one service is enough, as the issue seems spread.)

Or maybe you have a high load and that's why the services can't shutdown in the given time.. But again, if the services shutdown after a while, then this mean that given timeout is not enough in your env.

You can always increase those timeouts, as seen  in the following MOS note :

Release 12 : ADSTRTAL.sh returns error : TIMED OUT( 100000 ): INTERRUPTED EXCEPTION (Doc ID 564536.1) - <stop timeout="xxxx"/>