cancel
Showing results for 
Search instead for 
Did you mean: 

Problem with diagnostic agent

Former Member
0 Kudos

Hello,

I have a problem with diagnostic agent on one host. When I try connect agent to server in solution manager in "Assign diagnostics agent" step it is not available to find him. I tried reinstall agent but after that on os level when I execute ps command I see only :

no more processes for daa. On other servers I have more processes and them I can connect with agent in solman.

When I try 'startsap' it is up for a while but after couple of seconds it back to down.

In agentadmin is not available too.

could you help mesolve my problem ?

Best Regards,

Maciej

Accepted Solutions (0)

Answers (4)

Answers (4)

Former Member
0 Kudos

Reinstall once again has solved a problem. Thank you for your replies anyway.

Former Member
0 Kudos


Have you updated the saphost agent host_profile to include the service user / <sid>adm / <diagnosticsagent_sid>adm user?

divyanshu_srivastava3
Active Contributor
0 Kudos

Hi,

Follow below steps.

Logon as daaadm user

GIve command "stopsap SMDAXX" where XX is the instance number of agent.
Now goto the script directly and execute below script

Connect to solution manager

smdsetup managingconf hostname:"servername" port:"5xxxx" user:"SMD_USER" pwd:"xxxxxxx"

Connect to solution manager trough port or P4

smdsetup managingconf hostname:"servername" port:"xxxxx" user:"SOLMAN_ADMIN" pwd:"xxxx"

Once this is done and sucessfull "startsap SMDAXX"

Now goto log directory and check smd connection logs.

If there are error, please share, else if all is fine, goto solman and MSC for that system and try to check the diagnostic agent and check the status in agent admin, whose link is there on that same place page.


Regards,

yakcinar
Active Contributor
0 Kudos

Hello Maciej,

It seems as if your hostagent is not running? You need to see 2 sapstartsrv. 1 for DA and one for HA.

Try running below commmands and check ps -ef again.

./saphostexec -status

./saphostexec -restart

If this does not work upgrade HostAgent using below note.

1031096 - Installing Package SAPHOSTAGENT

Regards,

Yuksel AKCINAR

Former Member
0 Kudos

Hello,

Thank Yout for quick reply.

./saphostexec -status:

so it is still running

yakcinar
Active Contributor
0 Kudos

Hello Maciej,

Can you try "Direct Solution Manager Registration"  part of below link.

Diagnostics Agents - SAP Solution Manager Setup - SCN Wiki

Regards,

Yuksel AKCINAR

Former Member
0 Kudos

Hi Maciej,

In addition yo Yuksel recommendation, check the following KBA which explains quickly how to directly connect the agent to the solution manager:

1907909 - How to connect Diagnostics Agent to Solution Manager system directly by using smdsetup script

Afterwards, it should appear in Agent Administration.

best regards,

Fabricius

Former Member
0 Kudos

Hello,

Thank you for replies.

I tried execute steps from '1907909' and Diagnostics Agents - SAP Solution Manager Setup - SCN Wiki. 

I got response after execute script "Task completed with status SUCCESS (0)" but Agent still is not available in agent admin in solution manager

best regards,

Maciej