Topics:
DVR
nvrec
Mplayer
Links
Misc
Commands
Humor
New user
uploaded files
|
(linux_command_line)-> Long delay on boot with sendmail |
submited by Russell Mon 12 Dec 05 Edited Thu 29 Dec 05 |
Somebody landed on my website after searching for "send mail start boot linux 2 minutes wait" on google.
Well I have seen this, and I think I know what it is. The problem is that the name the machine has does not resolve in dns or reverse dns (not sure which ) Sendmail is trying to determine the local computers location on the internet, and it can't figure it out. It keeps tring until something times out, and the boot process is held up while it waits.
You can fix this by either changing the machine name to something that will resolve in dns lookups. ( if this is a server that will be online) or by adding the machine name to your /etc/hosts file. :
# Do not remove the following line, or various programs
# that require network functionality will fail.
127.0.0.1 localhost.localdomain localhost
your-ippaddress the-name-of-your-localhost
If you just need the computer as a client, you can probably use 127.0.0.1 for the IP address.
I wish I had some way to email this answer to the guy who looked for it. I hope he finds it.
|
Add comment or question...:
|