cancel
Showing results for 
Search instead for 
Did you mean: 

Problems during the SAP Host Agent Installation/Initialization in Windows Server 2008 R2

andreschgz95
Participant
0 Kudos

Hello SAP experts.

I'm performing an SAP Web Dispatcher installation but in the process occured an issue during the SAP Host Agent installation phase of the Web Dispatcher installation's processing step (in the context of the SWPM). I have detected that the problem is that the Host Agent can not start and I have performed some troubleshooting with no success.

The user I'm using for the HA installation has administrator privileges and is a domain user.

I send you attached some of the troubleshooting activities I performed:

====================================================================

1. Trying with the restart of the HA after the installation via Windows CMD

2. Trying with the start of the services

3. Using Local System Account to start the services:

4. Log file in level 3:

-------------------- SAPHOSTAGENT information --------------------

kernel release 721

kernel make variant 721_REL

compiled on NT 6.1 7601 S x86 MS VC++ 14.00 for NTAMD64

compiled for 64 BIT

compilation mode Non-Unicode

compile time Oct 22 2018 21:59:17

patch number 40

latest change number 1879308

...

[Thr 3704] 'nthttpmonitor.pdb''n'

[Thr 3704] 'SAPCAR.exe''w'

[Thr 3704] 'SIGNATURE.SMF''n'

[Thr 3704] SetServiceStatus to 4 [Thr 3704] *** ERROR => StartService SAPHostControl failed [Error 1068: The dependency service or group failed to start. ] [HostControlW 182] [Thr 3704] *** ERROR => hostcontrol couldn't be started [HostExecServ 345]

[Thr 3704] *** ERROR => HostServer Start failed [HostServiceI 860]

[Thr 3704] SetServiceStatus to 1

[Thr 3468] hostexec/trace set to 3

5. t is important to mention the following:

  • For security reasons there is server hardening being used.
  • I already tried the installation of the HA (with the same installation medias I'm using for the server which is having problems) in other server with the same OS and worked fine (no major problems).
  • I tried installing older versions of the HA in the server where the problem is present and did not work.
  • I deactivate the anti-virus.
  • I generated a rule in the firewall to allow to the HA executable to pass trough it.

====================================================================

If there is needed further information, let me know it.

Thanks for your support in advance.

Best regards.

Accepted Solutions (1)

Accepted Solutions (1)

BJarkowski
Active Contributor

The error is saying "The dependency service or group failed to start.".

Did you identify the dependant services and try to start them manually?

andreschgz95
Participant

Hello Bartosz!

Thanks for the reply, the problem was related to the server service which was not enable and started and it is a dependency for the SAP Host Control service.

Best regards.

Answers (1)

Answers (1)

isaias_freitas
Advisor
Advisor

Hello Andrés,

The SAPHostControl service should not run with "local system account".

It should run as the "sapadm" user account.

I would suggest installing the SAPHostAgent with the default settings...

Regards,

Isaías

andreschgz95
Participant
0 Kudos

Hello Isaias!

Thanks for the reply. After solve the issue that was related to the dependant services for the SAP Host Control, I did set the "sapadm" user to run the SAP Host Control service. Everything is working fine.

Best regards.

isaias_freitas
Advisor
Advisor
0 Kudos

Nice! 🙂