SAP Knowledge Base Article - Preview

2420245 - Diagnostics Agent does not start - Startup of Instance Service failed

Symptom

The Diagnostics Agent doesn't start.

In this case, the work folder of the agent is not updated. You may try to start the agent with the command below:

startsap SMDA<XX>

It will fail and show the following message:

Starting Startup Agent sapstartsrv
FAIL: Timeout
Startup of Instance Service failed
See /home/dadadm/startsap_SMDA<XX>.log for details

The mentioned file will not contain much information, like below:

17:27:57
Starting Startup Agent sapstartsrv
-----------------------------------------
17:29:58
Startup of Instance Service failed
-------------------------------------------
17:29:58

See /home/dadadm/startsap_SMDA98.log for details


To have more information about the error, the following must be done:

  1. Change the default.pfl of this agent, adding parameter service/trace = 2.

  2. Clean the agent work folder.

  3. Ensure that the agent process is not running, kill it if necessary.

  4. Restart the agent trying the 2 following commands:

    1. /usr/sap/DAD/SMDA<XX>/exe/sapstartsrv pf=/usr/sap/DAD/SYS/profile/DAD_SMDA<XX>_<host>
      ("<XX>" above is the agent instance)

    2. sapcontrol -nr <agent instance> -function RestartService

More details should be available in the sapstartsrv.log:

[Thr 01] GwMonSetGwhost: / >> localhost/sapgw98
[Thr 01] *** ERROR => JsfCloseShm: Static shared memory is not initialized. [jsfxxshm_mt. 2074]
[Thr 01] *** ERROR => SemRmMgt: Sema Mgt Table not init'd [semux0_mt.c 1749]
[Thr 01] ShmDelete2( 84 )
[Thr 01] *** ERROR => ShmDelete2(84): ShmAdm not present. [shmux0_mt.c 2883]
[Thr 01] ShmDelete2( 83 )


Read more...

Environment

Diagnostics Agent running on AIX

Product

SAP Solution Manager 7.1 ; SAP Solution Manager 7.2

Keywords

KBA , BC-CST-STS , Startup Service , SV-SMG-DIA-SRV-AGT , Agent Framework , Problem

About this page

This is a preview of a SAP Knowledge Base Article. Click more to access the full version on SAP ONE Support launchpad (Login required).

Search for additional results

Visit SAP Support Portal's SAP Notes and KBA Search.