SAP Knowledge Base Article - Preview

3435711 - Agent on-the-fly node cannot be started due to stuck in Agent.jar - SAP Solution Manager 7.2

Symptom

Agent on-the-fly node cannot be started. 

After running command resetall on the physical host, the following error appears:

......

Found agent node for virtualhost: <agent node>

Removing agent '<agent node>'...

Diagnostics agent process 'smdagent_<agent node>' will be stopped.

Entering SMDAgentInstanceProperties
Entering SMDAgentInstanceProperties.loadFile()
SMDAgentInstanceProperties.addJavaParameter():-DP4ClassLoad=P4Connection
SMDAgentInstanceProperties.addJavaParameter():-Xmx256m
SMDAgentInstanceProperties.addJavaParameter():-Xms256m
SMDAgentInstanceProperties.addJavaParameter():-XX:MaxPermSize=128m
Error: agent node process smdagent_<agent node> not found in smdagentgroup.properties.

Removing agent folder ....

Jan 27, 2024 4:02:39 PM                        com.sap.smd.server [Thread[main,5,main]] Error: Unable to delete file (Disk):\usr\sap\<SID>\SMDA<Instance-ID>\SMDAgent_<agent node> \applications.config\com.sap.smd.agent.application.wily\BytecodeAgent\ISAGENT.10.8.0.0-2022-12-19\wily\Agent.jar
Jan 27, 2024 4:02:39 PM                        com.sap.smd.server [Thread[main,5,main]] Error: Unable to delete directory (Disk):\usr\sap\<SID>\SMDA<Instance-ID>\SMDAgent_<agent node>\applications.config\com.sap.smd.agent.application.wily\BytecodeAgent\ISAGENT.10.8.0.0-2022-12-19
Jan 27, 2024 4:02:39 PM                        com.sap.smd.server [Thread[main,5,main]] Error: Unable to delete directory (Disk):\usr\sap\<SID>\SMDA<Instance-ID>\SMDAgent_<agent node>\applications.config\com.sap.smd.agent.application.wily\BytecodeAgent
Jan 27, 2024 4:02:39 PM                        com.sap.smd.server [Thread[main,5,main]] Error: Unable to delete directory (Disk):\usr\sap\<SID>\SMDA<Instance-ID>\SMDAgent_<agent node>\applications.config\com.sap.smd.agent.application.wily
Jan 27, 2024 4:02:39 PM                        com.sap.smd.server [Thread[main,5,main]] Error: Unable to delete directory (Disk):\usr\sap\<SID>\SMDA<Instance-ID>\SMDAgent_<agent node>\applications.config
Jan 27, 2024 4:02:39 PM                        com.sap.smd.server [Thread[main,5,main]] (Disk):\usr\sap\<SID>\SMDA<Instance-ID>\SMDAgent_<agent node>\temp\AutoProbe.SJP_J25_server0.log
Jan 27, 2024 4:02:39 PM                        com.sap.smd.server [Thread[main,5,main]] (Disk):\usr\sap\<SID>\SMDA<Instance-ID>\SMDAgent_<agent node>

!! Error !! cannot remove the agent folder directory (currently used files).

Found agent node for virtualhost: <agent node>

Removing agent '<agent node>'...

Diagnostics agent process 'smdagent_<agent node>' will be stopped.

Task completed with status ERROR (3)


Read more...

Environment

  • SAP Solution Manager 7.2
  • Diagnostic Agent Agent on-the-fly

Product

SAP Solution Manager 7.2

Keywords

Agent.jar, SMDAgent, -javaagent, isagent, byte code agent, bytecode, configtool   , KBA , 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.