127.0.1.1 in /etc/hosts

Stuart McGraw smcg4191 at mtneva.com
Tue Nov 28 07:05:47 UTC 2017


On 11/27/2017 03:53 PM, Wynona Stacy Lockwood wrote:
> Replace the line with the correct IP, and you should be fine. As long
> as "localhost" resolves to 127.0.0.1 you should be fine.
> 
> --
> Wynona Stacy Lockwood
> stacy at guppylog.com
> (847) 579-9753
> 
> On Mon, Nov 27, 2017 at 4:47 PM, Stuart McGraw <smcg4191 at mtneva.com> wrote:
>> What is the meaning of the line:
>>
>>   127.0.1.1  mymachine.xxx  mymachine
>>
>> in my /etc/hosts file?  It was put in there by a Xubuntu-17.10
>> install (or to be more accurate, an Ubuntu server-17,10 + Xubuntu
>> package install.)  I am installing some backup software (bacula)
>> which for reasons I haven't delved into, dislikes (as in breaks)
>> when it resolves "mymachine"s address and ends up with 127.0.0.1
>> which is what happens when the above line is present in /etc/hosts.
>>
>> Will I break something else if I remove or replace the line
>> with the machine's "real" ip address which keeps bacula happy,
>> eg:
>>
>>   10.10.200.85  mymachine.xxx  mymachine

Thank you, I was hoping that would be the case.  From some
of the other replies it seems it purpose is to facilitate 
running without a network, but I think I prioritize have 
working backups more.





More information about the ubuntu-users mailing list