Symptoms
When updating Apache, or changing config, the httpd.conf
build process ends with an error like this:
httpd: Syntax error in -C/-c directive: Syntax error on line 2 of /etc/apache2/conf.modules.d/275_mod_negotiation.conf: |
It may also reference other shared-object (*.so) files, but will end with the same "undefined symbol:" value.
Description
This error has been identified in our internal case EA-9238 and is related to an issue with failed ea-apache24 updates, as explained here: Apache won't start after update to ea-apache24-2.4.46.
Workaround
To resolve this error, reinstall ea-apache24 with yum:
yum reinstall ea-apache24
This can also occur if the ea-apache24 package is out of date as compared to the other packages. If so, you will receive output like the following.
Installed package ea-apache24-2.4.48-5.15.2.cpanel.x86_64 (from EA4) not available.
Error: Nothing to do
If so, update the ea-apache24 like so.
yum update ea-apache24
Then verify that the configuration can be rebuilt without further error:
/scripts/rebuildhttpdconf
Comments
0 comments
Article is closed for comments.