SAPCCMSR & SAPCCM4x not starting
We are not able to start either our sapccmsr or sapccm4x. We tried to do -initshm to clean shared memory. It is getting executed successful. Also tried to do sapccmsr upgrade but no luck.
Please find the logs.
Tue Sep 16 15:03:43 2014
ERROR: Starting standalone CCMS agent SAPCCMSR_X as Win service SAPCCMSR.01 encountered troubles when attaching CCMS Monitoring segment of type EXT:
There is an integrated or standalone CCMS agent, pid 1896, with the same profile already active. Cannot start twice!
If there is no other standalone or integrated CCMS agent SAPCCMSR_X running with a profile containing
parameters "SAPSYSTEMNAME = " and "SAPSYSTEM = 0", start standalone agent sapccmsr with option
-j2ee -initshm and profile to perform cleanup of CCMS Monitoring Segment in shared memory.
...closing this logfile
FYI - pid 1896 is of our SAP service instance.
Alwina Enns replied
between the kernel patch 401 and 600 for kernel 7.20 there is a difference in the agents - a feature was implemented, which prevents, that you can start 2 agents in parallel for the same instance. Now the agent checks its working directory, if it can find agent.lock file of another agent, and if this file exists, it will not start. This was introduced in the kernel patch as described in the note:
1787260 - CCMS: Mutual activity control of agents
The integrated agents you can register from CEN, in RZ21 --> Configure Central System --> Create Remote monitoring entry, and here you have to choose the correct type of the component to be monitored (ABAP, Java, Dual Stack, TREX, Host) and fill out required information for logon data (OS user and users in systems).
For MDM server you should check latest documentation and notes, which agent you should use, in some cases the integrated agents still cannot load required plugin to monitor an application.