System boots very slow when reaches sendmail service

If you have worked with Linux OS, you might have come across with this situation, where during booting, the system takes "forever" when it starts the sendmail service. The most common cause is that Linux can not look up the name of the machine (if you set up networking to have a machine name). The machine pauses waiting for the network timeout of DNS lookups, and will eventually bring up the login prompt.

Quick Fix:

I just had do add 127.0.0.1 localhost.localdomain localhost to /etc/hosts and  that solved the problem. If you already have that line in /etc/hosts, then make sure that line is the first line in that file.
$ vi /etc/hosts127.0.0.1                        localhost.localdomain           localhost

0 Response to "System boots very slow when reaches sendmail service"

Post a Comment