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 |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
 |
08-13-2002, 02:10 AM
|
#1
|
LQ Newbie
Registered: Jul 2002
Posts: 18
Rep:
|
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.
|
|
|
08-13-2002, 02:19 AM
|
#2
|
Member
Registered: Jun 2002
Location: Kanpur,India
Distribution: RH-7.0 , 7.3
Posts: 130
Rep:
|
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)......
|
|
|
08-13-2002, 04:16 AM
|
#3
|
Member
Registered: Nov 2001
Location: Spain
Distribution: Mandrake 9.1
Posts: 48
Rep:
|
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.
|
|
|
08-13-2002, 12:45 PM
|
#4
|
LQ Newbie
Registered: Jul 2002
Posts: 18
Original Poster
Rep:
|
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?
|
|
|
08-13-2002, 12:54 PM
|
#5
|
Member
Registered: Jun 2002
Location: Kanpur,India
Distribution: RH-7.0 , 7.3
Posts: 130
Rep:
|
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.....
|
|
|
08-13-2002, 04:00 PM
|
#6
|
LQ Newbie
Registered: Jul 2002
Posts: 18
Original Poster
Rep:
|
init.d, what an important file. My impression to it is very confuse, could you tell me about it more detailer?
|
|
|
08-13-2002, 05:11 PM
|
#7
|
Moderator
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417
|
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
|
|
|
All times are GMT -5. The time now is 07:31 AM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|