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.

Error on EasyApache Build

Discussion in 'EasyApache' started by onahkenneth, Mar 19, 2014.

  1. onahkenneth

    onahkenneth Registered

    Joined:
    Feb 27, 2014
    Messages:
    4
    Likes Received:
    0
    Trophy Points:
    1
    cPanel Access Level:
    Root Administrator
    I want to build apache and php with SOAP and it ended with this error.

    Am new to cpanel and whm

    Please can someone point me in the right direction

    See attached screenshot
     

    Attached Files:

  2. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

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

    This can happen when the /etc/hosts file includes a localhost entry for a public IP address. Here is an example:

    Code:
    root@vps [~]# cat /etc/hosts
    ::1      localhost localhost.localdomain localhost6 localhost6.localdomain6
    127.0.0.1      localhost.localdomain localhost localhost4.localdomain4 localhost4
    # Auto-generated hostname. Please do not remove this comment.
    208.74.000.99      vps.server.com vps [COLOR="#FF0000"]localhost localhost.localdomain[/COLOR]
    Notice the "localhost" entry on the line with 208.74.000.99. This will cause EasyApache to fail. The solution is to remove the invalid localhost entries. The /etc/hosts file above would be edited to:

    Code:
    root@vps [~]# cat /etc/hosts
    ::1      localhost localhost.localdomain localhost6 localhost6.localdomain6
    127.0.0.1      localhost.localdomain localhost localhost4.localdomain4 localhost4
    # Auto-generated hostname. Please do not remove this comment.
    208.74.000.99    vps.server.com vps
    Thank you.
     
  3. onahkenneth

    onahkenneth Registered

    Joined:
    Feb 27, 2014
    Messages:
    4
    Likes Received:
    0
    Trophy Points:
    1
    cPanel Access Level:
    Root Administrator
    Hello Micheal,

    I will effect the changes u suggested...and get to you.

    Thanks
     
  4. onahkenneth

    onahkenneth Registered

    Joined:
    Feb 27, 2014
    Messages:
    4
    Likes Received:
    0
    Trophy Points:
    1
    cPanel Access Level:
    Root Administrator
    A million thanks...It worked like magic
     
  5. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    30,737
    Likes Received:
    661
    Trophy Points:
    113
    cPanel Access Level:
    Root Administrator
Loading...

Share This Page