cancel
Showing results for 
Search instead for 
Did you mean: 

SAP Host Agents not connecting.

Former Member
0 Kudos

While running managed system setup we found that Our SAPhost agents fail to connect reason being.

"The diagnostics agent os user domain\daaadm is not authorized to establish

a trusted connection to SAP host agent, check the service/admin_users

property of SAP host agent profile. (cause java.io.FileNotFoundException:

C:\Program Files\SAP\hostctrl\work\sapcontrol_logon\logon54 (Access is

denied))

<SAPHostAgentTrustedConnectionConfigurator.java:364:setupTrustedConnection()>"

Parameter service/admin_users in the host_profile as recommended.

service/admin_users = domain\SapServiceDAA domain\daaadm domain\sapadm

even then this fails to work.

Regards

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Hi Marvan/Abhishek

Have to checked the file permissions as suggested by Ratnajit?

Are you not able to connect only managed system host agents or Solution Manager host agent also?

I know you would have already check this note but just in case you have not please refer:

Note 1611483 - SolutionManager7.1 - Outside Discovery common error messages.

If this does not help. Let us know how you host_profile file looks.

Best Regards

Saurabh

FCI

Former Member
0 Kudos

Hi Saurabh,

Thanks for your information, I already have checked the permission and compare in another system that it work, but I'm still received the same error.

I've checked the sap note as well.

Are you not able to connect only managed system host agents or Solution Manager host agent also?

In this case both doens't work.

Here own host agent profile Path 99 Version720

SAPSYSTEMNAME = SAP

SAPSYSTEM = 99

service/porttypes = SAPHostControl SAPOscol SAPCCMS

service/admin_users = server\SAPServiceDAA

DIR_LIBRARY = C:\Program Files\SAP\hostctrl\exe

DIR_EXECUTABLE = C:\Program Files\SAP\hostctrl\exe

DIR_PROFILE = C:\Program Files\SAP\hostctrl\exe

DIR_GLOBAL = C:\Program Files\SAP\hostctrl\exe

DIR_INSTANCE = C:\Program Files\SAP\hostctrl\exe

DIR_HOME = C:\Program Files\SAP\hostctrl\work

Former Member
0 Kudos

An update.

Solution for this is below.

In SMD administration window under "Application Confifuration".

Drill down in Configuration to "com.sap.smd.agent.appilcation.global.configuration" and add parameter "smdagent.os.user" with value "domain\SapService<SID>.

Regards,

Abhishek

Former Member
0 Kudos

Hi

Please update host_agent profile as:

service/admin_users = <hostname>\SAPServiceDAA <hostname>\DAAadm

Restart agents and try.

Also add this parameter as it would be required later:

service/porttypes = SAPHostControl NwaManagement SAPCCMS SAPOscol

Best Regards

Saurabh

Fujitsu Consulting India-FCI

allam_drebes
Product and Topic Expert
Product and Topic Expert
0 Kudos

Hello All,

This solution does not work for all environments, the property 'smdagent.os.user' should be used only in especial cases. Do not use this property unless you know exactly what you are doing.

The property smdagent.os.user forces the SMDAgent applications to use the OS user specified in its value. The SMDAgent OS user must not be changed, the SMDAgent needs to use the default <sid>adm and/or SAPService<sid> (in case of Windows) to run.

Kind Regards,
Allam Drebes

Answers (3)

Answers (3)

Erika_Cali
Participant
0 Kudos

Thanks forall the answers thatIhave given,  I have applied but I still have the same situation.

Have your other suggestion?

Thanks

Erika

Former Member
0 Kudos

HI

If you installed the HostAgent locally means , just give DAAADM or SAPServiceDAA user name in the host profile , do not add the domain name before. Restart the SAPHostcontrl and SAPHostexe  and then Followed by DAA agent .

Regards

Bala

Erika_Cali
Participant
0 Kudos

Hello

I did your recommendation but the problem continued.

Regards

Erika

Former Member
0 Kudos

Hi,

Sorry guys but I'm still facing the same problem .

Does anyone has another idea?

Thanks

Former Member
0 Kudos

Hi,

we get the same error on our managed systems in the application log of the smd-agent.

Gruß

Toni

former_member189725
Active Contributor
0 Kudos

Check the file logon54 exists under C:\Program Files\SAP\hostctrl\work\sapcontrol_logon\ .

Provide full permission to the file.

Regards

Ratnajit