CCMS Agent
Dear All,
I want to know how to check if the CCMS Agent is already installed in my ECC Version?
My current Version is-ECC6.0 EHP4 with single ABAP Instance.
As I heard CCMS Agent is Installed by default with this ECC Version.
Please help me out.
Thanks & Regards
Ajitabh
Hi Anil,
I am sending you the log file of the ccms agent registration status.
As you can see it is running without profile.
Can you please tell me the is it necessary to register with profile?If yes how to do it?
sapccmsr -status
INFO: CCMS agent sapccmsr working directory is /usr/sap/tmp/sapccmsr
INFO: CCMS agent sapccmsr config file is /usr/sap/tmp/sapccmsr/csmconf
INFO: Central Monitoring System is [ABC]. (found in config file)
INFO: Agent is running (actual pid file is detected)
CCMS agent running on this machine: ********
sapccmsr without profile
registered at central system ABC
CCMS version 20040229, 64 bit
Process Id 24290
relno 7010
patchno 32
intno 20020600
EXITING with code 0
Thanks & Regards
Ajitabh
Similar Messages
-
CCMS agent update fails with an error
Hello All,
We are trying to update CCMS agent 700 unicode version on 640_REL unicode kernel.
But we are getting below error
./sapccm4x -v
Could not open the ICU common library.
The following files must be in the path described by
the environment variable "LIBPATH":
libicuuc30.a, libicudata30.a, libicui18n30.a [nlsui0_mt.c 1557] pid = 860208
Please help.
Thanks,
AnuIf you use the Unicode version you need to install the Unicode libraries also.
You find them in the download area (where you got the CCMS patch) under "UCLIB". I assume this is AIX so you can also search for the file
UCLIB_3-20000978.SAR
extract it and put the files in the kernel directory.
Then logout and logon (the shell) and try again (or simply give a 'rehash' command).
Markus -
CCMS Agent Issue in Central Monitoring System
Dear Guru's,
We are configuring the CCMS Agent in our landscape, while registering the CCMS Agent we're facing some issue.
CEN system - Only ABAP Stack - ECC 6.0 Ehp3
Target System - Double stack (ABAP + JAVA, Netweaver 2004s)
After completing the Visual Admin settings. Service file SAPCCMSR.99 has
been generated automatically. As per the help.sap the service file should
be SAPCCMSR.<Instance No.>, our instance no. was 00 but its was generated
with 99 (SAPCCMSR.99).
Two RFC has been created in Double stack system and one RFC has been
created in ABAP system.
RFC in ABAP system :
SAPCCMSR.HOSTNAME.00 - its not working
(Error Details, ERROR:program hostname.sapccmsr.00 not registered)
RFC in Dual-stack System :
SAP.CCMS.J2EE.SID - its working
SAPCCMSR.HOSTNAME.00 - its not working
(Error Details, ERROR:program hostname.sapccmsr.00 not registered)
While testing the Remote System Topology, we're getting communication
error.
In RZ21, Topology - Agents for Remote Systems - Display Overview, Agent
for SAP System SID tab, Agents for Remote SAP Systems, selecting the
available system (Dual stack system) and give Test Connection means
its throwing Error opening an RFC connection - SAPCCMSR.HOSTNAME.00
Could you please suggest, what we're missing.
regards,
GunaHi,
Thanks for your reply.
What your said was rite, but I'm unable to get J2EE (Java Stack) alert information in RZ20 of the same system, coz., its dual stack system. If we don't have any issue in Java means it should be updated in RZ20 of the same system.
In Dual-stack System:
RZ20 -> CCMS monitor sets -> SAP J2EE Monitor Template -> All Systems -> SID -> J2EE Engines, J2EE Applications, J2EE Log files... these are not updating here.
Could you kindly suggest for above issue.
regards,
Guna -
Error while registering CCMS Agent !!!!
Hey,
I was trying to configure the SAPCCMSR agent in the development PORTAL which is a JAVA (Non ABAP) stack through "J2ee Visual Administrator".
I am getting the following error:
1 ) ERROR: DSR: Dynamic Library dsrlib.o is Non-Unicode.
Cannot load this library
2) ERROR: Cannot open Monitoring Segment 0 rtc = 245
3) Error during registration of CCMS Customizing destination
User not authorized. Session terminated
Please guide me on this.
Regards,
Ashish .A. Poojary
Edited by: Ashish Poojary on Nov 6, 2008 11:20 AMHi Ashish,
refer this link.
http://help.sap.com/saphelp_nw04/helpdata/en/48/6a76607a7c91409474ad6c7b6f5a26/frameset.htm
Re: CCMS agent registration on central system
Regards
Supraja -
Error while configuring CCMS Agent
Hello Gurus,
I am trying to install CCMS agent on our BI Dev system, but it gives me below error.
Error Message -
ERROR: Cannot open Monitoring Segment 0 rtc = 245
Last reported error: [249] CCMS monitoring segment has wrong EYE CATCH: CCMS mo
nitoring segment belongs to a non-ABAP instance.
SAPCCM4X of release 7.00 is to be used only to monitor ABAP instances of kernel
release 7.00 (NW04s) or 6.40.
EXITING with code 1
Error Message -
I am trying to run the command S:\usr\sap\SID\SYS\exe\uc\NTAMD64>sapccm4x.exe -R pf=S:\usr\sap\SID\SYS\profile\profile_name
I have downloaded the file as discribed on the help.sap.com link
http://help.sap.com/saphelp_nw70/helpdata/en/ca/118110ff542640b7c86b570cc61ae3/frameset.htm
I have configured CCMS Agent on our ERP Dev system, but on BI/BW I am getting this error.
Could you guys please help me on this.
Best Regards,
Amit VaijPerhaps your BI system is dual stack, or even java only?
In that case you should install the sapccmsr agent (as well).
Regards,
David -
Changes done in oscolfile.txt are not picked up by CCMS agent
Hi Ppl,
I want to monitor one File System at OS level in monitores system using Alert Monitoring in CEN.
I made an entry in OsColFile.txt , also the exact path of OsColFile.txt file is maintained in sapccmsr.ini.
Even then i cant see the MTE corresponding to that FIle System under Monitoring tree.
I have restrarted the CCMS agent couple of times, also restarted the agent's memory segment in "warm up state" couple of times, but to avail nothing.
Kindly suggest what else i can do.
ThanksHi,
Problem has been resolved.
It was human error only, directory was made into oscolfile, rather it should be of filesystem.
Thanks all. -
Cannot stop and start CCMS agent
Hi experts,
I'm new to SAP and here we have problem on sapccmsr agent not running. Previously the sapccmsr was running fine until one day it is not. When i tried to start the application, it says that theres another CCMS agent running with the profile:
bcuser> code/libs/sapccmsr -DCCMS pf=saploc/oscol.pfl
INFO: CCMS agent sapccmsr working directory is /sbdc/sapbc47/Server/packages/SAPMonitoring/saploc/PRFCLOG/sapccmsr
INFO: CCMS agent sapccmsr config file is /sbdc/sapbc47/Server/packages/SAPMonitoring/saploc/PRFCLOG/sapccmsr/csmconf
INFO: Central Monitoring System is [M04]. (found in config file)
INFO: Checking shared memory status of sapccmsr
Another CCMS Agent is already running with this profile.
EXITING with code 0
bcuser> ps -ef | grep sapccmsr | grep -v grep
bcuser>
And when i tried to stop the sapccmsr manually, it failed:
bcuser> code/libs/sapccmsr -stop pf=saploc/oscol.pfl
INFO: CCMS agent sapccmsr working directory is /sbdc/sapbc47/Server/packages/SAPMonitoring/saploc/PRFCLOG/sapccmsr
INFO: CCMS agent sapccmsr config file is /sbdc/sapbc47/Server/packages/SAPMonitoring/saploc/PRFCLOG/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
bcuser>
Yeah i think it is because there is no sapccmsr processes running!
My question is; how to force the sapccmsr to start? I already delete the sapccmsr.pid but no success.
The last resort would be to restart the box but unfortunately, thats not the feasible option... for the time being...
Please help....
Thanks in advancetry to execute execute ./sapccmsr pf=/usr/sapSID/SYS/profile/PROFILE -j2ee -initshm
filter on
INFO: Attached to Shared Memory Key 73 (size 60000000), no pool used
so you see the size of the shared memory is 60000000
then execute on solaris
ipcs -ma |grep 60000000
this will result in keys with size 60000000
m 108039 0x4761 rw-r--- eppadm sapsys eppadm sapsys 1 60000000 4955 20441 11:40:28 11:40:28 8:30:38
m 5744 0x3d9d rw-r--- yppadm sapsys yppadm sapsys 1 60000000 29224 29224 15:22:23 15:22:24 15:22:23
m 30323 0x3f91 rw-r--- yppadm sapsys yppadm sapsys 1 60000000 29480 29480 15:22:33 15:22:35 15:22:33
m 150522485 0x46fd rw-r--- eppadm sapsys eppadm sapsys 4 60000000 21181 5909 12:05:31 12:05:31 17:03:39
in this case there are 4 with size 60000000 our instance EPP both ccms agents had a problem so we cleaned those 2 entries
ipcrm -m 108039 -m 150522485
afterwards the agents were able to start -
CCMS agents, alert monitoring, SNMP traps
Hi Guys,
I have a question. There is a requirement about monitoring. Any documenation or links will be really appreciated.
My client needs me to use CCMS agents, alert monitoring for both ABAP and JAVA stacks, SNMP traps, sending SNMP traps, interface CCMS with third party monitoring tools. Mostly, the ,monitoring is done thru RZ20.
Anybody can point me in right direction or material.
Thanks
VenkyHi,
Check these CCMS Weblogs. Really good ones...
/people/federico.babelis2/blog/2006/04/26/ccms-rule-based-monitors-configuration-guide-for-dummies
/people/aravindh.prasanna/blog/2005/12/23/configuring-scenario-specific-e-mail-alerts-in-xi-ccms-part--1
/people/aravindh.prasanna/blog/2006/02/20/configuring-scenario-specific-e-mail-alerts-in-xi-ccms-part-3
Feel free to revert back.
--Ragu -
Hi Experts,
I am doing SAP CCMS agent installation to monitor a non-SAP system which will be monitored by a Central monitoring system.
I have followed all the steps as:
http://help.sap.com/saphelp_nw04/helpdata/en/a8/adf7409b9d8531e10000000a1550b0/frameset.htm
http://help.sap.com/saphelp_nw04/helpdata/en/e2/eff640fa4b8631e10000000a1550b0/frameset.htm
1. communication user CSMREG in Central monitoring system.
Created the CSMCONF start file for CCMS agents in monitoring system.
2. CCMAGENT.SAR , SAPOSCOL.SAR , INSTALL_WIN.SAR
And done the configurations required in the monitored system.
3. Register the CCMS agent with CEN and start the agent. By following this step:
<hostname>\saploc\prfclog\sapccmsr.exe -R*
while registering the CCMS agent ,
I ma getting this...
This CCMS agent program sapccmsr is able to actively report alert data into the monitoring system[CEN], which is the central monitoring system.
to enable this feature, you have to setup the user CSMREG in [CEN].
After entering the RFC logon info for the user,
client:001
user:CSMREG
language:EN
host name:
load balancing:n
system number:01
router sting :optionla
trace lavel:0
password for CSMREG user:********
Its showing this error:
ERROR: RFC error during logon: 105 DESTINATION_NOT_EXIST
How to solve this?
Do I have to do any RFC configuration in the Central monitoring system(as I want to monitor a non-SAP system)?
urgently required.
Any help will be appreaciated.
Regards
ManishaHi Manisha,
Yes you will have to create a RFC and a suitable RFC user in the Central Monitoring System (CEN) via txn RZ21 to monitor these remote systems.
Please follow this link:
http://help.sap.com/saphelp_nw04/helpdata/en/a8/adf7409b9d8531e10000000a1550b0/frameset.htm
Please award suitably if helpful.
Regards, Dibya -
Error while registering the CCMS agent
Dear All,
When i am trying to register the SAPCCM4x agent in my landscape i am getting the error "104 RFC_ERROR_SYSTEM_FAILURE'
can anyone tell me the what are the possible reason for this error and solutions to resolve.
and
what authorisations for the CEN user and RFC connection should exist before registering the CCMS agent.
It will be great help if you comment on this,
thanks & regards,
Krishna JoishHi Krishna,
Please check for the authorization object S_RFCACL for the RFC user.
Check the RFC connection properly.
Please elaborate the error if it persists.
Regards,
Sunny -
Hi All,
I'm trying to connect our SolMan development to the CEN. However when registering ccmsr within J2ee admin it gives the following errors.
Does anybody have an idea?
Output for : /usr/sap/DSM/SYS/exe/run/sapccmsr(-j2ee,-v,pf=/usr/sap/DSM/SYS/profile/DSM_DVEBMGS00_ijmdsm01)
CCMS version 20040229, 64 bit, multithreaded, Non-Unicode
compiled at Oct 28 2006 systemid 324 (IBM RS/6000 with AIX)
relno 7000
patch text patch collection 2006/4, OSS note 914721
patchno 83 intno 20050900
running on ijmdsm01 AIX 3 5 00C97C6E4C00
Logfile for : /usr/sap/DSM/SYS/exe/run/sapccmsr(-j2ee,-R,-f,/tmp/csm53771.conf,pf=/usr/sap/DSM/SYS/profile/DSM_DVEBMGS00_ijmdsm01) [Thr 01] Mon Mar 26 13:29:05 2007
INFO: CCMS agent sapccmsr working directory is /usr/sap/ccms/DSM_00/sapccmsr
INFO: CCMS agent sapccmsr config file is /usr/sap/ccms/DSM_00/sapccmsr/csmconf
INFO: Central Monitoring System is . (found in config file)
INFO: additional Central Monitoring System is . (found in config file)
INFO: found ini file /usr/sap/ccms/DSM_00/sapccmsr/sapccmsr.ini.
INFO: Checking Distributed Statistical Records Library dsrlib.o
INFO: checking version an Unicodeness of dsrlib.o
INFO: DSR: Dynamic Library dsrlib.o (version 22) successfully loaded.
INFO: DSR: Dynamic Library dsrlib successfully loaded.
INFO: DSR: Path /usr/sap/ccms/DSM_00/dsr for Distributed Statistical Records.
INFO: CCMS version 20040229, 64 bit, multithreaded, Non-Unicode compiled at Oct 28 2006 systemid 324 (IBM RS/6000 with AIX) relno 7000 patch text patch collection 2006/4, OSS note 914721 patchno 83 intno 20050900 running on ijmdsm01 AIX 3 5 00C97C6E4C00 pid 479452 profile /usr/sap/DSM/SYS/profile/DSM_DVEBMGS00_ijmdsm01
INFO: Attached to Shared Memory Key 73 (size 40000000), no pool used
INFO: Connected to Monitoring Segment segment status WARM_UP segment started at Thu Mar 22 08:58:40 2007 segment version 20040229
INFO: DSM:000:999999 connected to DSM, host ijmdsm01, System Nr. 00, traceflag
INFO: DSM release is 700 , (kernel release 700 )
ERROR: DSM:000:CSMREG calling SALS_MS_GET_LOCAL_MS_INFO via RFC failed, can not get version of DSM. RfcRc = 2, C_CALL_FAILED</b>
INFO: SLM:000:999999 connected to SLM, host rthuas50, System Nr. 10, traceflag
INFO: SLM release is 700 , (kernel release 700 )
INFO: SLM:000:CSMREG connected to SLM, host rthuas50, System Nr. 10, traceflag INFO: SLM release is 700 , (kernel release 700 ), CCMS version 20040229 INFO: RFC logon info for SLM:000:CSMREG can be updated at any time with -R option: sapccmsr -R INFO: Updated saprfc.ini in agent work directory /usr/sap/ccms/DSM_00/sapccmsr
ERROR: Registration failed: Can't get version of DSM. RfcRc = 2, C_CALL_FAILED RFC Error Info for SALS_MS_GET_LOCAL_MS_INFO message: status: EXCEPTION C_CALL_FAILED RAISED intstat: Mon Mar 26 13:29:10 2007 INFO: dsr: dsrlib unloaded.
...closing this logfile...
Registration of CCMS Customizing Destination
Error during registration of CCMS Customizing destination
Source system cannot be set to UnicodeHi,
Check these notes.
641339 - RZ20: CCMS monitoring context loses client assignment
558608 - Correction: Starting/stopping LDAP Connector via CCMS
827843 - Access Alert Analysis Methods that are Defined Locally
Feel free to revert back.
--Ragu -
Error,starting CCMS Agent
Hi all,
We currently have CCMS agent version( 20040229, 64 bit, single threaded, Non-Unicode) installed on 4.6 D SAP R/3. It was running fine until we have upgrade our DB from 9i to 10 g.
When we are trying to restart CCMS agent after oracle upgrade, error is logged as below:
ERROR: RFC error during logon: 104 RFC_ERROR_SYSTEM_FAILURE [Name or password is incorrect (repeat logon)]
WARNING: RFC client functionality configured, but logon failed for [<SID>:<Client>:<User>] ==> pushing data into CCMS cache disabled.
Could any one help in this regard.
Kind Regards,
PraveenHello Praveen,
First check OSS note 792850 .
May be the password length is greater than 8 characters.
Check this OSS note which states the password should not be greater than 8 characters and no lower characters should be used. Try this out.
Regards.
Ruchit.
Message was edited by:
Ruchit Khushu -
How to install CCMS agent in MSCS cluster system?
Hi,
We just migrated our WAS 7.0 system from a single to a MSCS cluster system and we need re-install CCMS agent on it. New cluster system have two nodes. Each node we have local SAP instances. We have central instance for message server running on a shared drive, which can failover to one of the nodes. My question is when I install CCMS agent, where I should I install it? Each node of the cluster on local drive or only shared drive or I have to install on three places?
Thanks you.
Yujun RanHallo.
Did you solve your issue?
I followed Oss note 536954, but I am not sure that it is for new cluster system.
Furthermore, the CCMS agent that you installed, point to a CEN system (as Solution manager for example) and as second system to the central instance ?
Thanks.
Mario -
Creating OS400 tasks to start and stop CCMS agent
Hi all,
Does anybody have any information about how to create the jobs to start and stop the CCMS agent on an iseries machine?
Regards,
Koen EngelenAll,
Starting the job interactively works great, I'm able to start and to stop the agent.
But when I schedule the job in the jobscheduler it does not run. The following error is given:
ILEWRAPPER calling sapccm4x: cannot find PASE executable "sapccm4x" in path
Can anyone please help?
Best regards,
Koen Engelen -
Cannot download CCMAGENT.SAR to install the SAPCCM4X ccms agent for ABAP
I realize that my CCMS (RZ20) was empty (of data) because there was no agent filling it.
Following the documentation from sap, I have to download and register the SAPCCM4X ccms agent for ABAP (I have a SAP Netweaver 7.0 (2004s) ABAP Trial Version) but it has been impossible. I don't understand what is the error with my Download Manager.
Can somebody send me these files?
ccmagent_18-20000961.sar
CCMAGENT.SAR
I found it under:
Support Packages and Patches>Entry by Application Group>SAP NetWeaver>SAP NETWEAVER>SAP NETWEAVER 7.0>Entry by Component>Application Server ABAP>SAP KERNEL 7.00 32/64-BIT>Windows-->Database Independent.
Or Am I completely wrong in everything?
Regards,
Herman.Hello Herman,
Graham is right. You don't need an agent, the system should be provide monitoring data at once.
But in your case
> (I have a SAP Netweaver 7.0 (2004s) ABAP Trial Version)
the reason will most probably the deactivated monitoring infrastructure. AFAIK the parameter rdisp/autoabaptime is set to 0 in the Trial Version. Simply delete it from the instance profile so the default value 300 will be activated. Same for the parameter alert/MONI_SEGM_SIZE. If the parameter is set to 0, delete it. After restarting the system you should see values in rz20.
Regards, Michael -
Hi Experts,
While stopping the CCMS Agent I am getting the following error :
ew1adm> sapccmsr -j2ee -stop pf=/usr/sap/EW1/SYS/profile/EW1_DVEBMGS02_ew1app
INFO: use SAPLOCALHOST ew1app
INFO: CCMS agent sapccmsr working directory is /usr/sap/ccms/EW1_02/sapccmsr
INFO: CCMS agent sapccmsr config file is /usr/sap/ccms/EW1_02/sapccmsr/csmconf
INFO: sapccmsr is not running. Nothing to do!
EXITING with code 0
It should come like this while stopping the agent :
INFO :Setting Stop Flag for sapccmsr.
INFO: Waiting for Background process to stop.
INFO : Background process was stopped
INFO : Agent was stopped. *
I am not all able to stop the agent & start it again.Please guide.Hi,
It seems to me a shared memory problem. Check and carryout the work mentioend in below note. I was able to solve similar problem earlier with this note.
Note 883361 - CCMS agent does not start
Summary
Symptom
Windows: The service "sapccmsr" or "sapccm4x" does not start or immediately stops again.
UNIX: When you start the agents sapccmsr or sapccm4x, the system issues the message "Another agent is already running with this profile".
Other terms
sapccmsr, CCMS, RZ20, sapccm4x, initshm
Reason and Prerequisites
CCMS agents manage monitoring data in a shared memory segment. You can identify this segment by an instance number for instance-specific CCMS agents, and by instance number 99 for instance-independent agents.
Only one CCMS agent may run for each instance, so the administration information of the CCMS contains information about whether an agent has been started already for an instance. The system refreshes this information when the agent is started, and deletes it when the agent is stopped.
If, due to an error, the agents could not be stopped and the administration data above could not be deleted in the shared memory, a newly started agent receives the information that another agent is running even though there is no longer a corresponding agent process. The system then issues the message described under "Symptom".
Solution
1. Check whether the agent involved is running. The process number of the agent process is noted in the agent log file "sapccmsr.log" or "sapccm4x.log" under "pid":
CCMS version 20040229, 32 bit, multithreaded, non-Unicode
compiled at Sep 22 2005
systemid 560 (PC with Windows NT)
relno 7100
patch text patch collection 2005/5, OSS note 809007 patchno 0
intno 20053800
running on P129685 Windows NT 5.1 2600 Service Pack 1 2x Intel 801586 (Mod 2 Step 9)
pid 3024
pro-file test.pfl
2. Check whether the agent process still exists.
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
instance-independent agent:
sapccmsr -initshm
Agent for ABAP instances:
sapccm4x pf=<instance profile> -initshm
You can then restart the agent or agent service.
The error was eliminated with CCMS Patch Collection 2007/4.
Regards
Naeem
Maybe you are looking for
-
Issue While sending data to Webserver
Hi All, I am facing an issue while sending data to a webserver. My scenario is SAP(Proxy) to XI to Webserver. It is an asynchronous scenario. The same communication channel and same WSDL is used to send many Interfaces but when I am sending data fo
-
Can't create Labview 6.02 runtime server.
I tried to use the Labview source code for the Runtime Server to build a LV 6.02 Runtime Server that I can use in TestStand 2.0 with a Visual Basic Operator Interface. Right now, I cannot run an example TestStand sequence with the example Visual Basi
-
hi mates, after working on my G3 with 10.2.8 I thought, well it istn't very fast, so it would make no difference to install 10.4. So I got a 10.3.7 and a 10.4-upgrade disk from a friend and startet to install. the first error message installing 10.3
-
How to clear cache and other items
How do you clear cache and check to see if Mac is running properly
-
iMessage: in Yosemite, the font in the iMessage pane is too small for me, even after enlarging it with the only apparent way it allows. Can something be done about it? The font has more adjustability on the iPhone.