Issue After cPanel installation with (Apache not starting & mod_bwlimited)

Dan Anderson

Registered
Aug 26, 2015
2
0
1
London
cPanel Access Level
Website Owner
Hi,

As somewhat of an amateur to the world of CentOS, I dont have the great experience required to solve the issue i have.

I have upgraded my server from a general Ultimate Hosting plan with go daddy to a Dedicated server and i have had to install cPanel myself. I am faced with the following issue after going through the installation and following the correct steps.

httpd: Syntax error on line 30 of /usr/local/apache/conf/httpd.conf: Cannot load modules/mod_bwlimited.so into server: /usr/local/apache/modules/mod_bwlimited.so: cannot open shared object file: No such file or directory

And when i try to even start, stop and restart httpd server:

Code:
root@my [/usr/local/cpanel]# systemctl start httpd
Job for httpd.service failed. See 'systemctl status httpd.service' and 'journalctl -xn' for details.
root@my [/usr/local/cpanel]# systemctl stop httpd
root@my [/usr/local/cpanel]# systemctl stop apache
Failed to issue method call: Unit apache.service not loaded.
root@my [/usr/local/cpanel]# systemctl start httpd
Job for httpd.service failed. See 'systemctl status httpd.service' and 'journalctl -xn' for details.
root@my[/usr/local/cpanel]# systemctl enable httpd
Failed to issue method call: File exists
I have tried to done some research on google but due to the lack of knowledge i have behind me it is somewhat difficult trying to research some error you do not fully understand.

I would be greatly appreciated if someone could assist me further on this problem, The stress and pulling my hair out as now gone beyond the capable stage!

My wise decision of changing to a dedicated server has proven not to wise after all as my site is not down with high traffic from google adwords still in the pipeline!

Thanks, Dan.
 
Last edited by a moderator:

Dan Anderson

Registered
Aug 26, 2015
2
0
1
London
cPanel Access Level
Website Owner
Also here is the systemctl status httpd.service log:

Code:
root@my [/usr/local/cpanel]# systemctl status httpd.service
httpd.service - Apache webserver managed by cPanel EasyApache
  Loaded: loaded (/etc/systemd/system/httpd.service; enabled)
  Active: failed (Result: exit-code) since Wed 2015-08-26 18:02:38 BST; 2min 20s ago
  Process: 4203 ExecStart=/usr/local/cpanel/scripts/restartsrv_httpd --no-verbose (code=exited, status=1/FAILURE)

Aug 26 18:02:38 domain.co.uk systemd[1]: Starting Apache webserver managed by cPanel EasyApache...
Aug 26 18:02:38 domain.co.uk restartsrv_httpd[4203]: httpd: Syntax error on line 30 of /usr/local/apache/conf/httpd.conf: Cannot load modules/mod_bwlimited.so in... directory
Aug 26 18:02:38 domain.co.uk systemd[1]: httpd.service: control process exited, code=exited status=1
Aug 26 18:02:38 domain.co.uk systemd[1]: Failed to start Apache webserver managed by cPanel EasyApache.
Aug 26 18:02:38 domain.co.uk systemd[1]: Unit httpd.service entered failed state.
Hint: Some lines were ellipsized, use -l to show in ful
 
Last edited by a moderator: