LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
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 08-13-2002, 02:10 AM   #1
fromzj
LQ Newbie
 
Registered: Jul 2002
Posts: 18

Rep: Reputation: 0
why sendmail takes so long to start?


Hi, I have RedHat and Win2000 daul Os.Everything seems to be OK but when I load Linux, it took very long time to start sendmail.(more than the time to start all the other services)



Please tell me why or what is sendmail just.

Thanks.
 
Old 08-13-2002, 02:19 AM   #2
A-dummy
Member
 
Registered: Jun 2002
Location: Kanpur,India
Distribution: RH-7.0 , 7.3
Posts: 130

Rep: Reputation: 15
sendmail is a mail server & I am sure you dont want to run it .
cos u dont know what it is.....to stop it from starting just
go to /etc/rc.d/rc5.d/ & there must be a file Sxxsendmail
xx is some number......just rename it to Kxxsendmail or may be
something else not starting with S (S means you want to start
it, K means you want to kill it)......
 
Old 08-13-2002, 04:16 AM   #3
JamesF1
Member
 
Registered: Nov 2001
Location: Spain
Distribution: Mandrake 9.1
Posts: 48

Rep: Reputation: 15
I had a similiar problem with this. Mind you I'm not sure how I solved it but it might have something to do with the hosts file. Check that the machine name (fully qualified one) and ip address is correct. I think sendmail checks this file on startup.

A-dummy is right about not having it running if you don't need it. It'll just provide a possible security risk if not maintained properly.
 
Old 08-13-2002, 12:45 PM   #4
fromzj
LQ Newbie
 
Registered: Jul 2002
Posts: 18

Original Poster
Rep: Reputation: 0
Thank you A-dummy, I have tried rename the file S80sendmail in dir /etc/rc.d/rc5.d/, but this failed to skip starting sendmail after my reboot.

Then I think than /etc/rc.d/rc5.d/ is used at the running level of 5, but I load at 3.

So I renamed the file S80sendmail in dir /etc/rc.d/rc3.d/, it successfully skip starting that sendmail.

Further question:

What is xx.d file?
 
Old 08-13-2002, 12:54 PM   #5
A-dummy
Member
 
Registered: Jun 2002
Location: Kanpur,India
Distribution: RH-7.0 , 7.3
Posts: 130

Rep: Reputation: 15
you mean rc.d ,rc3.d & such things.....they are initialisation
files & all files inside rc5.d (starting with S)are run,for example ,
when you enter 5th level.....all such scripts are kept inside rc.d
directory structure with (probably) symbolic links to /etc/init.d...
this is true for most of the distros following system V like RH,
mandy.....
 
Old 08-13-2002, 04:00 PM   #6
fromzj
LQ Newbie
 
Registered: Jul 2002
Posts: 18

Original Poster
Rep: Reputation: 0
init.d, what an important file. My impression to it is very confuse, could you tell me about it more detailer?
 
Old 08-13-2002, 05:11 PM   #7
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,415

Rep: Reputation: 1968Reputation: 1968Reputation: 1968Reputation: 1968Reputation: 1968Reputation: 1968Reputation: 1968Reputation: 1968Reputation: 1968Reputation: 1968Reputation: 1968
right, the problenm is probably that it is not resolving your domain name properly, that's what it always is. if you tail /var/log/messages youshould see 3 or 4 error messages saying i can't resolve the hostname. make suer that the hostname is set in /etc/mail/local-host-names and any other relevant files in that directory
 
  


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
transcode takes too long xgreen Slackware 2 05-08-2005 09:54 AM
Sendmail takes forever to start up paul.nel Linux - General 3 01-28-2005 02:17 PM
sendmail takes minutes to start dirken Linux - Newbie 4 07-09-2004 06:09 PM
sendmail takes too long to come up ... t0dd Linux - Software 1 03-11-2002 03:59 PM
Sendmail takes 5 minutes to start glock19 Linux - General 9 02-01-2002 01:33 PM


All times are GMT -5. The time now is 08:43 PM.

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