cancel
Showing results for 
Search instead for 
Did you mean: 

cannot stop sapccmsr

Former Member
0 Kudos

Hi,

when I try to stop sapccmsr I received following message:

bash-3.00$ sapccmsr -j2ee -stop pf=/sapmnt/VPT/profile/VPT_DVEBMGS01_VPT-APP

INFO: CCMS agent sapccmsr working directory is /usr/sap/ccms/VPT_01/sapccmsr

INFO: CCMS agent sapccmsr config file is /usr/sap/ccms/VPT_01/sapccmsr/csmconf
INFO: Setting Stop Flag for sapccmsr 

INFO: Waiting for background process to stop...
INFO: Background process has not stopped after 10 seconds.  
INFO: Process might be busy.. 
INFO: Please try again.

EXITING with code -1

then I try to check status:

bash-3.00$ sapccmsr -j2ee -status pf=/sapmnt/VPT/profile/VPT_DVEBMGS01_VPT-APP

INFO: CCMS agent sapccmsr working directory is /usr/sap/ccms/VPT_01/sapccmsr

INFO: CCMS agent sapccmsr config file is /usr/sap/ccms/VPT_01/sapccmsr/csmconf
INFO: Central Monitoring System is [VPT]. (found in config file)
INFO: additional Central Monitoring System is [VSM]. (found in config file)
INFO: Checking shared memory status of sapccmsr

******** CCMS agent running on this machine: ********
*
*      sapccmsr with profile /sapmnt/VPT/profile/VPT_DVEBMGS01_VPT-APP 
*
*      registered at central system VSM
*      registered at central system    
*
*      CCMS version  20040229, 64 bit
*      Process Id    20155 
*      relno         7000
*      patchno       144
*      intno         20050900
*****************************************************

EXITING with code 0

and check process:

bash-3.00$ ps -ef|grep 20155
  vptadm 20440 20116   0 18:34:34 pts/3       0:00 grep 20155

What shouls I do to stop sapccmsr?

Thanks for your advance,

Alexander

Accepted Solutions (0)

Answers (2)

Answers (2)

Former Member
0 Kudos

Hai,

You have tried the standard method to stop the SAPCCMSR agent, if this does not help then try killing the agents PID using the kill -9 followed by the PID of the agent.

This will help under these circumstances.

You can also check the log files in the working directory of the CCMS agent for possible error causes.

The log file will be under /usr/sap/tmp/sapccmsr.

Regards,

Yoganand.V

Former Member
0 Kudos

I had try to kill:


bash-3.00$ kill -9 20155
bash: kill: (20155) - No such process
bash-3.00$

And I had check but this folder is empty:


bash-3.00$ cd /usr/sap/tmp/sapccmsr
bash-3.00$ ls -la
total 4
drwxr--r--   2 vptadm   sapsys       512 Feb 26 17:35 .
drwxrwxr-x  10 root     sapsys       512 Feb 26 18:18 ..
bash-3.00$

Former Member
0 Kudos

I found solutiion in note 883361


3. If the process is no longer running, you can initialize the administrative data for the shared memory as follows:
Agent for J2EE and TREX instances:
sapccmsr pf=<instance profile> -j2ee -initshm

Good luck!

Former Member
0 Kudos

R

Edited by: Manoj Chintawar on Feb 26, 2009 4:07 PM