天天看點

R12.2應用啟動關閉腳本

啟動:

[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

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 ... 

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

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 ... 

Executingservice control script:

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

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: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:Domain name mappings:

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

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: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: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 ... 

*** 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

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

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 ... 

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

Timeout specified in context file: 1000 second(s)

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 ... 

/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.

/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) 

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 ...  

/u01/test/apps/fs2/inst/apps/VIS_vs022/admin/scripts/admanagedsrvctl.sh start forms_server1 -nopromptmsg

Starting forms_server1...

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

/u01/test/apps/fs2/inst/apps/VIS_vs022/admin/scripts/admanagedsrvctl.sh start oafm_server1 -nopromptmsg

Starting oafm_server1...

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

/u01/test/apps/fs2/inst/apps/VIS_vs022/admin/scripts/admanagedsrvctl.sh start oacore_server1 -nopromptmsg

Starting oacore_server1...

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

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]$ 

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

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

Managed Server for FormsServices

$admanagedsrvctl.sh start forms_server1

Managed Server for Fusion MiddleWare  Services

$admanagedsrvctl.sh start oafm_server1

Managed Server for Forms web  Services

$admanagedsrvctl.sh start forms-c4ws_server1

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

$jtffmctl.sh stop

$adcmctl.sh stop apps/apps

$admanagedsrvctl.sh stop forms-c4ws_server1

$admanagedsrvctl.sh stop oafm_server1

$admanagedsrvctl.sh stop forms_server1

$admanagedsrvctl.sh stop oacore_server1

$adapchctl.sh stop

$adopmnctl.sh stop

$adadlctl stop

$adadminsrvctl.sh stop

$adnodemgrctl.sh stop