Cannot stop CCMS Agent
Hi experts,
I've done the CCMS agent registration manually, just once, local & central system both in the same setup procedure. The registration was sucessful, but in RZ21 (both local, central) the agent in is mode SHUTDOWN). EXA=local, GMD=central. It was not possible to open an RFC connection (registered server program not registered).
I now want to undo the registration, but this doesn't work because the running ccms agent does not want to stop.
When I do : sapccmsr -status -j2ee [ pf=<complete path of agent profile file> ]
CCMS agent running on this machine: ********
sapccmsr with profile /sapmnt/EXA/profile/...
registered at central system GMD
registered at central system
CCMS version 20040229, 64 bit
Process Id 6991946
relno 7000
patchno 102
intno 20050900
When I try top stop it with : sapccmsr -stop -j2ee [ pf=<complete path of agent profile file> ]
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
I can't get it to shutdown, no matter how many times I try or how long I wait. Is there a way to kill this agent another way? Is this agent located on R/3, java stack or outside sap instance? Can I stop this agent by restarting the whole sap instance ?
Problem is solved. The CCMS agent was actually not running, altough in the status it says it is running. Somehow the process has crashed, only the agent program is not aware of this. It makes sense that the shutdown command doesn't work, it's impossible to stop a process that no longer exits.
All processes were cleaned up after a restart of the box.
Similar Messages
-
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 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 -
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 -
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 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 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 -
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,
AlexanderI 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$ -
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 all
I use scripts to stop and start admin server and cluster.
After include " -Xmanagement:autodiscovery=true,authenticate=false,ssl=false,port=11202" as JVM parameters, I cannot stop the admin server using stopWebLogic.sh.
If I stop from console it works.
This error seems a port conflict when trying to start a new JVM to stop Adminserver...
Stopping Weblogic Server...
[ERROR][mgmnt ] JMX connector server communication error: null
java.lang.RuntimeException: Error: JMX connector server communication error: nul
l
at oracle.jrockit.management.server.Messages.error(Messages.java:109)
at oracle.jrockit.management.server.Messages.error(Messages.java:123)
at oracle.jrockit.management.server.Agent.main(Agent.java:165)
at oracle.jrockit.management.server.Agent.agentmain(Agent.java:101)
at oracle.jrockit.management.server.Agent.start(Agent.java:214)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.
java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
sorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at jrockit.management.AgentStarter.startAgent(AgentStarter.java:135)
Caused by: oracle.jrockit.management.server.AgentError
at oracle.jrockit.management.server.JMXConnector.startNewServerImpl(JMXC
onnector.java:82)
at oracle.jrockit.management.server.RemoteJMXConnector.newServer(RemoteJ
MXConnector.java:233)
at oracle.jrockit.management.server.sun.RemoteJMXConnectorImpl.newServer
(RemoteJMXConnectorImpl.java:112)
at oracle.jrockit.management.server.RemoteJMXConnector.startNewServer(RemoteJMXConnector.java:181)
at oracle.jrockit.management.server.JMXConnector.start(JMXConnector.java:64)
at oracle.jrockit.management.server.Agent.start(Agent.java:64)
at oracle.jrockit.management.server.Agent.main(Agent.java:163)
... 7 more
Caused by: java.rmi.server.ExportException: Port already in use: 11202; nested exception is:
java.net.BindException: Address already in use
at sun.rmi.transport.tcp.TCPTransport.listen(TCPTransport.java:310)
at sun.rmi.transport.tcp.TCPTransport.exportObject(TCPTransport.java:218)
at sun.rmi.transport.tcp.TCPEndpoint.exportObject(TCPEndpoint.java:394)
at sun.rmi.transport.LiveRef.exportObject(LiveRef.java:130)
at sun.rmi.server.UnicastServerRef.exportObject(UnicastServerRef.java:190)
at oracle.jrockit.management.server.sun.SunRMIExporter.exportObject(SunRMIExporter.java:36)
at javax.management.remote.rmi.RMIJRMPServerImpl.export(RMIJRMPServerImpl.java:84)
at javax.management.remote.rmi.RMIJRMPServerImpl.export(RMIJRMPServerImpl.java:76)
at javax.management.remote.rmi.RMIConnectorServer.start(RMIConnectorServer.java:388)
at oracle.jrockit.management.server.JMXConnector.startNewServerImpl(JMXConnector.java:80)
... 13 more
Caused by: java.net.BindException: Address already in use
at java.net.PlainSocketImpl.socketBind(Native Method)
at java.net.PlainSocketImpl.bind(PlainSocketImpl.java:365)
at java.net.ServerSocket.bind(ServerSocket.java:319)
at java.net.ServerSocket.<init>(ServerSocket.java:185)
at java.net.ServerSocket.<init>(ServerSocket.java:97)
at sun.rmi.transport.proxy.RMIDirectSocketFactory.createServerSocket(RMIDirectSocketFactory.java:27)
at sun.rmi.transport.proxy.RMIMasterSocketFactory.createServerSocket(RMIMasterSocketFactory.java:333)
at sun.rmi.transport.tcp.TCPEndpoint.newServerSocket(TCPEndpoint.java:649)
at sun.rmi.transport.tcp.TCPTransport.listen(TCPTransport.java:299)
at sun.rmi.transport.tcp.TCPTransport.exportObject(TCPTransport.java:218)
at sun.rmi.transport.tcp.TCPEndpoint.exportObject(TCPEndpoint.java:393)
at sun.rmi.transport.LiveRef.exportObject(LiveRef.java:129)
at sun.rmi.server.UnicastServerRef.exportObject(UnicastServerRef.java:190)
at oracle.jrockit.management.server.sun.SunRMIExporter.exportObject(SunRMIExporter.java:36)
at javax.management.remote.rmi.RMIJRMPServerImpl.export(RMIJRMPServerImpl.java:84)
at javax.management.remote.rmi.RMIJRMPServerImpl.export(RMIJRMPServerImpl.java:75)
at javax.management.remote.rmi.RMIConnectorServer.start(RMIConnectorServer.java:388)
at oracle.jrockit.management.server.JMXConnector.startNewServerImpl(JMXConnector.java:80)
at oracle.jrockit.management.server.RemoteJMXConnector.newServer(RemoteJMXConnector.java:233)
at oracle.jrockit.management.server.sun.RemoteJMXConnectorImpl.newServer(RemoteJMXConnectorImpl.java:112)
at oracle.jrockit.management.server.RemoteJMXConnector.startNewServer(RemoteJMXConnector.java:181)
at oracle.jrockit.management.server.JMXConnector.start(JMXConnector.java:64)
at oracle.jrockit.management.server.Agent.start(Agent.java:64)
at oracle.jrockit.management.server.Agent.main(Agent.java:163)
at oracle.jrockit.management.server.Agent.agentmain(Agent.java:100)
at oracle.jrockit.management.server.Agent.start(Agent.java:213)
... 5 more
Could not create the Java virtual machine.
DoneThis is because the process to stop the JVM is also trying to use the same host/port combination for the remote JRockit monitoring as the same setDomainEnv script is likely called in either case. What you want to do is ignore those options when launching the JVM (the WLST script) that tells the server to shut down.
-
Hi all
I use scripts to stop and start admin server and cluster.
After include " -Xmanagement:autodiscovery=true,authenticate=false,ssl=false,port=11202" as JVM parameters, I cannot stop the admin server using stopWebLogic.sh.
If I stop from console it works. Error seems a port conflict when trying to start a new JVM to stop Adminserver...
Stopping Weblogic Server...
[ERROR][mgmnt ] JMX connector server communication error: null
java.lang.RuntimeException: Error: JMX connector server communication error: nul
l
at oracle.jrockit.management.server.Messages.error(Messages.java:109)
at oracle.jrockit.management.server.Messages.error(Messages.java:123)
at oracle.jrockit.management.server.Agent.main(Agent.java:165)
at oracle.jrockit.management.server.Agent.agentmain(Agent.java:101)
at oracle.jrockit.management.server.Agent.start(Agent.java:214)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.
java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
sorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at jrockit.management.AgentStarter.startAgent(AgentStarter.java:135)
Caused by: oracle.jrockit.management.server.AgentError
at oracle.jrockit.management.server.JMXConnector.startNewServerImpl(JMXC
onnector.java:82)
at oracle.jrockit.management.server.RemoteJMXConnector.newServer(RemoteJ
MXConnector.java:233)
at oracle.jrockit.management.server.sun.RemoteJMXConnectorImpl.newServer
(RemoteJMXConnectorImpl.java:112)
at oracle.jrockit.management.server.RemoteJMXConnector.startNewServer(RemoteJMXConnector.java:181)
at oracle.jrockit.management.server.JMXConnector.start(JMXConnector.java:64)
at oracle.jrockit.management.server.Agent.start(Agent.java:64)
at oracle.jrockit.management.server.Agent.main(Agent.java:163)
... 7 more
Caused by: java.rmi.server.ExportException: Port already in use: 11202; nested exception is:
java.net.BindException: Address already in use
at sun.rmi.transport.tcp.TCPTransport.listen(TCPTransport.java:310)
at sun.rmi.transport.tcp.TCPTransport.exportObject(TCPTransport.java:218)
at sun.rmi.transport.tcp.TCPEndpoint.exportObject(TCPEndpoint.java:394)
at sun.rmi.transport.LiveRef.exportObject(LiveRef.java:130)
at sun.rmi.server.UnicastServerRef.exportObject(UnicastServerRef.java:190)
at oracle.jrockit.management.server.sun.SunRMIExporter.exportObject(SunRMIExporter.java:36)
at javax.management.remote.rmi.RMIJRMPServerImpl.export(RMIJRMPServerImpl.java:84)
at javax.management.remote.rmi.RMIJRMPServerImpl.export(RMIJRMPServerImpl.java:76)
at javax.management.remote.rmi.RMIConnectorServer.start(RMIConnectorServer.java:388)
at oracle.jrockit.management.server.JMXConnector.startNewServerImpl(JMXConnector.java:80)
... 13 more
Caused by: java.net.BindException: Address already in use
at java.net.PlainSocketImpl.socketBind(Native Method)
at java.net.PlainSocketImpl.bind(PlainSocketImpl.java:365)
at java.net.ServerSocket.bind(ServerSocket.java:319)
at java.net.ServerSocket.<init>(ServerSocket.java:185)
at java.net.ServerSocket.<init>(ServerSocket.java:97)
at sun.rmi.transport.proxy.RMIDirectSocketFactory.createServerSocket(RMIDirectSocketFactory.java:27)
at sun.rmi.transport.proxy.RMIMasterSocketFactory.createServerSocket(RMIMasterSocketFactory.java:333)
at sun.rmi.transport.tcp.TCPEndpoint.newServerSocket(TCPEndpoint.java:649)
at sun.rmi.transport.tcp.TCPTransport.listen(TCPTransport.java:299)
at sun.rmi.transport.tcp.TCPTransport.exportObject(TCPTransport.java:218)
at sun.rmi.transport.tcp.TCPEndpoint.exportObject(TCPEndpoint.java:393)
at sun.rmi.transport.LiveRef.exportObject(LiveRef.java:129)
at sun.rmi.server.UnicastServerRef.exportObject(UnicastServerRef.java:190)
at oracle.jrockit.management.server.sun.SunRMIExporter.exportObject(SunRMIExporter.java:36)
at javax.management.remote.rmi.RMIJRMPServerImpl.export(RMIJRMPServerImpl.java:84)
at javax.management.remote.rmi.RMIJRMPServerImpl.export(RMIJRMPServerImpl.java:75)
at javax.management.remote.rmi.RMIConnectorServer.start(RMIConnectorServer.java:388)
at oracle.jrockit.management.server.JMXConnector.startNewServerImpl(JMXConnector.java:80)
at oracle.jrockit.management.server.RemoteJMXConnector.newServer(RemoteJMXConnector.java:233)
at oracle.jrockit.management.server.sun.RemoteJMXConnectorImpl.newServer(RemoteJMXConnectorImpl.java:112)
at oracle.jrockit.management.server.RemoteJMXConnector.startNewServer(RemoteJMXConnector.java:181)
at oracle.jrockit.management.server.JMXConnector.start(JMXConnector.java:64)
at oracle.jrockit.management.server.Agent.start(Agent.java:64)
at oracle.jrockit.management.server.Agent.main(Agent.java:163)
at oracle.jrockit.management.server.Agent.agentmain(Agent.java:100)
at oracle.jrockit.management.server.Agent.start(Agent.java:213)
... 5 more
Could not create the Java virtual machine.
Done
Edited by: lalbuque on 24/08/2010 06:46Where do you add -Xmanagement... to your jvm parameters?
If you do it in setDomainEnv I guess you will get the described behaviour.
If so, could you move -Xmanagment.. to startWeblogic or some other script that starts the jvm instance you actually want to monitor with Mission Control?
(Not sure if this is the proper way to do it, but at least it could work)
Klara, JRockit Mission Control QA -
Hi,
I have read some of the existing threads on here about CCMS agents but it seems it does not answer some of my questions. I am setting up ccms system monitoring using SolMan, as the CEN. So far i have used sapccm4x to monitor our standalone ABAP systems and i have used sapccmsr to monitor our double stack systems (ABAP/Java). Now from what i can analyse on the system, it seems double stack systems have 2 profile files, one for ABAP instance and one for Java instance both, which have different instance numbers. Now if i start sapccmsr with the option -j2ee using the ABAP instance profile it says it cannot start becuase -j2ee is for java instance not ABAP, so that i can understand. If i wanted to use sapccmsr to monitor the java instance i could use the java instance profile but with the option -j2ee or alternatively i could go into the Visual Administrator and setup sapcmmsr there...correct??
I have also used ccmsping for availability monitoring all ABAP instances and used GRMG heartbeat availability monitoring for Java instance in visual admin.
Other thing that puzzled me was that to centrally check all systems we use the RZ20 in CEN to check threshold levels, which we need to set?
I would use DSWP txn -> Solution Monitoring for setup the thresholds on user defined entries.
thanks,
ManiHi,
To answer your question--
1. If i wanted to use sapccmsr to monitor the java instance i could use the java instance profile but with the option -j2ee or alternatively i could go into the Visual Administrator and setup sapcmmsr there...correct??
For java stack, you need to use correct command for registering SAPCCMSR, with -j2ee option and with correct java profile, once it is registered, you need to have correct settings define in Visual Admin also.
2. Other thing that puzzled me was that to centrally check all systems we use the RZ20 in CEN to check threshold levels, which we need to set?
I would use DSWP txn -> Solution Monitoring for setup the thresholds on user defined entries
Any one option you can use above, ideally RZ20 was used along with appropriate threshold values, but now we can also make use of DSWP, for satellite system configuration. -
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
ShradhaHi 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 -
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,
Maybe you are looking for
-
3000 n200 0769-BRG upgrade options and poss duff microphone
Hi all nice forum, I recieved a 3000 n200 0769-BRG (TY2BRUK) for my birthday last week and after getting rid of Vista and installing xp pro am very pleased with it. Quick couple of questions however; The microphone is extr
-
Windows Vista Parental Controls Preventing Connection to iTunes Store?
I really have two questions, one of which I think I have resolved but would like to find a more elegant way of handling. Let's tackle that first, after I provide some background. I have been "managing" the contents of my son's iPod using my computer.
-
Sun Application Server 8.2
When I try to debug my enterprise application in netbeans 5.0, I get the following errormessage: Deploying application in domain failed; Could not rename C:\Sun\AppServer\domains\domain1\applications\j2ee-apps\entityautocomp to C:\Sun\AppServer\domai
-
Pixie - photo management app for minimalists
Hey, I started working on a personal app for managing my pictures and generating albums. Upon talking about it with colleagues it seems a lot of people struggle with the same problems so this may be just what you need. the idea is pretty simple: * sm
-
Redirect to junkmail@mydomain bouncing back! (with redirect enabled)
On a 10.4.7 server with mail bouncing disabled in server admin (actually spam mail is redirected to another mailbox). Worked well for months and nothing has been changed in server configuration. Anyone with the same problem?