Hello,
I'm not a very advanced linux user, but I'm using cpanel/whm for about 5 years. For about 6 months I have a dedicated server. All was ok until today.
I think tonight there was an update for cpanel/whm and suddenly there's an issue with httpd.. it cannot start.
It says :
Starting Apache web server managed by cPanel EasyApache...
Jul 19 02:38:30 root.srvcontrol.com restartsrv_httpd[26240]: httpd: Syntax error on line 25 of /etc/apache2/conf/httpd.conf: Syntax error on line 2 of /etc/apache2/conf.modules.d/000_mod_mpm_prefork.conf: Cannot load modules/mod_mpm_prefork.so into server: /etc/apache2/modules/mod_mpm_prefork.so: undefined symbol: ap_unixd_mpm_get_retained_data
Jul 19 02:38:30 root.srvcontrol.com systemd[1]: httpd.service: control process exited, code=exited status=1
Jul 19 02:38:30 root.srvcontrol.com systemd[1]: Failed to start Apache web server managed by cPanel EasyApache.
Jul 19 02:38:30 root.srvcontrol.com systemd[1]: Unit httpd.service entered failed state.
Jul 19 02:38:30 root.srvcontrol.com systemd[1]: httpd.service failed.
I tried rebuilding apache using EasyApache4 but I get the same error during provisioning.
I get the same when I restart httpd from ssh.
I also tried switching to worker mpm, but then the error appears again just with "cannot load mod_worker..... instead of prefork.. so I don't think it's related to prefork, but to the process of loading modules.
The file 000_mod_mpm_prefork.conf contains only this:
# Enable mod_mpm_prefork
LoadModule mpm_prefork_module modules/mod_mpm_prefork.so
So I doubt there's any syntax error.
Any help is welcome.
Thank you
I'm not a very advanced linux user, but I'm using cpanel/whm for about 5 years. For about 6 months I have a dedicated server. All was ok until today.
I think tonight there was an update for cpanel/whm and suddenly there's an issue with httpd.. it cannot start.
It says :
Starting Apache web server managed by cPanel EasyApache...
Jul 19 02:38:30 root.srvcontrol.com restartsrv_httpd[26240]: httpd: Syntax error on line 25 of /etc/apache2/conf/httpd.conf: Syntax error on line 2 of /etc/apache2/conf.modules.d/000_mod_mpm_prefork.conf: Cannot load modules/mod_mpm_prefork.so into server: /etc/apache2/modules/mod_mpm_prefork.so: undefined symbol: ap_unixd_mpm_get_retained_data
Jul 19 02:38:30 root.srvcontrol.com systemd[1]: httpd.service: control process exited, code=exited status=1
Jul 19 02:38:30 root.srvcontrol.com systemd[1]: Failed to start Apache web server managed by cPanel EasyApache.
Jul 19 02:38:30 root.srvcontrol.com systemd[1]: Unit httpd.service entered failed state.
Jul 19 02:38:30 root.srvcontrol.com systemd[1]: httpd.service failed.
I tried rebuilding apache using EasyApache4 but I get the same error during provisioning.
I get the same when I restart httpd from ssh.
I also tried switching to worker mpm, but then the error appears again just with "cannot load mod_worker..... instead of prefork.. so I don't think it's related to prefork, but to the process of loading modules.
The file 000_mod_mpm_prefork.conf contains only this:
# Enable mod_mpm_prefork
LoadModule mpm_prefork_module modules/mod_mpm_prefork.so
So I doubt there's any syntax error.
Any help is welcome.
Thank you