R12.2应用启动关闭脚本

简介: 启动: [apptest@vs022~]$ startApp.sh You arerunning adstrtal.sh version 120.24.12020000.

启动:

[apptest@vs022~]$ startApp.sh

You arerunning adstrtal.sh version 120.24.12020000.6

 Enterthe WebLogic Server password:

Thelogfile for this session is located at/u01/test/apps/fs1/inst/apps/VIS_vs022/logs/appl/admin/log/adstrtal.log

 Executingservice control script:

/u01/test/apps/fs1/inst/apps/VIS_vs022/admin/scripts/jtffmctl.shstart

Timeoutspecified in context file: 100 second(s)

 

scriptreturned:

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

 

You arerunning jtffmctl.sh version 120.3.12020000.4

 

ValidatingFulfillment patch level via /u01/test/apps/fs1/EBSapps/comn/java/classes

Fulfillmentpatch level validated.

StartingFulfillment Server for VIS on port 9300 ...

 

jtffmctl.sh:exiting with status 0

 

 

.end stdout.

 

.end errout.

 

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

 

 

 

Executing service control script:

/u01/test/apps/fs1/inst/apps/VIS_vs022/admin/scripts/adopmnctl.shstart

Timeoutspecified in context file: 100 second(s)

 

scriptreturned:

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

 

You arerunning adopmnctl.sh version 120.0.12020000.2

 

StartingOracle Process Manager (OPMN) ...

 

adopmnctl.sh:exiting with status 0

 

adopmnctl.sh:check the logfile/u01/test/apps/fs1/inst/apps/VIS_vs022/logs/appl/admin/log/adopmnctl.txt formore information ... 

 

 

.end stdout.

 

.end errout.

 

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

 

 

 

Executing service control script:

/u01/test/apps/fs1/inst/apps/VIS_vs022/admin/scripts/adapcctl.shstart

Timeoutspecified in context file: 100 second(s)

 

scriptreturned:

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

 

You arerunning adapcctl.sh version 120.0.12020000.2

 

StartingOPMN managed Oracle HTTP Server (OHS) instance ...

opmnctlstart: opmn is already running.

opmnctlstartproc: starting opmn managed processes...

 

adapcctl.sh:exiting with status 0

 

adapcctl.sh:check the logfile/u01/test/apps/fs1/inst/apps/VIS_vs022/logs/appl/admin/log/adapcctl.txt formore information ... 

 

 

.end stdout.

 

.end errout.

 

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

 

 

 

Executingservice control script:

/u01/test/apps/fs1/inst/apps/VIS_vs022/admin/scripts/adnodemgrctl.shstart -nopromptmsg

Timeoutspecified in context file: 100 second(s)

 

scriptreturned:

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

 

You arerunning adnodemgrctl.sh version 120.11.12020000.4

 

 

CallingtxkChkEBSDependecies.pl to perform dependency checks for oacore

Perlscript txkChkEBSDependecies.pl got executed successfully

 

 

Startingthe Node Manager...

NMProcess:<Nov 21, 2013 3:58:16 PM> <INFO> <Loading domains file:/u01/test/apps/fs1/FMW_Home/wlserver_10.3/common/nodemanager/nmHome1/nodemanager.domains>

NMProcess:Nov 21, 2013 3:58:16 PM weblogic.nodemanager.server.NMServerConfiginitDomainsMap

NMProcess:INFO: Loading domains file: /u01/test/apps/fs1/FMW_Home/wlserver_10.3/common/nodemanager/nmHome1/nodemanager.domains

NMProcess:<Nov 21, 2013 3:58:16 PM> <INFO> <Loaded node managerconfiguration properties from'/u01/test/apps/fs1/FMW_Home/wlserver_10.3/common/nodemanager/nmHome1/nodemanager.properties'>

NMProcess:Nov 21, 2013 3:58:16 PM weblogic.nodemanager.server.NMServer <init>

NMProcess:INFO: Loaded node manager configuration properties from'/u01/test/apps/fs1/FMW_Home/wlserver_10.3/common/nodemanager/nmHome1/nodemanager.properties'

NMProcess:Node manager v10.3

NMProcess:

NMProcess:Configuration settings:

NMProcess:

NMProcess:NodeManagerHome=/u01/test/apps/fs1/FMW_Home/wlserver_10.3/common/nodemanager/nmHome1

NMProcess:ListenAddress=vs022.hand-china.com

NMProcess:ListenPort=5556

NMProcess:ListenBacklog=50

NMProcess:SecureListener=false

NMProcess:AuthenticationEnabled=true

NMProcess:NativeVersionEnabled=true

NMProcess:CrashRecoveryEnabled=false

NMProcess:JavaHome=/u01/test/apps/fs1/FMW_Home/jrockit64

NMProcess:StartScriptEnabled=false

