Monday, January 3, 2011

Start/Stop All application tier server processes

Stop all application tier server processes:
C:\oracle\PROD\inst\apps\PROD_p-hq-sv-or-01\admin\scripts>adstpall apps/apps
ECHO is off.
ECHO is off.
Tue 01/04/2011 09:32 AM
ECHO is off.
ECHO is off.
Connected.
The logfile for this session is located at C:\oracle\PROD\inst\apps\PROD_p-hq-sv-or-01\logs\appl\admin\log\adstpall.txt
Executing service control script:
C:\oracle\PROD\inst\apps\PROD_p-hq-sv-or-01\admin\scripts\jtffmctl.cmd stop
script returned:
****************************************************
****************************
You are running jtffmctl.cmd
****************************
Tue 01/04/2011
09:32 AM
"Shutting down Fulfillment Server for "PROD" on port "9300" ...\n"
jtffmctl.cmd exiting with status 2
ERRORCODE = 2  ERRORCODE_END
.end std out.
The Oracle Fulfillment Server PROD_p-hq-sv-or-01 service is not started.

More help is available by typing NET HELPMSG 3521.


.end err out.

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


Executing service control script:
C:\oracle\PROD\inst\apps\PROD_p-hq-sv-or-01\admin\scripts\adcmctl.cmd stop
script returned:
****************************************************
ECHO is off.
ECHO is off.
Tue 01/04/2011 09:32 AM
ECHO is off.
ECHO is off.
Tue 01/04/2011 09:32 AM
ECHO is off.
ECHO is off.
Setting environment for using Microsoft Visual Studio 2005 x86 tools.
APPSORA.cmd exiting with status 0
The service "OracleConcMgrPROD_p-hq-sv-or-01" hasn't been started
adcmctl.cmd exiting with status 0

.end std out.

.end err out.

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


Executing service control script:
C:\oracle\PROD\inst\apps\PROD_p-hq-sv-or-01\admin\scripts\adoafmctl.cmd stop
script returned:
****************************************************
Tue 01/04/2011 09:32 AM
Stopping Oracle Managed Process oafm
CALL C:\oracle\PROD\apps\tech_st\10.1.3\opmn\bin\opmnctl.exe stopproc process-type=oafm
opmnctl: stopping opmn managed processes...
 exiting with status 0
ERRORCODE = 0 ERRORCODE_END
.end std out.

.end err out.

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


Executing service control script:
C:\oracle\PROD\inst\apps\PROD_p-hq-sv-or-01\admin\scripts\adformsctl.cmd stop
script returned:
****************************************************
Tue 01/04/2011 09:32 AM
Stopping Oracle Managed Process forms
CALL C:\oracle\PROD\apps\tech_st\10.1.3\opmn\bin\opmnctl.exe stopproc process-type=forms
opmnctl: stopping opmn managed processes...
 exiting with status 0
ERRORCODE = 0 ERRORCODE_END
.end std out.

.end err out.

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


Executing service control script:
C:\oracle\PROD\inst\apps\PROD_p-hq-sv-or-01\admin\scripts\adoacorectl.cmd stop
script returned:
****************************************************
Tue 01/04/2011 09:33 AM
Stopping Oracle Managed Process oacore
CALL C:\oracle\PROD\apps\tech_st\10.1.3\opmn\bin\opmnctl.exe stopproc process-type=oacore
opmnctl: stopping opmn managed processes...
 exiting with status 0
ERRORCODE = 0 ERRORCODE_END
.end std out.

.end err out.

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


Executing service control script:
C:\oracle\PROD\inst\apps\PROD_p-hq-sv-or-01\admin\scripts\adapcctl.cmd stop
script returned:
****************************************************
Tue 01/04/2011 09:33 AM
Stopping Oracle Managed Process HTTP_Server
CALL C:\oracle\PROD\apps\tech_st\10.1.3\opmn\bin\opmnctl.exe stopproc process-type=HTTP_Server
opmnctl: stopping opmn managed processes...
 exiting with status 0
ERRORCODE = 0 ERRORCODE_END
.end std out.

.end err out.

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


