CCMS Agent Error!!

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

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,
    Anu

    If 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

  • 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 AM

    Hi 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 Vaij

    Perhaps your BI system is dual stack, or even java only?
    In that case you should install the sapccmsr agent (as well).
    Regards,
    David

  • 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 Joish

    Hi 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

  • 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,
    Praveen

    Hello 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

  • 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,
    Guna

    Hi,
    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

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

    Hi,
    Problem has been resolved.
    It was human error only, directory was made into oscolfile, rather it should be of filesystem.
    Thanks all.

  • CCMS registration error

    I have made new installation of SAP NetWeaver 7.01 ABAP Trial in a Windows Xp machine. After the installation i could not find the CCMS agent listed in transaction rz21 -> Topology -> Agents for Local System ( also there is no data CCMS Monitor Sets ). So i tried registering the CCMS agent in the local CEN. While registering the CCMS agent in the local CEN using sapccmsr, i am getting the below error :
    C:\SAP\NSP\SYS\exe\run> SAPCCMSR -r -f C:\SAP\ccms-agent\csmconf pf=C:\SAP\NSP\SYS\profile\NSP_DVEBMGS00_WIN-XP
    INFO: [NSP:000:DDIC] connected to NSP, host win-xp, System Nr. 00, traceflag [ ]
    INFO: NSP release is 701 , (kernel release 701 )
    ERROR: [NSP:000:CSMREG] calling SALS_MS_GET_LOCAL_MS_INFO via RFC failed, can not get version of NSP. RfcRc = 2, C_CALL_FAILED
    INFO: Updated saprfc.ini in agent work directory C:\SAP\ccms-agent\sapccmsr
    ERROR: Registration failed: Can't get version of NSP. RfcRc = 2, C_CALL_FAILED
    RFC Error Info for SALS_MS_GET_LOCAL_MS_INFO
    message:
    status:  EXCEPTION C_CALL_FAILED RAISED
    intstat:
    I followed the steps mentioned in below link for registering the CCMS agent :
    http://help.sap.com/saphelp_nw70/helpdata/EN/48/6a76607a7c91409474ad6c7b6f5a26/content.htm
    Any ideas why this error occurs and how to fix it ?

    When i use the SAPCCMSR -DCCMS pf=C:\SAP\NSP\SYS\profile\NSP_DVEBMGS00_WIN-XP it registers without any error. I get print in the command prompt saying
    INFO: Reconnected to Monitoring Segment [SAP_CCMS_app-xp1],...
    However i am still unable to view the CCMS agent or get any data in CCMS monitor sets.
    I deleted the parameters alert/MONI_SEGM_SIZE and rdisp/autoabaptime from the profile. Then tried registering using the option sapccmsr -r and i get the below error at the end of registering the agent :
    Try to connect ...
    INFO: Updated saprfc.ini in agent work directory C:\SAP\saploc\PRFCLOG\sapccmsr
    ERROR: Registration failed: Can't get version of NSP. RfcRc = 2, C_CALL_FAILED
    RFC Error Info for SALS_MS_GET_LOCAL_MS_INFO
    message:
    status:  EXCEPTION C_CALL_FAILED RAISED
    intstat:
    INFO: dsr: dsrlib unloaded.
    EXITING with code 1
    Now when i registered the CCMS using the SAPCCMSR -DCCMS pf=C:\SAP\NSP\SYS\profile\NSP_DVEBMGS00_WIN-XP, it registers with the below messages:
    INFO: Created Shared Memory Key 1008 (size 40000000)
    INFO: Connected to Monitoring Segment [CCMS Monitoring Segment for win-xp, created with version CCM
    S version 20040229, 32 bit multithreaded, compiled at Jul 16 2008,  kernel 7010_20020600_7,  platfor
    m 560 (PC with Windows NT)]
            segment status     WARM_UP
            segment started at Sun Nov 16 00:35:20 2008
            segment version    20040229
    However again i am unable to view the CCMS agent or get any data in CCMS monitor sets. Any thing i am doing wrong over here.

  • CCMS agent installation

    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
    Manisha

    Hi 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

  • Installing CCMS agent fails: calling SALS_MS_GET_LOCAL_MS_INFO via RFC

    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 Unicode

    Hi,
    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

  • 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 Engelen

    All,
    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

  • CCMS agents not collecting relevant data f

    Hi,
    I am working on product where all components were integrated into one product(like EP, XI, TREX, SCM,livecache,CRM,ECC). Here the database is integrated to Livecache and normal DB(single DB).
    The CCMS agents were configured properly where some times it does'nt poll proper data, where we get tech. tickets. We get error saying "Collecting the relevant check data is not possible". I had analysed to my extent, but could'nt resolve. Please clarify.
    Regards,
    Srinivas

    some extra info:
    : Active Queue Size: 10
    : TES disabled
    : Starting WorkItemService
    : Started WorkItemService
    : Starting CheckTargetAliveService
    : Started CheckTargetAliveService
    : Starting HostStateReportService
    : HostStateReportService has been disabled in the configuration!
    : Starting PingService
    : Started PingService
    :      Starting Ping Report
    : Connecting to VC using endpoint vCenter_Backbone with user name [email protected]
    : Connecting to VC using endpoint vCenter_Backbone with user name [email protected]
    : Ping Sent Successfully : []
    :      Ping Report Completed
    :      Starting Ping Report
    : Ping Sent Successfully : []
    :      Ping Report Completed

  • CCMS agent not getting registered

    Hello,
    No activities carried out on Solman 7.1 & managed system CRM 7
    As I was getting error in RZ21 of solman for agent of our CRM7 system while testing connection,I was trying to re-register sapccm4x agent on managed system CRM 7
    So first I stopped the current sapccm4x agent on CRM7 & de-registered it & re-registered which solved one problem of "hostname unknown"
    But instead started giving new error shown below :
    ERROR: can't register at SOLMAN. RfcRc = 2, AUTHORITY_NOT_AVAILABLE
    RFC Error Info for SALF_CSM_AGENT_REGISTER
    message: EXCEPTION AUTHORITY_NOT_AVAILABLE RAISED
    status:  EXCEPTION AUTHORITY_NOT_AVAILABLE RAISED
    CSMREG user in SOLMAN 000 has this role SAP_BC_CSMREG assigned & it works fine for all other managed systems.
    Kindly request your help  to solve this problem & sapccm4x agent registered.
    Thanks
    Shradha

    Hi Shradha,
    1. what is the version of ccms agent.
    2. what is the SAP_BASIS component level and patch level.
    3. add   SALF_CSM_AGENT_REGISTER   into SAP role   SAP_BC_CSMREG
    With Regards
    Ashutosh Chaturvedi

Maybe you are looking for