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.

EasyApache Build Error

Discussion in 'EasyApache' started by Saint Isaiah, Aug 9, 2012.

  1. Saint Isaiah

    Saint Isaiah Registered

    Joined:
    Aug 29, 2011
    Messages:
    3
    Likes Received:
    0
    Trophy Points:
    1
    Hey everyone,

    I've spent two days looking for an answer through the forums, but no matter what solution I've tried that is provided by cPanel staff, I still have this issue. So hopefully there's something small I'm missing.

    Everytime I go to rebuild via EasyApache, whether it's through WHM or SSH using /scripts/easyapache, It always halts towards the very end with this error:

    Code:
    -- Begin test 'Basic HTTP Request for static content' --
    localhost did not have any working mirrors.  Please check your internet connection or dns server. at /usr/local/cpanel/Cpanel/HttpRequest.pm line 596.
    
    This is currently how my hosts file is configured:

    Code:
    127.0.0.1               62153.server.local 62153 localhost
    204.45.133.242          s1.playeraffinity.net s1 localhost.localdomain localhost
    
    And here is my resolv.conf file:

    Code:
    search box.local
    # Generated by NetworkManager
    domain box.local
    nameserver 8.8.8.8
    nameserver 8.8.4.4
    
    I've tried removing "search box.local" and "domain box.local", but it's always overwritten after running EasyApache.

    Now because this is merely a final test that it's having the hiccup on and the websites load perfectly when testing them after the build, would it be safe to assume this is a more trivial problem that could be disregarded, such as removing the file 'AN_EASYAPACHE_BUILD_IS_CURRENTLY_RUNNING' in /usr/local/apache, or should this be considered as something far more serious and rectified immediately?

    I've tried getting help from the server provider who installed the OS (CENTOS 6.3 x86_64 standard) to take a look at it, but the most they'll offer is an OS reinstall which is impossible for me as I have my site already on the server which I must avoid interrupting.

    Also, I am running cPanel on EDGE v11.32.4.11.

    Any help is greatly appreciated!
     
  2. Eric

    Eric Administrator
    Staff Member

    Joined:
    Nov 25, 2007
    Messages:
    746
    Likes Received:
    11
    Trophy Points:
    18
    Location:
    Texas
    cPanel Access Level:
    Root Administrator
    Howdy,

    I would recommend opening up a ticket with our support team. We would be happy to help.

    Thanks!
     
  3. cPanelTristan

    cPanelTristan Quality Assurance Analyst
    Staff Member

    Joined:
    Oct 2, 2010
    Messages:
    7,623
    Likes Received:
    21
    Trophy Points:
    38
    Location:
    somewhere over the rainbow
    cPanel Access Level:
    Root Administrator
    Hello,

    Your /etc/hosts file is incorrect. This is what you have:

    Code:
    127.0.0.1               62153.server.local 62153 localhost
    204.45.133.242          s1.playeraffinity.net s1 localhost.localdomain localhost
    You cannot have your hostname set with localhost. It should look like this:

    Code:
    127.0.0.1               localhost localhost.localdomain
    204.45.133.242          s1.playeraffinity.net s1
    Thanks!
     
Loading...

Share This Page