Results 1 to 6 of 6
I seem to have messed up with the host file and my comp takes a very long time to boot up. It pauses for a long time at the "Starting ...
- 12-18-2007 #1Just Joined!
- Join Date
- Jul 2006
- Posts
- 59
Problem with the /etc/hosts file
I seem to have messed up with the host file and my comp takes a very long time to boot up. It pauses for a long time at the "Starting E-mail Transport" before booting up to the login screen.
The file now contains :
127.0.0.1 localhost.localdomain localhost
<MY IP ADD> zeus
Please let me know what should be the syntax and the contents of the first line so that it boots up normally
Thanks
- 12-18-2007 #2
Hi Kris. Here's my hosts file. I use Fedora 8. Should be pretty much the same.
Code:[glenn@toshiba ~]$ cat /etc/hosts # Do not remove the following line, or various programs # that require network functionality will fail. 127.0.0.1 localhost.localdomain localhost localhost ::1 localhost6.localdomain6 localhost6
Glenn
Powered by Fedora 16 and Arch Linux
- 12-18-2007 #3Just Joined!
- Join Date
- Jul 2006
- Posts
- 59
Thanks for the help. It still waits for a long time at the same point, where it is trying to start the sendmail daemon. Any idea what I can do it fix this problem?
Also, just out of curiosity, what does the second line in your quoted text stand for?
- 12-18-2007 #4Glenn
Powered by Fedora 16 and Arch Linux
- 12-18-2007 #5Just Joined!
- Join Date
- Jul 2006
- Posts
- 59
That seems to do the job for now. I am using FC-6 on one machine and FC-4 on the other.. I had this problem on both of them
- 12-19-2007 #6Just Joined!
- Join Date
- Dec 2007
- Posts
- 5
it most likely is a dns resolution issue.
possibly, your mail server is trying to resolve the fully qualified domain name of your system to an ip address and it cannot do so because there is no entry in /etc/hosts to enable it to do so. Try this: get the fully qualified domain name of your system (zeus.whatever.whatever) and add an entry in /etc/hosts to resolve that fully qualified domain name to your local ip address and restart the network services.


Reply With Quote