Executing service control script:
C:\oracle\PROD\inst\apps\PROD_p-hq-sv-or-01\admin\scripts\adalnctl.cmd stop
script returned:
****************************************************
ECHO is off.
ECHO is off.
Tue 01/04/2011 09:33 AM
ECHO is off.
The environment settings are as follows ...
ECHO is off.
       ORACLE_HOME : C:\oracle\PROD\apps\tech_st\10.1.2
             LOCAL : PROD
        ORACLE_SID :
              PATH : C:\oracle\PROD\apps\tech_st\10.1.2\bin;C:\oracle\PROD\apps\tech_st\10.1.3\appsutil\jdk\bin;C:\oracl
e\PROD\apps\tech_st\10.1.3\appsutil\jdk\jre\bin;C:\oracle\PROD\apps\apps_st\appl\au\12.0.0\bin;C:\oracle\PROD\apps\apps_
st\appl\fnd\12.0.0\bin;C:\oracle\PROD\apps\apps_st\appl\ad\12.0.0\bin;C:\oracle\PROD\apps\tech_st\10.1.3\appsutil\jdk\jr
e\bin;C:\oracle\PROD\apps\tech_st\10.1.3\perl\5.8.3\bin\MSWin32-x86-multi-thread\;C:\oracle\PROD\apps\apps_st\comn\util\
unzip\unzip;C:\oracle\PROD\apps\tech_st\10.1.3\appsutil\jdk\bin;C:\oracle\PROD\apps\tech_st\10.1.2\bin;C:\oracle\PROD\ap
ps\tech_st\10.1.3\appsutil\jdk\bin;C:\oracle\PROD\apps\tech_st\10.1.3\appsutil\jdk\jre\bin;C:\oracle\PROD\apps\tech_st\1
0.1.3\bin;C:\oracle\PROD\apps\tech_st\10.1.3\appsutil\jdk\bin;C:\oracle\PROD\apps\tech_st\10.1.3\bin;C:\oracle\PROD\apps
\tech_st\10.1.3\appsutil\jdk\bin;C:\oracle\PROD\apps\tech_st\10.1.3\bin;C:\oracle\PROD\apps\tech_st\10.1.3\appsutil\jdk\
bin;C:\oracle\PROD\apps\tech_st\10.1.3\bin;C:\oracle\PROD\apps\tech_st\10.1.3\appsutil\jdk\bin;C:\MicrosoftVisualStudio8
\Common7\IDE;C:\MicrosoftVisualStudio8\VC\BIN;C:\MicrosoftVisualStudio8\Common7\Tools;C:\MicrosoftVisualStudio8\Common7\
Tools\bin;C:\MicrosoftVisualStudio8\VC\PlatformSDK\bin;C:\MicrosoftVisualStudio8\SDK\v2.0\bin;C:\WINDOWS\Microsoft.NET\F
ramework\v2.0.50727;C:\MicrosoftVisualStudio8\VC\VCPackages;C:\oracle\PROD\apps\apps_st\appl\au\12.0.0\bin;C:\oracle\PRO
D\apps\apps_st\appl\fnd\12.0.0\bin;C:\oracle\PROD\apps\apps_st\appl\ad\12.0.0\bin;C:\oracle\PROD\apps\tech_st\10.1.3\app
sutil\jdk\jre\bin;C:\oracle\PROD\apps\tech_st\10.1.3\perl\5.8.3\bin\MSWin32-x86-multi-thread\;C:\oracle\PROD\apps\apps_s
t\comn\util\unzip\unzip;C:\oracle\PROD\apps\tech_st\10.1.3\appsutil\jdk\bin;C:\oracle\PROD\apps\tech_st\10.1.2\bin;C:\or
acle\PROD\apps\tech_st\10.1.3\appsutil\jdk\bin;C:\oracle\PROD\apps\tech_st\10.1.3\appsutil\jdk\jre\bin;C:\cygwin\bin;C:\
WINDOWS;C:\WINDOWS\system32;C:\oracle\PROD\apps\tech_st\10.1.3\ant\bin;C:\oracle\PROD\apps\tech_st\10.1.3\ant\bin
   LD_LIBRARY_PATH : C:\oracle\PROD\apps\tech_st\10.1.2\lib
