Boot slow in starting sendmail
When I boot my fc7 every time. Coming to Starting sendmail and will stay here several minutes. What can I do to reduce the boot time.
|
Are you using sendmail??? if not then; chkconfig --levels 345 sendmail off
|
Do you use sendmail as an SMTP server? If not, just remove it at all by command:
su -c 'yum remove sendmail -y' |
Thanks Lenard. Now it's OK.I use
Code:
chkconfig --levels 345 sendmail off Code:
chkconfig --levels 345 sendmail on |
Advance,I want to know why the sendmail is so slow, I open the bash script : /etc/rc.d/init.d/sendmail ,like this
Code:
start() { Code:
if test -x /usr/bin/make -a -f /etc/mail/Makefile ; then |
Once sendmail is configured it is fast, unless you are running an email server you do not need it.
Many desktop and laptop users do not need or use it., but if your interested then visit; http://tldp.org/ And review documentation like: Quote:
|
I faced this problem once and it is resolved once I put the hostname entry in /etc/hosts file alongwith the system IP. The issue was occuring due to incorrect hostname resolution.
Quote:
|
Quote:
|
Yes, I opened the file /etc/hosts. Then I found one line
Code:
192.168.0.10 myhost Thanks everyone! |
All times are GMT -5. The time now is 08:56 PM. |