Difference between revisions of "Late booting of machine due to sendmail/sm-client services"

From Notes_Wiki
m
m
Line 1: Line 1:
<yambe:breadcrumb self="Late booting of machine due to sendmail/sm-client services">System Troubleshooting|System Troubleshooting</yambe:breadcrumb>
<yambe:breadcrumb self="Late booting of machine due to sendmail / sm-client services">System Troubleshooting|System Troubleshooting</yambe:breadcrumb>
=Late booting of machine due to sendmail / sm-client services=
=Late booting of machine due to sendmail / sm-client services=


Line 12: Line 12:




<yambe:breadcrumb self="Late booting of machine due to sendmail/sm-client services">System Troubleshooting|System Troubleshooting</yambe:breadcrumb>
<yambe:breadcrumb self="Late booting of machine due to sendmail / sm-client services">System Troubleshooting|System Troubleshooting</yambe:breadcrumb>

Revision as of 07:57, 27 August 2018

<yambe:breadcrumb self="Late booting of machine due to sendmail / sm-client services">System Troubleshooting|System Troubleshooting</yambe:breadcrumb>

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. Also this mapping should be in first non-commented line of /etc/hosts file. Doing this mapping on second or third line wont help.

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.



<yambe:breadcrumb self="Late booting of machine due to sendmail / sm-client services">System Troubleshooting|System Troubleshooting</yambe:breadcrumb>