Symptom
- Installation of the SAP Host Agent fails with the error:
[Thr 140034634837056] Tue Jan 10 10:00:00 2023
[Thr 140034634837056] *** ERROR => systemdI_msg_handler: job '/org/freedesktop/systemd1/job/1111' canceled with 'failed' [systemd.cpp 1372]
[ERROR] Failed to start saphostagent.service: systemdI_msg_handler: job '/org/freedesktop/systemd1/job/1111' canceled with 'failed'
- The journal log of the saphostagent.service reports "Permission denied":
journalctl -u saphostagent.service
Jan 10 11:00:00 server1 systemd[2194]: saphostagent.service: Failed to execute command: Permission denied
Jan 10 11:00:00 server1 systemd[2194]: saphostagent.service: Failed at step EXEC spawning /usr/sap/hostctrl/exe/saphostexec: Permission denied
Jan 10 11:00:00 server1 systemd[1]: saphostagent.service: Control process exited, code=exited status=203
Jan 10 11:00:00 server1 systemd[1]: saphostagent.service: Failed with result 'exit-code'.
Jan 10 11:00:00 server1 systemd[3822]: saphostagent.service: Failed to execute command: Permission denied
Jan 10 11:00:00 server1 systemd[3822]: saphostagent.service: Failed at step EXEC spawning /usr/sap/hostctrl/exe/saphostexec: Permission denied
Jan 10 11:00:00 server1 systemd[1]: saphostagent.service: Control process exited, code=exited status=203
Jan 10 11:00:00 server1 systemd[1]: saphostagent.service: Failed with result 'exit-code'.
Read more...
Environment
- SLES 15 or newer
- RHEL 8 or newer
- Oracle Linux 8 or newer
Product
Keywords
Host Agent, saphostagent.service, systemdI_msg_handler, linux, systemd, noexec , KBA , BC-OP-LNX , Linux , BC-CCM-HAG , Host Agent , Problem
About this page
This is a preview of a SAP Knowledge Base Article. Click more to access the full version on SAP for Me (Login required).Search for additional results
Visit SAP Support Portal's SAP Notes and KBA Search.
SAP Knowledge Base Article - Preview