ECHO is off.
ECHO is off.
Shutting down listener process "APPS_PROD" ...
ECHO is off.

LSNRCTL for 32-bit Windows: Version 10.1.0.5.0 - Production on 04-JAN-2011 09:33:15

Copyright (c) 1991, 2004, Oracle.  All rights reserved.

Connecting to (ADDRESS=(PROTOCOL=TCP)(Host=p-hq-sv-or-01)(Port=1626))
The command completed successfully
adalnctl.cmd exiting with status 0

.end std out.

.end err out.

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


Executing service control script:
C:\oracle\PROD\inst\apps\PROD_p-hq-sv-or-01\admin\scripts\adopmnctl.cmd stop
script returned:
****************************************************
Tue 01/04/2011 09:33 AM
Stopping Oracle Process Manager (OPMN) and the managed processes
CALL C:\oracle\PROD\apps\tech_st\10.1.3\opmn\bin\opmnctl.exe stopall
opmnctl: stopping opmn and all managed processes...
 exiting with status 0
ERRORCODE = 0 ERRORCODE_END
.end std out.

.end err out.

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


All enabled services on this node are stopped.
Check logfile C:\oracle\PROD\inst\apps\PROD_p-hq-sv-or-01\logs\appl\admin\log\adstpall.txt for details
adstpall.cmd exiting with status 0
ERRORCODE = 0 ERRORCODE_END

Start all application tier server processes
C:\oracle\PROD\inst\apps\PROD_p-hq-sv-or-01\admin\scripts>adstrtal apps/apps
ECHO is off.
ECHO is off.
Tue 01/04/2011 09:37 AM
ECHO is off.
ECHO is off.
Connected.
The logfile for this session is located at C:\oracle\PROD\inst\apps\PROD_p-hq-sv-or-01\logs\appl\admin\log\adstrtal.txt
Executing service control script:
C:\oracle\PROD\inst\apps\PROD_p-hq-sv-or-01\admin\scripts\adopmnctl.cmd start
script returned:
****************************************************
Tue 01/04/2011 09:37 AM
Starting Oracle Process Manager (OPMN) ...
CALL C:\oracle\PROD\apps\tech_st\10.1.3\opmn\bin\opmnctl.exe start
opmnctl: opmn started
        STATE              : 4  RUNNING
 exiting with status 0
ERRORCODE = 0 ERRORCODE_END
.end std out.

.end err out.

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


Executing service control script:
C:\oracle\PROD\inst\apps\PROD_p-hq-sv-or-01\admin\scripts\adalnctl.cmd start
script returned:
****************************************************
ECHO is off.
ECHO is off.
Tue 01/04/2011 09:39 AM
ECHO is off.
The environment settings are as follows ...
ECHO is off.
       ORACLE_HOME : C:\oracle\PROD\apps\tech_st\10.1.2
             LOCAL : PROD
        ORACLE_SID :
              PATH : C:\oracle\PROD\apps\tech_st\10.1.2\bin;C:\oracle\PROD\apps\tech_st\10.1.3\appsutil\jdk\bin;C:\oracl
