
You try to bring up the SAP Host Agent but, it keeps failing. From the dev_saphostexec trace file (in /usr/sap/hostctrl/work directory), you found below the error message,
ERROR => Connection of channel 9 failed [ServerChanne 67]
ERROR => Connection of channel 10 failed [ServerChanne 67]
ERROR => Setup of too many communication channels failed. Giving up.
ERROR => Channel Accept failed [HostExecServ 450]
ERROR => Start of HostService failed
Solution
- Find the old “orphaned” Host Agent process and kill it,
# ps -ef | grep hostctrl
# kill -9 [process-id]
- Start the SAP Host Agent.
/usr/sap/hostctrl/exe/saphostexec -restart
If it’s still failing, check all the permission and free space of your SAP Host Agent and redo the above steps.
Note
- Ensure the /tmp directory is writable for the sapadm user and the filesystem has free space left.
- Make sure that permission of /tmp/.sapstartsrv99_sapstartsrv.log file is correct. You can delete the below file and it will regenerate after the SAP Host Agent restart.
-rw-rw-rw- sapadm sapsys .sapstartsrv99_sapstartsrv.log
- Ensure the host_profile file from /usr/sap/hostctrl/exe/ is maintained with below permission,
-rw-r----- 1 root sapsys 392 June 5 12:11 host_profile
- [If the above steps didn’t work out] We suggest you re-install the SAP Host Agent. It will only take minutes, better than spending hours of troubleshooting. You can refer to the Steps to Install SAP Host Agent
Reference
- 1928584 – “Start of HostService failed” error – SAPHOSTAGENT start failed
- 1031096 – Installing Package SAPHOSTAGENT