?
Solved

Sendmail takes a long time during redhat boot

Posted on 2001-06-25
5
Medium Priority
?
353 Views
Last Modified: 2010-04-20
When ever I boot rehat it goes through all the stuff its doing and then when it comes to sendmail it sits there for like a minute...what is it doing?  It didn't use to take so long, how do I fix this?
0
Comment
Question by:mvoiers
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
5 Comments
 
LVL 5

Expert Comment

by:vsamtani
ID: 6224841
It's almost certainly trying to do some name lookups or reverse name lookups, and timing out. Is your linux box connected to the internet, and if so, is it a full-time connection or does it dial up?

You may have to put some name to ip address mappings in the /etc/hosts file so that sendmail can do its lookups without going to the nameservers. Also check the order in which services start, especially named, sendmail, diald (if you're using it).

Vijay
0
 

Accepted Solution

by:
grepster earned 300 total points
ID: 6232150
This is a DNS problem and your machine is probably not connected to the internet.  Try removing the /etc/resolv.conf file and see if that helps.  That, or as vsamtani says, add your machine into the /etc/hosts file.

Deon
0
 

Expert Comment

by:mjustman
ID: 6940810
Are comments acceptable?
I came to this area looking for an answer to another question, but this complaint describes a symptom I have, too, which I believe underlies this.  I just told it not to try loading sendmail...for now.)

I've lost loopback.  And no doubt, DNS is getting checked when it should not be. (My /etc/resolv.conf contains ONLY the DNS server for my ISP, which works 100% with ppp0.  I just DON'T WANT it to be searched when system is working on lo.)

If I kill /etc/resolv.conf, will ppp0 will work correctly?

If this can't be tacked onto the current question, shall I reiterate in a new one?

Thanks.

Marilyn Justman
0
 

Author Comment

by:mvoiers
ID: 6952391
Sounds like this will work to me I have been out of town for a few months and so haven't been able to try it...

thanks
0
 

Expert Comment

by:mjustman
ID: 6952443
I'm bowing out of this conversation.  In the process of trying to solve another problem, (did solve it, thanks to EE)  I just got rid of sendmail entirely.  If I ever need it, I'll come back to you guys for help reinstalling.
Thanks.

Marilyn Justman
0

Featured Post

New feature and membership benefit!

New feature! Upgrade and increase expert visibility of your issues with Priority Questions.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Fine Tune your automatic Updates for Ubuntu / Debian
In part one, we reviewed the prerequisites required for installing SQL Server vNext. In this part we will explore how to install Microsoft's SQL Server on Ubuntu 16.04.
Learn how to find files with the shell using the find and locate commands. Use locate to find a needle in a haystack.: With locate, check if the file still exists.: Use find to get the actual location of the file.:
Get a first impression of how PRTG looks and learn how it works.   This video is a short introduction to PRTG, as an initial overview or as a quick start for new PRTG users.
Suggested Courses
Course of the Month10 days, 6 hours left to enroll

765 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question