NMProcess:StopScriptEnabled=false

NMProcess:StartScriptName=startWebLogic.sh

NMProcess:StopScriptName=

NMProcess:LogFile=/u01/test/apps/fs1/FMW_Home/wlserver_10.3/common/nodemanager/nmHome1/nodemanager.log

NMProcess:LogLevel=INFO

NMProcess:LogLimit=0

NMProcess:LogCount=1

NMProcess:LogAppend=true

NMProcess:LogToStderr=true

NMProcess:LogFormatter=weblogic.nodemanager.server.LogFormatter

NMProcess:DomainsFile=/u01/test/apps/fs1/FMW_Home/wlserver_10.3/common/nodemanager/nmHome1/nodemanager.domains

NMProcess:DomainsFileEnabled=true

NMProcess:StateCheckInterval=500

NMProcess:QuitEnabled=true

NMProcess:UseMACBroadcast=false

NMProcess:DomainRegistrationEnabled=true

NMProcess:DomainsDirRemoteSharingEnabled=false

NMProcess:

NMProcess:Domain name mappings:

NMProcess:

NMProcess:EBS_domain_VIS ->/u01/test/apps/fs1/FMW_Home/user_projects/domains/EBS_domain_VIS

NMProcess:

NMProcess:<Nov 21, 2013 3:58:18 PM> <INFO> <EBS_domain_VIS><forms_server1> <Startup configuration properties loaded from"/u01/test/apps/fs1/FMW_Home/user_projects/domains/EBS_domain_VIS/servers/forms_server1/data/nodemanager/startup.properties">

NMProcess:Nov 21, 2013 3:58:18 PM weblogic.nodemanager.server.AbstractServerManager log

NMProcess:INFO: Startup configuration properties loaded from"/u01/test/apps/fs1/FMW_Home/user_projects/domains/EBS_domain_VIS/servers/forms_server1/data/nodemanager/startup.properties"

NMProcess:<Nov 21, 2013 3:58:19 PM> <INFO> <EBS_domain_VIS><forms-c4ws_server1> <Startup configuration properties loaded from"/u01/test/apps/fs1/FMW_Home/user_projects/domains/EBS_domain_VIS/servers/forms-c4ws_server1/data/nodemanager/startup.properties">

NMProcess:Nov 21, 2013 3:58:19 PM weblogic.nodemanager.server.AbstractServerManager log

NMProcess:INFO: Startup configuration properties loaded from"/u01/test/apps/fs1/FMW_Home/user_projects/domains/EBS_domain_VIS/servers/forms-c4ws_server1/data/nodemanager/startup.properties"

NMProcess:<Nov 21, 2013 3:58:19 PM> <INFO> <EBS_domain_VIS><oacore_server1> <Startup configuration properties loaded from"/u01/test/apps/fs1/FMW_Home/user_projects/domains/EBS_domain_VIS/servers/oacore_server1/data/nodemanager/startup.properties">

NMProcess:Nov 21, 2013 3:58:19 PM weblogic.nodemanager.server.AbstractServerManager log

NMProcess:INFO: Startup configuration properties loaded from"/u01/test/apps/fs1/FMW_Home/user_projects/domains/EBS_domain_VIS/servers/oacore_server1/data/nodemanager/startup.properties"

NMProcess:<Nov 21, 2013 3:58:19 PM> <INFO> <EBS_domain_VIS><AdminServer> <Startup configuration properties loaded from"/u01/test/apps/fs1/FMW_Home/user_projects/domains/EBS_domain_VIS/servers/AdminServer/data/nodemanager/startup.properties">

NMProcess:Nov 21, 2013 3:58:19 PM weblogic.nodemanager.server.AbstractServerManager log

NMProcess:INFO: Startup configuration properties loaded from"/u01/test/apps/fs1/FMW_Home/user_projects/domains/EBS_domain_VIS/servers/AdminServer/data/nodemanager/startup.properties"

NMProcess:<Nov 21, 2013 3:58:20 PM> <INFO> <EBS_domain_VIS> <oafm_server1><Startup configuration properties loaded from"/u01/test/apps/fs1/FMW_Home/user_projects/domains/EBS_domain_VIS/servers/oafm_server1/data/nodemanager/startup.properties">

NMProcess:Nov 21, 2013 3:58:20 PM weblogic.nodemanager.server.AbstractServerManager log

NMProcess:INFO: Startup configuration properties loaded from"/u01/test/apps/fs1/FMW_Home/user_projects/domains/EBS_domain_VIS/servers/oafm_server1/data/nodemanager/startup.properties"

NMProcess:<Nov 21, 2013 3:58:20 PM> <INFO> <Plain socket listener startedon port 5556, host vs022.hand-china.com>

NMProcess:Nov 21, 2013 3:58:20 PM weblogic.nodemanager.server.Listener run

