cancel
Showing results for 
Search instead for 
Did you mean: 

Proper entry in /etc/inittab for CCMS agents

Former Member
0 Kudos

Hello,

We tried to add the following entries in our sandbox in order to test and implement later in across our landscape. Our goal is to have CCMS agents (both ABAP/Java) to run at startup of the UNIX (HP-UX v11.31) automatically during bootup. Instance here is SCT:

sctx:23:respawn:/sbin/sh -c "/sapmnt/SCT/exe/sapccm4x -DCCMS pf=/sapmnt/SCT/profile/SCT_DVEBMGS09_jusct"

sctp:23:respawn:/sbin/sh -c "/sapmnt/SCT/exe/ccmsping -DCCMS -push -n09 pf=/sapmnt/SCT/profile/SCT_DVEBMGS09_jusct

I looked at:

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

but no details mentioned on the syntax required to such a task...

Is there another way or do we have another problem ?

Extra info:

juemdtrg:sctadm 50> sapccmsr -V

CCMS version 20040229, 64 bit, multithreaded, Unicode

compiled at Nov 18 2008

systemid 274 (HP (IA-64) with HP-UX)

relno 7000

patch text patch collection 2008/4, OSS note 1129577/1136330

patchno 185

INFO Runtime:

running on juemdtrg HP-UX B.11.31 U ia64

running without profile

juemdtrg:sctadm 51> 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

ERROR: cannot open config file /usr/sap/tmp/sapccmsr/csmconf.

INFO: Checking shared memory status of sapccmsr

                • CCMS Agent is not registered ********

                • sapccmsr Agent is not running ********

EXITING with code -1

Thanks,,,,

Accepted Solutions (0)

Answers (1)

Answers (1)

nelis
Active Contributor
0 Kudos

sctx:23:respawn:/sbin/sh -c "/sapmnt/SCT/exe/sapccm4x -DCCMS pf=/sapmnt/SCT/profile/SCT_DVEBMGS09_jusct"

sctp:23:respawn:/sbin/sh -c "/sapmnt/SCT/exe/ccmsping -DCCMS -push -n09 pf=/sapmnt/SCT/profile/SCT_DVEBMGS09_jusct

As far as I'm aware the agents need to be started as your <SID>adm user not root as might be happening in your startup. I would add those above two commands in a single executable file and then start it using 'su -l sctadm -c <path to file>' or create a proper startup script in /sbin/init.d.

Also check your permissions.

Nelis

Former Member
0 Kudos

Hello Neils,

Brilliant idea. what didn't I think of this in the first place ?

Anyway I'll try and get back to you.

Thanks,,,,