LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - General (http://www.linuxquestions.org/questions/linux-general-1/)
-   -   Sendmail takes forever to start up (http://www.linuxquestions.org/questions/linux-general-1/sendmail-takes-forever-to-start-up-143704/)

paul.nel 02-08-2004 01:26 PM

Sendmail takes forever to start up
 
For some strange reason my sendmail and sm-client services on my rh9 box have all of a sudden decided to take at least 5 -7 minutes to start up on boot. It is not any faster when I restart the service once up and running. This makes my machine a pain to reboot and I could really do with out this wait. Any ideas?

Regards
p.n

acid_kewpie 02-08-2004 01:30 PM

this is very likely due to you have changed or otherwise affected your host name, ensure that you have a valid setup for /etc/hosts and after sendmail starts check the /var/log/messages content for the host name it is trying to find.

paul.nel 02-08-2004 01:43 PM

Thanks Chris. You can be my hero for today. My server was struggling to find itself and the problem was indeed in the /etc/hosts file.

Cheers
p.n

paul.nel 01-28-2005 02:17 PM

This is a late reply to this post but just for record's sake. Make sure that the line

127.0.0.1 localhost.localdomain hostname

is the first entry in your /etc/hosts file. If not, sendmail takes forever to find it.


Cheers
p.n


All times are GMT -5. The time now is 04:00 AM.