NMProcess:INFO: Plain socket listener started on port 5556, host vs022.hand-china.com

Refer/u01/test/apps/fs1/inst/apps/VIS_vs022/logs/appl/admin/log/adnodemgrctl.txt fordetails

 

adnodemgrctl.sh:exiting with status 0

 

adnodemgrctl.sh:check the logfile/u01/test/apps/fs1/inst/apps/VIS_vs022/logs/appl/admin/log/adnodemgrctl.txt formore information ... 

 

 

.end stdout.

*** ALLTHE FOLLOWING FILES ARE REQUIRED FOR RESOLVING RUNTIME ERRORS

*** LogFile =/u01/test/apps/fs1/inst/apps/VIS_vs022/logs/appl/rgf/TXK/txkChkEBSDependecies_Thu_Nov_21_15_57_53_2013/txkChkEBSDependecies_Thu_Nov_21_15_57_53_2013.log

 

.end errout.

 

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

 

 

 

Executing service control script:

/u01/test/apps/fs1/inst/apps/VIS_vs022/admin/scripts/adalnctl.shstart

Timeoutspecified in context file: 100 second(s)

 

scriptreturned:

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

 

adalnctl.shversion 120.3.12020000.2

 

Checkingfor FNDFS executable.

Startinglistener process APPS_VIS.

 

adalnctl.sh:exiting with status 0

 

 

adalnctl.sh:check the logfile/u01/test/apps/fs1/inst/apps/VIS_vs022/logs/appl/admin/log/adalnctl.txt formore information ... 

 

 

.end stdout.

 

.end errout.

 

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

 

 

 

Executingservice control script:

/u01/test/apps/fs1/inst/apps/VIS_vs022/admin/scripts/adcmctl.shstart

Timeout specified in context file: 1000 second(s)

 

scriptreturned:

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

 

You arerunning adcmctl.sh version 120.19.12020000.3

 

Startingconcurrent manager for VIS ...

StartingVIS_1121@VIS Internal Concurrent Manager

Defaultprinter is noprint

 

adcmctl.sh:exiting with status 0

 

 

adcmctl.sh:check the logfile/u01/test/apps/fs1/inst/apps/VIS_vs022/logs/appl/admin/log/adcmctl.txt for moreinformation ... 

 

 

.end stdout.

 

.end errout.

 

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

 

Executing service control script:
/u01/test/apps/fs2/inst/apps/VIS_vs022/admin/scripts/adadminsrvctl.sh start -nopromptmsg 
Timeout specified in context file: 1000 second(s) 


script returned:
****************************************************


You are running adadminsrvctl.sh version 120.10.12020000.2


Starting WLS Admin Server...
Refer /u01/test/apps/fs2/inst/apps/VIS_vs022/logs/appl/admin/log/adadminsrvctl.txt for details


adadminsrvctl.sh: exiting with status 0


adadminsrvctl.sh: check the logfile /u01/test/apps/fs2/inst/apps/VIS_vs022/logs/appl/admin/log/adadminsrvctl.txt for more information ...  




.end std out.


.end err out.


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






Executing service control script:
/u01/test/apps/fs2/inst/apps/VIS_vs022/admin/scripts/admanagedsrvctl.sh start forms-c4ws_server1 -nopromptmsg
Timeout specified in context file: -1 second(s) 


script returned:
****************************************************


You are running admanagedsrvctl.sh version 120.14.12020000.4


Starting forms-c4ws_server1...


admanagedsrvctl.sh: exiting with status 0


admanagedsrvctl.sh: check the logfile /u01/test/apps/fs2/inst/apps/VIS_vs022/logs/appl/admin/log/adforms-c4wsctl.txt for more information ...  




.end std out.


.end err out.


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






Executing service control script:
/u01/test/apps/fs2/inst/apps/VIS_vs022/admin/scripts/admanagedsrvctl.sh start forms_server1 -nopromptmsg
Timeout specified in context file: -1 second(s) 


script returned:
****************************************************


You are running admanagedsrvctl.sh version 120.14.12020000.4


Starting forms_server1...


admanagedsrvctl.sh: exiting with status 0


admanagedsrvctl.sh: check the logfile /u01/test/apps/fs2/inst/apps/VIS_vs022/logs/appl/admin/log/adformsctl.txt for more information ...  




.end std out.


.end err out.


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






Executing service control script:
/u01/test/apps/fs2/inst/apps/VIS_vs022/admin/scripts/admanagedsrvctl.sh start oafm_server1 -nopromptmsg
Timeout specified in context file: -1 second(s) 


script returned:
****************************************************


You are running admanagedsrvctl.sh version 120.14.12020000.4


Starting oafm_server1...


admanagedsrvctl.sh: exiting with status 0


