Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place. |
Notices |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
|
02-08-2004, 01:26 PM
|
#1
|
Member
Registered: Nov 2003
Location: Cape Town
Distribution: Gentoo, Redhat 9, SuSE 9.0, 9.2, Win XP
Posts: 149
Rep:
|
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
|
|
|
02-08-2004, 01:30 PM
|
#2
|
Moderator
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417
|
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.
|
|
|
02-08-2004, 01:43 PM
|
#3
|
Member
Registered: Nov 2003
Location: Cape Town
Distribution: Gentoo, Redhat 9, SuSE 9.0, 9.2, Win XP
Posts: 149
Original Poster
Rep:
|
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
|
|
|
01-28-2005, 02:17 PM
|
#4
|
Member
Registered: Nov 2003
Location: Cape Town
Distribution: Gentoo, Redhat 9, SuSE 9.0, 9.2, Win XP
Posts: 149
Original Poster
Rep:
|
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 01:46 PM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|