cancel
Showing results for 
Search instead for 
Did you mean: 

Web Service execution failed for operation: ReadLogFile

thorstenhenrici
Explorer
0 Kudos

Hello,

im getting the following error message in almost all of my Diagnostic Agent log files:

[MAIJobObserver] ERROR occurred for metric collection
00000000000000000019[com.sap.smd.mai.model.collector.SAPControlWSCollector].

[EXCEPTION]
com.sap.smd.mai.model.collector.CollectorException:
[SAPControlWSCollector.collect] Web Service execution failed for operation:
ReadLogFile. Collector : [SAPControlWSCollector]
Id: 00000000000000000019,
SID: EPX, instance number:00
at
com.sap.smd.mai.model.collector.SAPControlWSCollector.collect(SAPControlWSCollector.java:200)
at
com.sap.smd.mai.job.MetricJobRunner.run(MetricJobRunner.java:25)
at
com.sap.smd.server.exec.TaskRunner.run(TaskRunner.java:46)
at
com.sap.smd.server.util.concurrent.PooledExecutor$Worker.run(PooledExecutor.java:785)
at
java.lang.Thread.run(Thread.java:722)
Caused by: 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>:50013/SAPControl.cgi

I checked on SAP note 1563660 - sapcontrol, <sid>adm authorization issues (SUM) and confirmed, that ALL installations of the "sapuxuserchk" program are set with "chown root.sapsys" and "chmod u+s,o-rwx". I restarted the diagnostic Agent aftwards.

I also checked on host_profile an made sure, that the parameter "service/admin_users = daaadm" is set.

Still I get the above error messages, so I am at a loss what else to do...

A lot of thanks for your Support !

Best regards,

Thorsten

Accepted Solutions (0)

Answers (2)

Answers (2)

divyanshu_srivastava3
Active Contributor
0 Kudos

Hi Henrici,

Put your agent in debug mode in agent admin and try to get more information on this.

Also, did you update the host agent profile ?

Regards,

Divyanshu

Former Member
0 Kudos

Hi Thorsten,

Please check the user used for registration of Diagnostic agent to Solution Manager has appropriate roles assigned (e.g. user SMD_ADMIN)

Also please update to latest patch of SAP Host agent and then try again.

Hope this helps

Thanks & Regards,

Nisha