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 fails to build

Discussion in 'EasyApache' started by fino47, Nov 26, 2015.

  1. fino47

    fino47 Registered

    Joined:
    Nov 26, 2015
    Messages:
    4
    Likes Received:
    0
    Trophy Points:
    1
    Location:
    Mexico
    cPanel Access Level:
    Website Owner
    Every time I run easy apache, it fails with this error message:

    Code:
        -- Begin test 'Pre-test htaccess check' --
    !! Test passed ok !!
            -- End test 'Pre-test htaccess check' --
            -- Begin test 'Basic HTTP Request for static content' --
    [B]localhost did not have any working mirrors.  Please check your internet connection or dns server. at /usr/local/cpanel/Cpanel/HttpRequest.pm
    line 596.[/B]
    this is what i have on my host:
    Code:
    ::1        localhost localhost.localdomain localhost6 localhost6.localdomain6
    # Auto-generated hostname. Please do not remove this comment.
    23.239.145.103        seguro.EXAMPLE.com seguro panel.EXAMPLE.com panel host.example.com host EXAMPLE localhost4.localdomain4 localhost localhost4 localhost.localdomain
    127.0.0.1        localhost
     
    #1 fino47, Nov 26, 2015
    Last edited by a moderator: Nov 26, 2015
  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 DNS revolvers /etc/resolv.conf

    there error is it can not resolve the download domains
     
  3. fino47

    fino47 Registered

    Joined:
    Nov 26, 2015
    Messages:
    4
    Likes Received:
    0
    Trophy Points:
    1
    Location:
    Mexico
    cPanel Access Level:
    Website Owner


    i have this:
    Code:
    nameserver 8.8.8.8
    nameserver 8.8.4.4
     
  4. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    30,854
    Likes Received:
    676
    Trophy Points:
    113
    cPanel Access Level:
    Root Administrator
    Hello :)

    Notice the "localhost" entry on the line with 23.239.145.103. This will cause EasyApache to fail. The solution is to remove the localhost entries from this particular line.

    Thank you.
     
  5. fino47

    fino47 Registered

    Joined:
    Nov 26, 2015
    Messages:
    4
    Likes Received:
    0
    Trophy Points:
    1
    Location:
    Mexico
    cPanel Access Level:
    Website Owner
    So it will be like this?:

    Code:
    23.239.145.103        seguro.EXAMPLE.com seguro panel.EXAMPLE.com panel host.example.com host EXAMPLE
    Thank you!
     
  6. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    30,854
    Likes Received:
    676
    Trophy Points:
    113
    cPanel Access Level:
    Root Administrator
    Yes, that should work for that particular line. Ensure you edit the line for 127.0.0.1 so it looks like this:

    Code:
    127.0.0.1        localhost localhost.localdomain localhost4 localhost4.localdomain4
    Thank you.
     
Loading...

Share This Page