LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
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


Reply
  Search this Thread
Old 02-08-2004, 12:26 PM   #1
paul.nel
Member
 
Registered: Nov 2003
Location: Cape Town
Distribution: Gentoo, Redhat 9, SuSE 9.0, 9.2, Win XP
Posts: 149

Rep: Reputation: 15
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
 
Old 02-08-2004, 12:30 PM   #2
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417

Rep: Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985
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.
 
Old 02-08-2004, 12:43 PM   #3
paul.nel
Member
 
Registered: Nov 2003
Location: Cape Town
Distribution: Gentoo, Redhat 9, SuSE 9.0, 9.2, Win XP
Posts: 149

Original Poster
Rep: Reputation: 15
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
 
Old 01-28-2005, 01:17 PM   #4
paul.nel
Member
 
Registered: Nov 2003
Location: Cape Town
Distribution: Gentoo, Redhat 9, SuSE 9.0, 9.2, Win XP
Posts: 149

Original Poster
Rep: Reputation: 15
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
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
OpenBSD - putty session takes forever to start... lazlow69 *BSD 1 11-13-2005 11:55 PM
NFS and Samba takes forever to start. tripmix Linux - Newbie 4 12-16-2004 08:02 PM
sendmail takes minutes to start dirken Linux - Newbie 4 07-09-2004 05:09 PM
why sendmail takes so long to start? fromzj Linux - Newbie 6 08-13-2002 04:11 PM
Sendmail takes 5 minutes to start glock19 Linux - General 9 02-01-2002 12:33 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 05:45 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration