cancel
Showing results for 
Search instead for 
Did you mean: 

sapccmsr dies on a database only host

Former Member
0 Kudos

Hi admins,

I like to monitor a database only server with sapccmsr

I created a profile like this.

#profiel voor db agent CCMSR P13

alert/MONI_SEGM_SIZE = 25000000

DIR_PERF = /usr/sap/P13/DVEBMGS65/log/dblog

DIR_WORK_SAPOSCOL = /usr/sap/tmp

#exe/saposcol = /sapmnt/P13/exe/saposcol

SAPLOCALHOST = dbp13-se

SAPSYSTEM = 00

SAPSYSTEMNAME = P13

DIR_LOGGING = /usr/sap/P13/DVEBMGS65/log/dblog

#----


  1. start SAPCCMSR

#----


Execute_03 = local /sapmnt/P13/exe/sapccmsr -DCCMS pf=/sapmnt/P13/profile/START_CCMSR_dbp13

Stop_Program_04 = local /sapmnt/P13/exe/sapccmsr -stop pf=/sapmnt/P13/profile/START_CCMSR_dbp13

#----


I did a registration of the agent. This registration was succesfull.

If I try to start the agent I'll get the message:

**********************************************************

Another CCMS Agent is already running with this profile.

**********************************************************

If I try to stop it I'll get the message:

INFO: sapccmsr is not running. Nothing to do!

If i try to reset the shared memory, the result is OK.

With a ps -ef | grep ccm, the process does not show up

What do I have to do to get sapccmsr running on a database only server (Oracle)

Greetings,

Wim Alsemgeest

Accepted Solutions (0)

Answers (2)

Answers (2)

Former Member
0 Kudos

Problem is solved

Former Member
0 Kudos

Hi,

You have two options:

1. Try clearing the shared memory as follows:

sapccmsr -initshm pf=<instance profile>

If this command does not work, check out the exact command.

2. Deregister the agent and register it again.

If this doesn't work, please compare your configuration with the steps given at the following link:

http://help.sap.com/saphelp_nw04/helpdata/en/48/6a76607a7c91409474ad6c7b6f5a26/frameset.htm

Do let me know if this works.

Regards,

Shitij

Former Member
0 Kudos

Hi,

I did clear the shared memory using

sapccmsr -initshm pf=<profile>

I did unregister and register the agent again. This did not resolf the problem.

The url tell's things about the usage and installation of the agents. I can't there find information of how to use the sapccmsr agent for database only servers. The sapccmsr agent is explaned with the option -j2ee. For a database only server this option is not permitted.

The registration was therefor done by

sapccmsr -R pf=<profile>

The registration was succesfull, but the agent could not be started.

There is already a sapccmsr agent running with this profile.

This is not the case.

==================================================

app56p13:p13adm 100> ps -ef | grep ccm

p13adm 16969 23015 0 06:25 pts/0 00:00:00 grep ccm

app56p13:p13adm 101>

==================================================

After again clearing the shared memory the agent reports its pid

INFO:

pid 17004

This pid is not present on the system.

===================================================

app56p13:p13adm 102> ps -ef | grep 17004

p13adm 17021 23015 0 06:27 pts/0 00:00:00 grep 17004

app56p13:p13adm 103>

===================================================

How do I investigate this problem further?

Greetings

Wim Alsemgeest

Former Member
0 Kudos

>

> Hi,

>

> I did clear the shared memory using

> sapccmsr -initshm pf=<profile>

>

then try to clean it using ipcrm and of course please check it before using ipcs -m

Good luck,

Denny

Former Member
0 Kudos

The problem was that the ccmsr agent for the database was indeed started on a other server.

I stopped this agent and started it on the database.

Simple as that.

Thanx for the help.

Wim Alsemgeest