Start and stop Concurrent Manager in 11i Apps
adcmctl.sh is one of the scripts in oracle applications 11i for starting and stopping Concurrent Manger service. It requires apps username and password to run this script. Using this predefined script we can start, stop, abort and check the status of Concurrent Manger Service.
Starting Service of CM:
$ sh adcmctl.sh start apps/appspw
Sample Output:
mydb:applprod$sh adcmctl.sh start apps/apps
You are running adcmctl.sh version 115.31
Starting concurrent manager for PROD_806_BALANCE …
Starting PROD_0725@PROD_806_BALANCE Internal Concurrent Manager
Default printer is noprint
adcmctl.sh: exiting with status 0
Stoping Service of CM:
# su - applebis
$ cd /ebis/ebisapps/ebiscomn/admin/scripts/PRODDB_ebis/
mydb:applprod$sh adcmctl.sh start apps/apps
You are running adcmctl.sh version 115.31
Starting concurrent manager for PROD_806_BALANCE …
Starting PROD_0725@PROD_806_BALANCE Internal Concurrent Manager
Default printer is noprint
adcmctl.sh: exiting with status 0
# su - applebis
$ cd /ebis/ebisapps/ebiscomn/admin/scripts/PRODDB_ebis/
mydb:applprod$sh adcmctl.sh stop apps/apps
You are running adcmctl.sh version 115.31
Shutting down concurrent managers for PROD_806_BALANCE …
Submitted request 15895555 for CONCURRENT FND SHUTDOWN
adcmctl.sh: exiting with status 0
Status of CM:
# su - applebis
$ cd /ebis/ebisapps/ebiscomn/admin/scripts/PRODDB_ebis/
mydb:applprod$sh adcmctl.sh status apps/apps
You are running adcmctl.sh version 115.31
Internal Concurrent Manager is Active.
adcmctl.sh: exiting with status 0
Please check is there any concurrent process is there before starting concurrent processing server. If the concurrent process still exists after shutdown kindly wait for some time for clearing the requests
The bellow command will tell you how many concurrent processes are running.Here applprod is the user for the application file system.
For finding FNDLIBR process:
ps -ef|grep applprod|grep FNDLIBR
For counting FNDLIBR process
ps -ef|grep applprod|grep FNDLIBR|wc –l
For killling FNDLIBR process
kill -9 <PID>
No comments:
Post a Comment