Fedora Linux Support Community & Resources Center
  #1  
Old 1st June 2005, 11:07 AM
luca Offline
Registered User
 
Join Date: Jul 2004
Location: Rome, Italy
Posts: 64
Unhappy slow sendmail startup

hello there,

I am having problems with sendmail. It rather slow when starting up. What can i do about it ?
Your help would be appreciated!
following is the processes that are spawned when started:

Code:
 5696 ?        S      0:00 /bin/sh /sbin/service sendmail start
 5699 ?        S      0:00 /bin/bash /etc/init.d/sendmail start
 5709 ?        S      0:00 /usr/bin/newaliases
any idea ?

cheers
Reply With Quote
  #2  
Old 1st June 2005, 12:20 PM
AndyGreen Offline
Registered User
 
Join Date: Apr 2005
Location: Northants, UK
Posts: 2,026
How slow? Unless the HDD is thrashing at this time, some kind of Network timeout is a possible culprit. Run tcpdump in a terminal window and start the thing up, and see what if anything is going out on the wire.

What does

/var/log/maillog

have to say?
__________________
Freelance RedHat Certified Engineer - http://northantsIT.com
Reply With Quote
  #3  
Old 18th March 2007, 02:15 PM
lmo Offline
Registered User
 
Join Date: Mar 2007
Posts: 1,046
Same problem here. Then I looked at an older install to see where I messed up.
I think I had /etc/hosts misconfigured.
Sendmail took 2+ minutes to start.
I made change to /etc/hosts.
The second bang line (!) is fixed.
Code:
diff -c hosts.old hosts
*** hosts.old   2007-03-18 09:12:49.000000000 -0400
--- hosts       2007-03-18 09:06:31.000000000 -0400
***************
*** 1,4 ****
! 127.0.0.1     localhost       lmo
  # Do not remove the following line, or various programs
  # that require network functionality will fail.
  ::1   lmo     localhost.localdomain   localhost
--- 1,4 ----
! 127.0.0.1     lmo     localhost.localdomain   localhost
  # Do not remove the following line, or various programs
  # that require network functionality will fail.
  ::1   lmo     localhost.localdomain   localhost
Senmail starts in a fraction of a second.
Reply With Quote
  #4  
Old 22nd December 2007, 09:34 PM
mario60 Offline
Registered User
 
Join Date: Aug 2007
Posts: 27
Hi,
I have the same, or at least a similar issue.
After updtae from FC7 to FC8, /etc/hosts/ is

127.0.0.1 localhost.localdomain localhost mario
::1 localhost6.localdomain6 localhost6 <<<<

is it ok? Do I need something more, What about those 6's?
Is there any tutorial about these matters?

thanks a lot
mario
________________
Quote:
Originally Posted by lmo
Same problem here. Then I looked at an older install to see where I messed up.
I think I had /etc/hosts misconfigured.
Sendmail took 2+ minutes to start.
I made change to /etc/hosts.
The second bang line (!) is fixed.
Code:
diff -c hosts.old hosts
*** hosts.old   2007-03-18 09:12:49.000000000 -0400
--- hosts       2007-03-18 09:06:31.000000000 -0400
***************
*** 1,4 ****
! 127.0.0.1     localhost       lmo
  # Do not remove the following line, or various programs
  # that require network functionality will fail.
  ::1   lmo     localhost.localdomain   localhost
--- 1,4 ----
! 127.0.0.1     lmo     localhost.localdomain   localhost
  # Do not remove the following line, or various programs
  # that require network functionality will fail.
  ::1   lmo     localhost.localdomain   localhost
Senmail starts in a fraction of a second.
Reply With Quote
  #5  
Old 22nd December 2007, 11:51 PM
cheerio158 Offline
Registered User
 
Join Date: Apr 2005
Location: Toronto, Ontario, Canada
Posts: 231
Check your /etc/sysconfig/network file too. It should have a qualified name like shown below.

Code:
NETWORKING=yes
HOSTNAME=localhost.localdomain
__________________
Desktop Smolt profile
Laptop Smolt profile
EeePC Smolt profile
Reply With Quote
Reply

Tags
sendmail, slow, startup

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

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

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Sendmail startup slow, "unqualified hostname unknown; sleeping for retry" WNorfleet Servers & Networking 4 24th November 2007 05:10 AM
Sendmail startup slow, "unqualified host name, sleeping for retry" WNorfleet Servers & Networking 0 16th November 2005 11:29 PM
Sendmail slows startup down thomas graf Using Fedora 2 10th September 2004 06:27 PM


Current GMT-time: 18:59 (Tuesday, 02-09-2014)

TopSubscribe to XML RSS for all Threads in all ForumsFedoraForumDotOrg Archive
logo

All trademarks, and forum posts in this site are property of their respective owner(s).
FedoraForum.org is privately owned and is not directly sponsored by the Fedora Project or Red Hat, Inc.

Privacy Policy | Term of Use | Posting Guidelines | Archive | Contact Us | Founding Members

Powered by vBulletin® Copyright ©2000 - 2012, vBulletin Solutions, Inc.

FedoraForum is Powered by RedHat