Our features site is undergoing a refresh! Be sure to explore the revamped site and discover our latest product roadmap launching here on Monday, March 18th.
This object is in archive! 

When /etc/hosts contains "localhost" entry for something not 127.0.0.1, EA fails: " localhost did not have any working mirrors."

Guest shared this idea 10 years ago
Completed

--------------------------------------

Tested on:

--------------------------------------


Pick any version of EasyApache going back at least several years.


--------------------------------------

1. Ticket Number(s)

--------------------------------------


Numerous going back several years.


--------------------------------------

2. Brief Description

--------------------------------------


When /etc/hosts contains "localhost" entry for something not 127.0.0.1, EA fails: " localhost did not have any working mirrors."


--------------------------------------

3. Step by Step Instructions

--------------------------------------


A) Add a localhost entry in /etc/hosts for something that is not 127.0.0.1. Here's an example:


1.2.3.4 server.example.com server localhost.localdomain localhost


Obviously, "localhost" is not valid on that line, since that line is for 1.2.3.4 (and not 127.0.0.1, or perhaps 127/8).


--------------------------------------

4. Detailed Explanation

--------------------------------------


EA fails when /etc/hosts contains an entry for localhost which is not 127.0.0.1.


--------------------------------------

5. Suggested Resolution

--------------------------------------


Ignore localhost entries in /etc/hosts for IP addresses that are not 127.0.0.1 (or perhaps 127/8).


--------------------------------------

6. Known work around(s)

--------------------------------------


Manually fix /etc/hosts .

Replies (1)

photo
1

I am closing this feature request out because I see that conversation about it has happened within our internal ticketing system and resolution for the request happened there. Thanks, though, for filing the request. Reference EAL-2940 for further reading.

Replies have been locked on this page!