admanagedsrvctl.sh: check the logfile /u01/test/apps/fs2/inst/apps/VIS_vs022/logs/appl/admin/log/adoafmctl.txt for more information ...  




.end std out.


.end err out.


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






Executing service control script:
/u01/test/apps/fs2/inst/apps/VIS_vs022/admin/scripts/admanagedsrvctl.sh start oacore_server1 -nopromptmsg
Timeout specified in context file: -1 second(s) 


script returned:
****************************************************


You are running admanagedsrvctl.sh version 120.14.12020000.4


Starting oacore_server1...


admanagedsrvctl.sh: exiting with status 0


admanagedsrvctl.sh: check the logfile /u01/test/apps/fs2/inst/apps/VIS_vs022/logs/appl/admin/log/adoacorectl.txt for more information ...  




.end std out.


.end err out.


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






All enabled services for this node are started.


adstrtal.sh: Exiting with status 0


adstrtal.sh: check the logfile /u01/test/apps/fs2/inst/apps/VIS_vs022/logs/appl/admin/log/adstrtal.log for more information ...  


You have new mail in /var/spool/mail/apptest
[apptest@vs022 scripts]$ 



R12.2. Start and Stop Procedure   Leave a comment

Individual Components:  Application(Middle Tier)

$INST_TOP/admin/scripts

when we want to stop all the services using adstpal.sh we use adstpal.sh apps/apps<pwd> but in R12.2 it will ask Weblogic Server Password

We need to provide Weblogic admin password

Component Command
Node Manager $adnodemgrctl.sh start

Enter Weblogic Admin Password:

Weblogic Admin Server $adadminsrvctl.sh start

Enter Weblogic Admin Password:

Application Listener $adadlctl start
Oracle Process Manager $adopmnctl.sh start
Apache Services $adapchctl.sh start
Managed Server for OACORE Services $admanagedsrvctl.sh start oacore_server1

Enter Weblogic Admin Password:

Managed Server for FormsServices $admanagedsrvctl.sh start forms_server1

Enter Weblogic Admin Password:

Managed Server for Fusion MiddleWare  Services $admanagedsrvctl.sh start oafm_server1

Enter Weblogic Admin Password:

Managed Server for Forms web  Services $admanagedsrvctl.sh start forms-c4ws_server1

Enter Weblogic Admin Password:

Concurrent Manager Service $adcmctl.sh start apps/apps
Fullfillment Serer Services $jtffmctl.sh start

Stop

When we want to stop adstpal.sh apps/apps again it is going to ask weblogic password

Component Command
Fullfillment Serer Services $jtffmctl.sh stop
Concurrent Manager Service $adcmctl.sh stop apps/apps
Managed Server for Forms web  Services $admanagedsrvctl.sh stop forms-c4ws_server1

Enter Weblogic Admin Password:

Managed Server for Fusion MiddleWare  Services $admanagedsrvctl.sh stop oafm_server1

Enter Weblogic Admin Password:

Managed Server for FormsServices $admanagedsrvctl.sh stop forms_server1

Enter Weblogic Admin Password:

Managed Server for OACORE Services $admanagedsrvctl.sh stop oacore_server1

Enter Weblogic Admin Password:

Apache Services $adapchctl.sh stop
Oracle Process Manager $adopmnctl.sh stop
Application Listener $adadlctl stop
Weblogic Admin Server $adadminsrvctl.sh stop

Enter Weblogic Admin Password:

Node Manager $adnodemgrctl.sh stop

Enter Weblogic Admin Password:


相关文章
|
Shell
设置shell脚本执行错误自动退出
设置shell脚本执行错误自动退出
922 0
|
运维 Java 应用服务中间件
Linux启动tomcat命令行关闭后服务会停止
Linux启动tomcat命令行关闭后服务会停止
150 0
|
关系型数据库 MySQL Java
【问题解决】mysql数据库启动时报服务启动后停止。某些服务在未由其他服务或程序使用时将自动停止
【问题解决】mysql数据库启动时报服务启动后停止。某些服务在未由其他服务或程序使用时将自动停止
【问题解决】mysql数据库启动时报服务启动后停止。某些服务在未由其他服务或程序使用时将自动停止
( ఠൠఠ )ノ 一键启动要启动的程序
( ఠൠఠ )ノ 一键启动要启动的程序
169 0
( ఠൠఠ )ノ 一键启动要启动的程序
|
Java 应用服务中间件 Perl
Tomcat启动、关闭、重启脚本
#!/bin/sh #chkconfig: 345 90 10 #tomcat auto-start #. /etc/init.d/functions #.
1179 0
|
Android开发
为什么脚本不停止运行?
牙叔教程 简单易懂
314 0
|
Shell
shell脚本控制程序启动停止重启
shell脚本控制程序启动停止重启
320 0
|
关系型数据库 应用服务中间件 MySQL
下一篇
DataWorks