View Full Version : [ubuntu] sendmail error due to messup my /etc/hosts
asuten
April 24th, 2010, 11:38 AM
Linux*#localhost*somesite.com*2.6.24-24-server*#1*SMP*Fri*Sep*18*16:47:05*UTC*2009*x86_64
How to fix the #localhost back to localhost, anyone can help
_0R10N
April 25th, 2010, 05:14 PM
I don't understand what your problem really is. But if what you need is to edit the /etc/hosts file, then
sudo gedit /etc/hosts
should do the trick
Then, remove the # from the beginning of the line and save the changes.
You would probably need to run
sudo /etc/init.d/networking restart
after editing the /etc/hosts file.
Kind regards!
_0R10N >>
_0R10N
April 25th, 2010, 05:17 PM
Here I let you the output of my /etc/hosts file.
127.0.0.1 localhost
127.0.1.1 0S1R1S
192.168.1.3 serverca
_0R10N >>
Powered by vBulletin® Version 4.2.2 Copyright © 2024 vBulletin Solutions, Inc. All rights reserved.