The Community Forums

Interact with an entire community of cPanel & WHM users!
  1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

cPanel clean installation HTTPD not working? getting errors!

Discussion in 'General Discussion' started by Galanthus, Jul 1, 2014.

  1. Galanthus

    Galanthus Well-Known Member

    Joined:
    Nov 8, 2013
    Messages:
    87
    Likes Received:
    0
    Trophy Points:
    6
    cPanel Access Level:
    Root Administrator
    Hi guys,

    I dont know what is wrong. I have installed CentOS 6.5 on my linux server. I have installed using the steps on the website. Now the cPanel is installed but when i start HTTPD i get this error:

    Code:
    root@main [~]# service httpd start
    httpd: Syntax error on line 70 of /usr/local/apache/conf/httpd.conf: Cannot load /usr/local/apache/modules/mod_bwlimited.so into server: /usr/local/apache/modules/mod_bwlimited.so: cannot open shared object file: No such file or directory
    root@main [~]#
    Is this a bug in cPanel? This is a clean installation.
     
  2. cPanelSamir

    cPanelSamir Registered
    Staff Member

    Joined:
    Jun 11, 2014
    Messages:
    3
    Likes Received:
    0
    Trophy Points:
    1
    Hello,

    It appears the mod_bandwidth module is not available on your system, yet the httpd.conf is referring to the module. I would first attempt check the installation log to verify the installation completed without errors as well as the Easy Apache log to ensure it was completed. The logs can be found in the below locations:
    Code:
    /var/log/cpanel-install.log
    /usr/local/cpanel/logs/easy/apache/
    If there were any errors, you may need to take corrective action by re-running Easy Apache depending on the error. Details on running EasyApache can be found in our documentation at http://documentation.cpanel.net/display/EA/EasyApache .

    You may also try rebuilding the httpd.conf file using the below command prior to attempting a recompile Apache using the below.

    Code:
    mv -v /usr/local/apache/conf/httpd.conf{,.bak}
    /scripts/rebuildhttpdconf
    service httpd restart
     
  3. Galanthus

    Galanthus Well-Known Member

    Joined:
    Nov 8, 2013
    Messages:
    87
    Likes Received:
    0
    Trophy Points:
    6
    cPanel Access Level:
    Root Administrator
    Code:
    root@main [~]# /scripts/rebuildhttpdconf
    info [rebuildhttpdconf] Missing IP for domain main.shokuninserver.com, using 5.101.101.133
    info [rebuildhttpdconf] Missing ServerName for domain main.shokuninserver.com, using main.shokuninserver.com
    info [rebuildhttpdconf] Missing port for domain main.shokuninserver.com, using 80
    info [rebuildhttpdconf] Missing user for domain main.shokuninserver.com, using nobody
    info [rebuildhttpdconf] Missing owner for domain main.shokuninserver.com, force lookup to root
    info [rebuildhttpdconf] Missing group for domain main.shokuninserver.com, using nobody
    info [rebuildhttpdconf] Missing IP for domain main.shokuninserver.com, using 5.101.101.133
    info [rebuildhttpdconf] Missing ServerName for domain main.shokuninserver.com, using main.shokuninserver.com
    info [rebuildhttpdconf] Missing port for domain main.shokuninserver.com, using 80
    info [rebuildhttpdconf] Missing user for domain main.shokuninserver.com, using nobody
    info [rebuildhttpdconf] Missing owner for domain main.shokuninserver.com, force lookup to root
    info [rebuildhttpdconf] Missing group for domain main.shokuninserver.com, using nobody
    Initial configuration generation failed with the following message:
    
    Configuration problem detected on line 33 of file /usr/local/apache/conf/httpd.conf.work.F_MsoA_GbtaUymbE:      : Cannot load /usr/local/apache/modules/mod_bwlimited.so into server: /usr/local/apache/modules/mod_bwlimited.so: cannot open shared object file: No such file or directory
    
            --- /usr/local/apache/conf/httpd.conf.work.F_MsoA_GbtaUymbE ---
            27
            28Include "/usr/local/apache/conf/includes/pre_main_global.conf"
            29Include "/usr/local/apache/conf/includes/pre_main_2.conf"
            30
            31
            32
            33 ===> LoadModule bwlimited_module modules/mod_bwlimited.so <===
            34
            35
            36
            37
            38Include "/usr/local/apache/conf/includes/errordocument.conf"
            39
            --- /usr/local/apache/conf/httpd.conf.work.F_MsoA_GbtaUymbE ---
    
    
    
    
    when trying to recreate httpd file..
     
    #3 Galanthus, Jul 2, 2014
    Last edited: Jul 2, 2014
  4. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    30,678
    Likes Received:
    653
    Trophy Points:
    113
    cPanel Access Level:
    Root Administrator
  5. Galanthus

    Galanthus Well-Known Member

    Joined:
    Nov 8, 2013
    Messages:
    87
    Likes Received:
    0
    Trophy Points:
    6
    cPanel Access Level:
    Root Administrator

    this is what i get:

    Code:
    2014-07-02 14:22:55  724 ( INFO): Thank you for installing cPanel & WHM 11.44!
    2014-07-02 14:22:55  570 ( WARN): !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
    2014-07-02 14:22:55  571 ( WARN): Your system kernel may have been updated.
    2014-07-02 14:22:55  572 ( WARN): Current kernel (2.6.32-431.1.2.0.1.el6.x86_64) has been changed to: 2.6.32-431.el6.x86_64
    2014-07-02 14:22:55  573 ( WARN): Before rebooting the system, please ensure that the installed kernel version is compatible with your deployment.
    2014-07-02 14:22:55  583 ( WARN): !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
    [root@wordpress ~]# service httpd start
    httpd: Syntax error on line 54 of /usr/local/apache/conf/httpd.conf: Cannot load /usr/local/apache/modules/mod_bwlimited.so into server: /usr/local/apache/modules/mod_bwlimited.so: cannot open shared object file: No such file or directory
    [root@wordpress ~]# cd /usr/local/apache/modules/
    bash: cd: /usr/local/apache/modules/: No such file or directory
    [root@wordpress ~]#
    
    Complet MODULES directory doesn't excist at all.
     
  6. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    30,678
    Likes Received:
    653
    Trophy Points:
    113
    cPanel Access Level:
    Root Administrator
    Please open a support ticket so we can take a closer look. You can post the ticket number here so we can update this thread with the outcome.

    Thank you.
     
Loading...

Share This Page