Hello Everyone,
I have my AEM dispatcher instance set up in Docker on Mac OS machine. Everytime I try to start the dispatcher, I get the following error:
httpd: Syntax error on line 56 of /etc/httpd/conf/httpd.conf: Syntax error on line 2 of /etc/httpd/conf.modules.d/00-systemd.conf: Cannot load modules/mod_systemd.so into server: libsystemd-daemon.so.0: cannot open shared object file: No such file or directory
Can anyone point me in the right direction as to what I'm missing here?
Thanks
Solved! Go to Solution.
Hi @Deleted Account
It seems to be like there is a syntax error on line 56 of /etc/httpd/conf/httpd.conf
and
line 2 of /etc/httpd/conf.modules.d/00-systemd.conf
Could you please tell us what is included in these 2 location?
It seems to be trying to load libsystemd-daemon.so.0 file which does not exist.
Also there is no file with so.0 as the extension. It will be ending with .so
Please fix the syntax error and try to run the command "httpd -t" to ensure all the synax issues are resolved before you are trying to start the dispatcher.
Thanks!
Hi @Deleted Account
It seems to be like there is a syntax error on line 56 of /etc/httpd/conf/httpd.conf
and
line 2 of /etc/httpd/conf.modules.d/00-systemd.conf
Could you please tell us what is included in these 2 location?
It seems to be trying to load libsystemd-daemon.so.0 file which does not exist.
Also there is no file with so.0 as the extension. It will be ending with .so
Please fix the syntax error and try to run the command "httpd -t" to ensure all the synax issues are resolved before you are trying to start the dispatcher.
Thanks!
Did you identify root cause for this issue?
I am facing the similar error.
2021-10-23T16:58:04+0000 Deploy to instanceId=xxxx failed with errorCode=10011001 message=Failed to start Apache due to syntax error in deployed configurations, httpd: Syntax error on line 56 of /etc/httpd/conf/httpd.conf: Syntax error on line 2 of /etc/httpd/conf.modules.d/03-shib.conf: Cannot load /usr/lib64/shibboleth/mod_shib_24.so into server: /usr/lib64/shibboleth/mod_shib_24.so: cannot open shared object file: No such file or directory
Generally while deloying dispatche configurations first web server compiles and checks the httpd.conf and try to load all the modules.
Sometimes it could be permission as well of these files in the server.