e\PROD\apps\tech_st\10.1.3\appsutil\jdk\jre\bin;C:\oracle\PROD\apps\apps_st\appl\au\12.0.0\bin;C:\oracle\PROD\apps\apps_
st\appl\fnd\12.0.0\bin;C:\oracle\PROD\apps\apps_st\appl\ad\12.0.0\bin;C:\oracle\PROD\apps\tech_st\10.1.3\appsutil\jdk\jr
e\bin;C:\oracle\PROD\apps\tech_st\10.1.3\perl\5.8.3\bin\MSWin32-x86-multi-thread\;C:\oracle\PROD\apps\apps_st\comn\util\
unzip\unzip;C:\oracle\PROD\apps\tech_st\10.1.3\appsutil\jdk\bin;C:\oracle\PROD\apps\tech_st\10.1.2\bin;C:\oracle\PROD\ap
ps\tech_st\10.1.3\appsutil\jdk\bin;C:\oracle\PROD\apps\tech_st\10.1.3\appsutil\jdk\jre\bin;C:\oracle\PROD\apps\tech_st\1
0.1.3\bin;C:\oracle\PROD\apps\tech_st\10.1.3\appsutil\jdk\bin;C:\oracle\PROD\apps\tech_st\10.1.3\bin;C:\oracle\PROD\apps
\tech_st\10.1.3\appsutil\jdk\bin;C:\oracle\PROD\apps\tech_st\10.1.3\bin;C:\oracle\PROD\apps\tech_st\10.1.3\appsutil\jdk\
bin;C:\oracle\PROD\apps\tech_st\10.1.3\bin;C:\oracle\PROD\apps\tech_st\10.1.3\appsutil\jdk\bin;C:\MicrosoftVisualStudio8
\Common7\IDE;C:\MicrosoftVisualStudio8\VC\BIN;C:\MicrosoftVisualStudio8\Common7\Tools;C:\MicrosoftVisualStudio8\Common7\
Tools\bin;C:\MicrosoftVisualStudio8\VC\PlatformSDK\bin;C:\MicrosoftVisualStudio8\SDK\v2.0\bin;C:\WINDOWS\Microsoft.NET\F
ramework\v2.0.50727;C:\MicrosoftVisualStudio8\VC\VCPackages;C:\oracle\PROD\apps\apps_st\appl\au\12.0.0\bin;C:\oracle\PRO
D\apps\apps_st\appl\fnd\12.0.0\bin;C:\oracle\PROD\apps\apps_st\appl\ad\12.0.0\bin;C:\oracle\PROD\apps\tech_st\10.1.3\app
sutil\jdk\jre\bin;C:\oracle\PROD\apps\tech_st\10.1.3\perl\5.8.3\bin\MSWin32-x86-multi-thread\;C:\oracle\PROD\apps\apps_s
t\comn\util\unzip\unzip;C:\oracle\PROD\apps\tech_st\10.1.3\appsutil\jdk\bin;C:\oracle\PROD\apps\tech_st\10.1.2\bin;C:\or
acle\PROD\apps\tech_st\10.1.3\appsutil\jdk\bin;C:\oracle\PROD\apps\tech_st\10.1.3\appsutil\jdk\jre\bin;C:\cygwin\bin;C:\
WINDOWS;C:\WINDOWS\system32;C:\oracle\PROD\apps\tech_st\10.1.3\ant\bin;C:\oracle\PROD\apps\tech_st\10.1.3\ant\bin
   LD_LIBRARY_PATH : C:\oracle\PROD\apps\tech_st\10.1.2\lib
ECHO is off.
ECHO is off.
Starting listener process "APPS_PROD" ...
ECHO is off.

LSNRCTL for 32-bit Windows: Version 10.1.0.5.0 - Production on 04-JAN-2011 09:39:15

Copyright (c) 1991, 2004, Oracle.  All rights reserved.

Connecting to (ADDRESS=(PROTOCOL=TCP)(Host=p-hq-sv-or-01)(Port=1626))
TNS-12541: TNS:no listener
 TNS-12560: TNS:protocol adapter error
  TNS-00511: No listener
   32-bit Windows Error: 61: Unknown error

LSNRCTL for 32-bit Windows: Version 10.1.0.5.0 - Production on 04-JAN-2011 09:39:16

Copyright (c) 1991, 2004, Oracle.  All rights reserved.

Starting tnslsnr: please wait...

TNSLSNR for 32-bit Windows: Version 10.1.0.5.0 - Production
System parameter file is C:\oracle\PROD\inst\apps\PROD_p-hq-sv-or-01\ora\10.1.2\network\admin\listener.ora
Log messages written to C:\oracle\PROD\inst\apps\PROD_p-hq-sv-or-01\logs\ora\10.1.2\network\apps_prod.log
Listening on: (DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=p-hq-sv-or-01.mohe.gov.sa)(PORT=1626)))

