Want to win a PS4? Go Premium and enter to win our High-Tech Treats giveaway. Enter to Win

x
?
Solved

Sendmail takes a long time during redhat boot

Posted on 2001-06-25
5
Medium Priority
?
355 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

Free Tool: SSL Checker

Scans your site and returns information about your SSL implementation and certificate. Helpful for debugging and validating your SSL configuration.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

Setting up Secure Ubuntu server on VMware 1.      Insert the Ubuntu Server distribution CD or attach the ISO of the CD which is in the “Datastore”. Note that it is important to install the x64 edition on servers, not the X86 editions. 2.      Power on th…
The purpose of this article is to demonstrate how we can use conditional statements using Python.
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.:
Connecting to an Amazon Linux EC2 Instance from Windows Using PuTTY.
Suggested Courses

636 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