Late booting of machine due to sendmail/sm-client services

From Notes_Wiki
Revision as of 00:44, 24 November 2012 by Saurabh (talk | contribs) (Created page with "=Late booting of machine due to sendmail / sm-client services= Sometime Linux machines may take long time to boot due to sendmail / sm-client services which take lot of time ...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

Late booting of machine due to sendmail / sm-client services

Sometime Linux machines may take long time to boot due to sendmail / sm-client services which take lot of time to start during machine boot. This may happen because sendmail and sm-client are not able to resolve hostname to IP addresses. Hence we should check file '/etc/hosts' and verify that it contains mapping from both '127.0.0.1' and '::1' to hostname.

This means that we should be careful when we change hostname by using 'hostname' command or by modifying '/etc/sysconfig/network' file. We should also correspondingly modify '/etc/hosts' whenever we change system name.

We should also let aliases localhost and localhost.localdomain remain in /etc/hosts file. If we remove their entries then too some system programs may stop working properly.