Connecting to (ADDRESS=(PROTOCOL=TCP)(Host=p-hq-sv-or-01)(Port=1626))
STATUS of the LISTENER
------------------------
Alias                     APPS_PROD
Version                   TNSLSNR for 32-bit Windows: Version 10.1.0.5.0 - Production
Start Date                04-JAN-2011 09:39:19
Uptime                    0 days 0 hr. 0 min. 2 sec
Trace Level               off
Security                  ON: Local OS Authentication
SNMP                      OFF
Listener Parameter File   C:\oracle\PROD\inst\apps\PROD_p-hq-sv-or-01\ora\10.1.2\network\admin\listener.ora
Listener Log File         C:\oracle\PROD\inst\apps\PROD_p-hq-sv-or-01\logs\ora\10.1.2\network\apps_prod.log
Listening Endpoints Summary...
  (DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=p-hq-sv-or-01.mohe.gov.sa)(PORT=1626)))
Services Summary...
Service "FNDFS" has 1 instance(s).
  Instance "FNDFS", status UNKNOWN, has 1 handler(s) for this service...
Service "FNDSM" has 1 instance(s).
  Instance "FNDSM", status UNKNOWN, has 1 handler(s) for this service...
The command completed successfully
adalnctl.cmd exiting with status 0

.end std out.

.end err out.

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


Executing service control script:
C:\oracle\PROD\inst\apps\PROD_p-hq-sv-or-01\admin\scripts\adapcctl.cmd start
script returned:
****************************************************
Tue 01/04/2011 09:39 AM
Oracle Managed Process HTTP_Server is already running
 exiting with status 2
ERRORCODE = 2 ERRORCODE_END
.end std out.

.end err out.

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


Executing service control script:
C:\oracle\PROD\inst\apps\PROD_p-hq-sv-or-01\admin\scripts\adoacorectl.cmd start
script returned:
****************************************************
Tue 01/04/2011 09:39 AM
Oracle Managed Process oacore is already running
 exiting with status 2
ERRORCODE = 2 ERRORCODE_END
.end std out.

.end err out.

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


Executing service control script:
C:\oracle\PROD\inst\apps\PROD_p-hq-sv-or-01\admin\scripts\adformsctl.cmd start
script returned:
****************************************************
Tue 01/04/2011 09:39 AM
Oracle Managed Process forms is already running
 exiting with status 2
ERRORCODE = 2 ERRORCODE_END
.end std out.

.end err out.

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


Executing service control script:
C:\oracle\PROD\inst\apps\PROD_p-hq-sv-or-01\admin\scripts\adoafmctl.cmd start
script returned:
****************************************************
Tue 01/04/2011 09:39 AM
Oracle Managed Process oafm is already running
 exiting with status 2
ERRORCODE = 2 ERRORCODE_END
.end std out.

.end err out.

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


Executing service control script:
C:\oracle\PROD\inst\apps\PROD_p-hq-sv-or-01\admin\scripts\adcmctl.cmd start
script returned:
****************************************************
ECHO is off.
ECHO is off.
Tue 01/04/2011 09:39 AM
ECHO is off.
ECHO is off.
Tue 01/04/2011 09:39 AM
ECHO is off.
ECHO is off.
Setting environment for using Microsoft Visual Studio 2005 x86 tools.
APPSORA.cmd exiting with status 0
Starting concurrent manager for PROD ...
The OracleConcMgrPROD_p-hq-sv-or-01 service is starting...
The OracleConcMgrPROD_p-hq-sv-or-01 service was started successfully.

adcmctl.cmd exiting with status 0

.end std out.

.end err out.

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


Executing service control script:
C:\oracle\PROD\inst\apps\PROD_p-hq-sv-or-01\admin\scripts\jtffmctl.cmd start
script returned:
****************************************************
****************************
You are running jtffmctl.cmd
****************************
Tue 01/04/2011
09:39 AM
"Starting Fulfillment Server for "PROD" on port "9300" ...\n"
The Oracle Fulfillment Server PROD_p-hq-sv-or-01 service is starting.
The Oracle Fulfillment Server PROD_p-hq-sv-or-01 service was started successfully.

jtffmctl.cmd exiting with status 0
ERRORCODE = 0  ERRORCODE_END
.end std out.

.end err out.

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


All enabled services for this node are started.
Check logfile C:\oracle\PROD\inst\apps\PROD_p-hq-sv-or-01\logs\appl\admin\log\adstrtal.txt for details
adstrtal.cmd exiting with status 0
ERRORCODE = 0 ERRORCODE_END

You can use the windows control panel also to stat/stop appropriate services.

No comments:

Post a Comment