SAP Knowledge Base Article - Preview

1939330 - Diagnostics Agent is not able to connect the SAPStartSrv service of the Managed System

Symptom

The SAPStartSrv provides several information’s about the instance status of the managed systems, if the connection between the SMDAgent and SAPStartSrv service of the managed instance does not work some applications may start to fail. Some symptoms are the following:

  1. After performing the managed system configuration for a SAP Netweaver JAVA system, the SMDAgentApplication logs show the following issue to access the SAPControl Web Service.

<timestamp> [Thread[SapStartSrv_<instance>,5,WILYHOS...] Warning    com.sap.smd.wily.hostagent.sapcontrol.SapControlAction - doRun:  
[EXCEPTION]
java.rmi.RemoteException.Service call exception; nested exception is: com.sap.engine.services.webservices.jaxrpc.exceptions.InvalidResponseCodeException: Invalid Response Code: (401) Unauthorized. The requested
URL was:http://<hostname>:5<XX>13/SAPControl.cgi

 [EXCEPTION]
{0}#1#com.sap.smd.mai.model.collector.CollectorException: [SAPControlWSCollector.collect] Web Service execution failed for operation: ReadLogFile. Collector : [SAPControlWSCollector]
Id: 00000000000000000012, SID: XXX, instance number:00

 

  1. The step "Check Configuration" of Managed System Configuration show the error below:
The Diagnostics Agent is not able to connect the Satellite System (J2EE stack).
-

<timestamp> [Thread[SapStartSrv_<instance>,5,WILYHOS...] Warning    com.sap.smd.wily.hostagent.sapcontrol.SapControlAction - doRun:  
[EXCEPTION]
java.rmi.RemoteException: Service call exception; nested exception is:
com.sap.engine.services.webservices.jaxrpc.exceptions.InvalidResponseCodeException: Invalid Response Code: (401) Unauthorized. The requested URL
was:"http://<hostname>:5<XX>13/SAPControl.cgi"

  1. Technical System Monitoring metrics for the instances are grey:

The metrics which uses the SAPStartSrv commands for exaxmple: J2EEGetProcessList, ReadLogFile, ABAPReadSyslog and ListLogFiles can be affected by the problem. When this problem occurs, the e2emai.log of affected SMDAgent will show an error similar to the following:

Original error : [EXCEPTION] com.sap.smd.mai.model.collector.CollectorException: [SAPControlWSCollector.collect] Web Service execution failed for operation: AbapReadSysLog. Collector : [SAPControlWSCollector]
Id: 00000000000000000001, SID: SOL, instance number:00
com.sap.smd.mai.model.collector.CollectorException: [SAPControlWSCollector.collect] Web Service execution failed for operation: AbapReadSysLog. Collector : [SAPControlWSCollector]
Id: 00000000000000000001, SID: SOL, instance number:00

 

  1. The extractor 'CONFIGURATION (OS COMMAND)' which fails with the following error:
Exception while retrieving E2EStore - Invalid Response Code: (401) Unauthorized. The requested URL was:"http://<managed_system_host>:5XX13/SAPControl.cgi"

The following picture describes the error in the extractor:

issue.png


Read more...

Environment

SAP Solution Manager 7.10

Managed System with note 1439348 implemented

 

Product

SAP Solution Manager 7.1

Keywords

KBA , SV-SMG-DIA-WLY-HST , Host Adapter , 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.