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:
-
Change the default.pfl of this agent, adding parameter service/trace = 2.
-
Clean the agent work folder.
-
Ensure that the agent process is not running, kill it if necessary.
-
Restart the agent trying the 2 following commands:
-
/usr/sap/DAD/SMDA<XX>/exe/sapstartsrv pf=/usr/sap/DAD/SYS/profile/DAD_SMDA<XX>_<host>
("<XX>" above is the agent instance) -
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
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 for Me (Login required).Search for additional results
Visit SAP Support Portal's SAP Notes and KBA Search.