We just installed and configured a new Web Agent on an Apache 2.4 server running in RHEL7. The installation and configuration went fine, but when we start the service we get the following errors:
● httpd.service - The Apache HTTP Server
Loaded: loaded (/etc/systemd/system/httpd.service; disabled; vendor preset: disabled)
Active: failed (Result: exit-code) since Thu 2018-07-26 08:57:56 EDT; 5s ago
Docs: man:httpd(8)
man:apachectl(8)
Process: 8830 ExecStopPost=/usr/bin/kdestroy -A (code=exited, status=0/SUCCESS)
Process: 8827 ExecStop=/bin/kill -WINCH ${MAINPID} (code=exited, status=1/FAILURE)
Process: 8824 ExecStart=/usr/sbin/httpd $OPTIONS -DFOREGROUND (code=exited, status=1/FAILURE)
Process: 8822 ExecStartPre=/usr/libexec/<service> (code=exited, status=0/SUCCESS)
Main PID: 8824 (code=exited, status=1/FAILURE)
Jul 26 08:57:48 <host> systemd[1]: Starting The Apache HTTP Server...
Jul 26 08:57:56 <host> <service>[8822]: ipa : WARNING Unable to connect to dirsrv: Timeout exceeded
Jul 26 08:57:56 <host> <service>[8822]: ipa : WARNING Disabling KDC proxy
Jul 26 08:57:56 <host> httpd[8824]: httpd: Syntax error on line 56 of /etc/httpd/conf/httpd.conf: Cannot load /CA/webagent/bin/libmod_sm24.so into server: libsmerrlog.so: cannot open shared object file: No such file or directory
Jul 26 08:57:56 <host> systemd[1]: httpd.service: main process exited, code=exited, status=1/FAILURE
Jul 26 08:57:56 <host> kill[8827]: kill: cannot find process ""
Jul 26 08:57:56 <host> systemd[1]: httpd.service: control process exited, code=exited status=1
Jul 26 08:57:56 <host> systemd[1]: Failed to start The Apache HTTP Server.
Jul 26 08:57:56 <host> systemd[1]: Unit httpd.service entered failed state.
Jul 26 08:57:56 <host> systemd[1]: httpd.service failed.
We have sourced the environment variables, and the user has full rights on all the files in the bin folder and the files mentioned in the error.
How can we solve this problem?