Skip to main content

httpd error

Comments

4 comments

  • dalem
    check your /etc/hosts file & correct the error cat /etc/hosts
    0
  • Spadge
    ]check your /etc/hosts file & correct the error cat /etc/hosts

    Thank you very much for the quick reply. I tried this last night but still didn't get it working before I went to bed, so thought I'd have more luck checking it out with fresh eyes. This morning I backed up and renamed my /etc/hosts and after confirming I had selected the correct ns in WHM, regenerated it (IP Address and VPS hostname edited to hide details) [PHP] 127.0.0.1 localhost localhost.localdomain localhost4 localhost4.localdomain4 ::1 localhost localhost.localdomain localhost6 localhost6.localdomain6 xx.xx.xxx.IP1 vps.mydomain.suffix vps [/PHP] httpd however has found another issue with a module called up in httpd.conf but as I previously said I haven't edited this and have set cPanel up as a new installation several times on several different versions of CentOS and have never came across this before. [PHP]httpd: Syntax error on line 30 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[/PHP] If anyone can shed any more light on the situation it would be greatly appreciated. I take it I would be better off trying to find and install the modules rather than simply commenting out the calls to them in httpd? Thanks again Spadge
    0
  • Spadge
    Re-built apache with EasyApache and the errors have now gone, fingers crossed this should be it! :) Thanks again for the help dalem.
    0
  • cPanelMichael
    ]Re-built apache with EasyApache and the errors have now gone, fingers crossed this should be it! :) Thanks again for the help dalem.

    I am happy to see the issue is now resolved. Thank you for updating us with the outcome.
    0

Please sign in to leave a comment.