CCMS agent - segment name issue
Hello,
Does anybody know where the CCMS agents get their segment name (visible in RZ21 transaction) ?
I have a problem with one of my agent that doesn't have the right segment name and it's causing a lot of other problems.
If someone has any idea on this, it would help me a lot.
Thank you very much
Rouger,
I am not sure whether i understand your issue.But anyway try these steps to register and unregister the ccms agents...Please explain next time if doesn't works.
ABAP -- sapccms4x agent
Registering the agent -
> sapccm4x -R -f /usr/sap/SID/ccms/log/sapccm4x/csmconf pf=/sapmnt/SID/profile/SID_DVEBMGS00_hostname
starting the agent -
> sapccm4x -DCCMS pf=/sapmnt/SID/profile/SID_DVEBMGS00_hostname
status of the agent -
> sapccm4x -status pf=/sapmnt/SID/profile/SID_DVEBMGS00_hostname
unregistering the agent -
> sapccm4x -U pf=/sapmnt/SID/profile/SID_DVEBMGS00_hostname
Java -- sapccmsr agent
sapccmsr -DCCMS -j2ee pf=/usr/sap/SID/SYS/profile/SID_DVEBMGS00_hostname
sapccmsr pf=/usr/sap/SID/SYS/profile/SID_DVEBMGS00_hostname -j2ee -initshm
( To clear shared memory )
Try this SAP Note 883361 - CCMS Agent does not start
Hope this will help you.
Thanks
Kalyan
Pls reward if answer is helpful.
Similar Messages
-
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 -
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 -
Hi guys,
I am trying to install CCMS agent in one of our dev systems, but it gives me <b>syntax error at line 1: `(' unexpected</b>..
I have installed agent in /usr/sap/sid/SYS/exe/run : sapccm4x
When I try to look for the version: mean: sapccm4x -v; it gives me an error <b>syntax error at line 1: `(' unexpected</b>..
Even when I try with profile parameter: mean: <b>sapccm4x R pf=<profile path></b>
/usr/sap/<SysID>/SYS/profile/
<SysID>_<Name of the instance directory>_<Host>
Please help!
Thanks,
I will reward pointshi,
Thanks for reply. I am using 640 kernel. It does not give syntax error any more. when I do the following:
sapccm4x R pf=<profile path>
/usr/sap/<SysID>/SYS/profile/
<b>Then I got the following options:</b>
additional CENTRAL system y/[n] ? : y
SAP system ID: : SID of solman
additional CENTRAL system y/[n] ? : n
INFO: found ini file /usr/sap/SID/DVEBMGS00/log/sapccm4x/sapccmsr.ini.
INFO:
CCMS version 20040229, 64 bit, multithreaded, Unicode
compiled at Aug 13 2007
systemid 324 (IBM RS/6000 with AIX)
relno 6400
patch text patch collection 2007/4, OSS note 1013331
patchno 196
intno 20020600
running on HOST NAME AIX 3 5 0009EADED600
pid 1052810
profile /sapmnt/SID/profile/SID_DVEBMGS00_HOSTNAME
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 6.40 is to be used only to monitor ABAP instances of kernel release 7.00 (NW04s) or 6.40.
Any futher idea why is it doing this?
Thanks, -
Cannot restart CCMS agent after kernel upgrade
Morning,
Can someone help with my issue? I've just upgraded my Business Intelligent Development system to Kernel 700 - Support package 200.
Since the change I'm unable to restart our CCMS agent on the server. When I try to restart get the following message appear "ERROR: Cannot open Monitoring Segment 0 rtc = 255".
I've tried to uninstall and re-register the agent, unfortunately still getting the above message.
Many Thanks
GavinGavin
check SAP Note 1307195
INFO: Download Agent Alerts and some current values to
/usr/sap/QO1/DVEBMGS00/log/ALAGENTALERTS.
INFO: Disconnected from monitoring segment, reconnecting now ...
ERROR: Cannot open Monitoring Segment 0 rtc = 255
Last reported error: [255] AlAttachShm: ShmAlCreate (SHM_ATTACH)
returns error 1.
The problem was resolved in CCMS Patch Collection 2009/1. See the referenced note for the information about patch availability and agent upgrade procedure.
As a workaround use monitoring and restart tools your operation system provides to automatically restart the agent process. For example, you can use inittab configuration file as described in the on-line documentation:
http://help.sap.com/saphelp_nw70/helpdata/EN/43/041c1d0fcf2bc4e10000000a114cbd/frameset.htm
Nesimi -
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. -
How can I find a segment name from p1 and p2 value of v$session??
Hi, all.
A session is waiting with "gc cr request".
The pvalue of the session are as followings.
p1text p1 p2text p2 p3text p3
file# 15 block# 412 id# 33619969
I issued the following sql statement to find the segment name.
select segment_name
from dba_extents
where file_id = 15
and 412 between block_id and (block_id + blocks -1)
However, No row returned.
Is there any mistake??
Thanks and Regards.Hi,
You will find what the wait means in the Oracle Reference manual.
http://download.oracle.com/docs/cd/B19306_01/server.102/b14237/toc.htm
To find out what object P1 refers to:
select * from v$datafile where file# = file#;
To find the hot block within that object above do:
select name, kind from ext_to_obj_view
where file# = file#
and lowB <= block#
and highB >= block#;
to create a report an example change your variable to what you need
select
sess.username,
sess.sid,
se.event,
se.total_waits,
se.total_timeouts,
se.time_waited/100 time_waited,
se.average_wait
from v$session_event se, v$session sess
where event like '%buffer busy% <===== change to your choosing
and sess.sid = se.sid
and sess.username is not null
and se.total_waits > 10000
order by username, sid
hope this helps.
al -
Hi all,
what is the impact of changing a KFF segment name?
thanks in advance,In my opinion there shouldn't be much of an issue if you change the segment name. The possible issues that I foresee are:
1. If there is a self service personalization on this KFF which refers to this segment name, it might go for a toss. For example, there would be an issue if you have personalized the page to display only 3 out of 5 segments defined for the KFF and the list of displayed segments includes the segment that you are modifying. This is because to personalize the KFF you enter the names of the segments to be displayed.
2. And of course, if there is any custom code which refers to the segment names you'll have to update that too.
However, I am a little curious to know why you need to change the name of the segment because in most cases it should suffice to change the Window prompt only.
Regards,
Manish Kataria -
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 -
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 -
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,
Srinivassome 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
Maybe you are looking for
-
hi all i have created a workbook with sheet1 and sheet2. now in sheet2 one of the rows needs to be calculated . ex: result from sheet1 = zres1 result from sheet2=zres2 now below zres2 ,i want to add another row ,which is zres1-zres2. how can i achiev
-
Flash cs5 extension - backward apk version
Hi Ive done a test apk within Flash CS5 with the latest extension (flashpro_extensionforair_p1_102510.zxp) then install it using android SDK 7 using the emulator = Runtime_Emulator_Froyo_20100909.apk Well now I want to install/emulate as android ver
-
Installing CS4 Design Standard as an upgrade from InDesign
Installing CS4 Design Standard as an upgrade from InDesign CS on Mavericks OS but serial numbers not valid. Is there a keystroke to override this hangup?
-
Deleted emails keep re-appearing ??
Hi All Very strange thing keeps happening over the last week or so :- I have 3 email accounts on my iPhone when I delete any of these emails after reading them ( and emptying the trash ) they mysteriously keep re-appearing back in my in-box when I re
-
Constant low battery with 3rd replacement 5G ipod
I am really getting frustrated with my ipod. My first one went dead, they sent me a replacement ipod, which had harddrive issues.. sent me a third one, that one had the same problem... they sent me a 4th one which I got now, and with this one I got t