Solved

Sendmail takes a long time during redhat boot

Posted on 2001-06-25
5
344 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
5 Comments
 
LVL 5

Expert Comment

by:vsamtani
Comment Utility
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 100 total points
Comment Utility
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
Comment Utility
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
Comment Utility
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
Comment Utility
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

How your wiki can always stay up-to-date

Quip doubles as a “living” wiki and a project management tool that evolves with your organization. As you finish projects in Quip, the work remains, easily accessible to all team members, new and old.
- Increase transparency
- Onboard new hires faster
- Access from mobile/offline

Join & Write a Comment

In this tutorial I will explain how to make squid prevent malwares in five easy steps: Squid is a caching proxy for the Web supporting HTTP, HTTPS, FTP, and more. It reduces bandwidth and improves response times by caching and reusing frequently-…
Network Interface Card (NIC) bonding, also known as link aggregation, NIC teaming and trunking, is an important concept to understand and implement in any environment where high availability is of concern. Using this feature, a server administrator …
Learn several ways to interact with files and get file information from the bash shell. ls lists the contents of a directory: Using the -a flag displays hidden files: Using the -l flag formats the output in a long list: The file command gives us mor…
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.

772 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

Need Help in Real-Time?

Connect with top rated Experts

11 Experts available now in Live!

Get 1:1 Help Now