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.

httpd error

Discussion in 'General Discussion' started by Spadge, Nov 15, 2014.

  1. Spadge

    Spadge Member

    Joined:
    Oct 14, 2013
    Messages:
    7
    Likes Received:
    0
    Trophy Points:
    1
    cPanel Access Level:
    Root Administrator
    Hi all

    Having a bit of an issue with Apache installed through cPanel. I'm working on a fresh build of cPanel on a blank install of Centos x64 6.5 and have followed the installation instructions through (including any existing yum installations which could conflict) and passed the initial setup and creation of the first user account when I realised that httpd isn't starting and that I haven't come across this error before. This is from the error_log file:

    [Sat Nov 15 18:33:11 2014] [alert] (EAI 3)Temporary failure in name resolution: mod_unique_id: unable to find IPv4 address

    I also get the same message returned on the WHM Restart Apache page. My httpd.conf file is as generated and un-modified, all I have set are the initial settings in WHM with my 2 IP's and their corresponding nameservers and hostname.

    If there's anyore information you need from my system please let me know and I'll post up the results as quickly as I can. All help will be greatly appreciated. Thank you.

    Spadge
     
  2. dalem

    dalem Well-Known Member
    PartnerNOC

    Joined:
    Oct 24, 2003
    Messages:
    2,577
    Likes Received:
    40
    Trophy Points:
    48
    Location:
    SLC
    cPanel Access Level:
    DataCenter Provider
    check your /etc/hosts file & correct the error

    cat /etc/hosts
     
  3. Spadge

    Spadge Member

    Joined:
    Oct 14, 2013
    Messages:
    7
    Likes Received:
    0
    Trophy Points:
    1
    cPanel Access Level:
    Root Administrator
    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
    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:
    httpdSyntax error on line 30 of /usr/local/apache/conf/httpd.confCannot load /usr/local/apache/modules/mod_bwlimited.so into server: /usr/local/apache/modules/mod_bwlimited.socannot open shared object fileNo such file or directory
    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
     
    #3 Spadge, Nov 16, 2014
    Last edited: Nov 16, 2014
  4. Spadge

    Spadge Member

    Joined:
    Oct 14, 2013
    Messages:
    7
    Likes Received:
    0
    Trophy Points:
    1
    cPanel Access Level:
    Root Administrator
    Re-built apache with EasyApache and the errors have now gone, fingers crossed this should be it! :) Thanks again for the help dalem.
     
  5. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    30,854
    Likes Received:
    676
    Trophy Points:
    113
    cPanel Access Level:
    Root Administrator
    I am happy to see the issue is now resolved. Thank you for updating us with the outcome.
     
Loading...

Share This Page