Symptoms
When restarting the httpd
service, you encounter an error similar to the following.
restartsrv_httpd[55834]: httpd: Syntax error on line 28 of /etc/apache2/conf/httpd.conf: Syntax error on line 2 of /etc/apache2/conf.modules.d/280_mod_proxy.conf: Cannot load modules/mod_proxy.so into server: /etc/apache2/modules/mod_proxy.so: undefined symbol: ap_get_pollfd_from_conn
Description
The error occurs when one or more files provided by the ea-apache24
package are corrupt or missing.
Workaround
- Access the server's command line as the 'root' user via SSH or "Terminal" in WHM.
- Reinstall the
ea-apache24
package.- CentOS 7, CloudLinux 7
yum reinstall ea-apache24
- AlmaLinux 8/9, CloudLinux 8/9, Rocky Linux 8/9
dnf reinstall ea-apache24
- Ubuntu
apt install --reinstall ea-apache24
- CentOS 7, CloudLinux 7
Comments
0 comments
Article is closed for comments.