LinuxQuestions.org
Latest LQ Deal: Linux Power User Bundle
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 05-07-2003, 07:14 PM   #1
andym
Member
 
Registered: Apr 2003
Location: UK
Posts: 52

Rep: Reputation: 15
Redhat loading SLOW - sendmail hang?


when i am connected to the network at work with my laptop Redhat 9 loads quick and fine, but when it is not connected to the network it takes ages (like 10 minutes!!!!) and hangs inparticular on 'sendmail' for ages, how can i stop this happening so that it always loads normally.

please be explicit i am a newbie

thanks

andy
 
Old 05-07-2003, 10:03 PM   #2
primal-id
LQ Newbie
 
Registered: May 2003
Location: Ohio
Distribution: Ubuntu
Posts: 16

Rep: Reputation: 0
I've had the same prob.What i did was uninstall the sendmail server package and it stoped the hang. I'm not sure if that is required for using a general e-mail.
 
Old 05-08-2003, 07:31 AM   #3
andym
Member
 
Registered: Apr 2003
Location: UK
Posts: 52

Original Poster
Rep: Reputation: 15
how do you do that?
 
Old 05-08-2003, 08:08 AM   #4
benjaminrtz
Member
 
Registered: Jul 2002
Location: India
Distribution: Ubuntu, Gentoo
Posts: 99

Rep: Reputation: 15
I have experinced that before.

No need to unistall it

Just boot the system to runlevel 1
or another runlevel where
sendmail will not start

and set sendmail not to start in that runlevel (where it hanged )

use chkconfig --level <runvelel> sendmail off

chkconfig sendmail off
-Default runlevels will be applied here
 
Old 05-08-2003, 09:51 AM   #5
andym
Member
 
Registered: Apr 2003
Location: UK
Posts: 52

Original Poster
Rep: Reputation: 15
thanks,

but what is a run level?
 
Old 05-10-2003, 10:53 AM   #6
primal-id
LQ Newbie
 
Registered: May 2003
Location: Ohio
Distribution: Ubuntu
Posts: 16

Rep: Reputation: 0
for uninstalling packages you go to what would be the start button if you were running windows, system settings, then packages. This is how you get to it in KDE Red Hat 8.0.

as far as run levels i'll try to tell you the little bit i know about it. You can sort of compare it to safe mode in windows if you are fimilar with that. Run levles depending on what you pick has certain pieces of programming that won't run. I think it is run level 1 that doesn't allow network connetions. there should be some good info on run levels if you do a search on google or maybe one of the more experienced posters can give a more in depth explanation.

Last edited by primal-id; 05-10-2003 at 11:03 AM.
 
Old 05-11-2003, 03:33 AM   #7
SADANA
LQ Newbie
 
Registered: Nov 2001
Location: Amman - Jordan
Distribution: Slackware
Posts: 25

Rep: Reputation: 15
i'm a newbie myself, so i'm not 100% sure of the following;
1. in general you don't need sendmail, unless ur running an email server!!
2. after booting, as root run 'ntsysv' choose not to run sendmail
3. u can also run 'service sendmail stop' to stop it immediately without rebooting, should be done as root also
 
Old 05-11-2003, 07:58 AM   #8
markus1982
Senior Member
 
Registered: Aug 2002
Location: Stuttgart (Germany)
Distribution: Debian/GNU Linux
Posts: 1,467

Rep: Reputation: 46
Quote:
1. in general you don't need sendmail, unless ur running an email server!!
If you do not have sendmail or another mail transport agent your system won't be able to send/receive e-mail (incl. local email).
 
Old 05-11-2003, 11:42 AM   #9
rmartine
Member
 
Registered: Dec 2002
Location: San Luis Obispo, CA
Distribution: Fedora Core 3
Posts: 618

Rep: Reputation: 30
I had the same problem and it was because I went and tried to change the HOSTNAME without adding it to /etc/hosts. It just sat there *forever*. I just gave up and went back to localhost.localdomain.
 
Old 05-12-2003, 02:24 AM   #10
SADANA
LQ Newbie
 
Registered: Nov 2001
Location: Amman - Jordan
Distribution: Slackware
Posts: 25

Rep: Reputation: 15
hi there markus1982!
well i didn't know that u actually need sendmail!
i was just wondering, do u need it even if u use mozilla's mail client??? i mean if u have a pop3 account?
 
Old 05-12-2003, 07:06 AM   #11
mhearn
LQ Guru
 
Registered: Nov 2002
Location: Durham, England
Distribution: Fedora Core 4
Posts: 1,565

Rep: Reputation: 47
Very few apps these days require sendmail to, uh, send mail. Most are able to use remote SMTP.

More 99.9% of the things you want to do with Linux, you will not need sendmail and most likely shouldn't have it running.
 
Old 08-27-2003, 07:49 PM   #12
kenliew
LQ Newbie
 
Registered: Aug 2003
Location: Singapore
Distribution: Redhat 9
Posts: 2

Rep: Reputation: 0
Stopping sendmail may be the quickest way. But this URL will help even more...

http://rhlufaq.synfin.net/DOCS/sendmlboot.html

--ken
 
  


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 Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
browser loading very very slow robinmckenzie Linux - Software 3 01-25-2007 10:58 AM
slow linux loading jamaso Linux - Laptop and Netbook 4 05-18-2004 07:09 AM
Linux boot hang : "init: error loading shared libraries" colinprice72 Linux - General 0 01-16-2004 10:04 AM
Finding Module Dependencies...(Still loading...still loading..still loading..HANG!!!) Aeudian Linux - General 3 08-11-2003 04:31 PM
Slow Sendmail under RedHat 8.0 ?? blaci Linux - General 1 02-07-2003 04:29 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 07:17 AM.

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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration