LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 09-18-2003, 01:14 PM   #1
naflan
Member
 
Registered: May 2003
Location: NC, USA
Distribution: Slackware 14.0
Posts: 94

Rep: Reputation: 15
slow bootup


During boot, there is about a one minute delay after the following messages:

Starting sendmail MTA daemon: /usr/sbin/sendmail -L sm-mta -bd -q25m

Starting sendmail msp queue runner: /usr/sbin/sendmail -L -sm-msp-queue -Ac q25m

What can I do about this

Thanks
naflan
 
Old 09-18-2003, 01:19 PM   #2
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417

Rep: Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985
the only area i've come across that causes it to hang is when it can't resolve it's own hostname correctly, check it is correctly set up in /etc/hosts and the relevant sendmail files, typically in /etc/mail/
 
Old 09-18-2003, 04:48 PM   #3
h1tman
Member
 
Registered: Jul 2003
Distribution: Slackware 11
Posts: 439

Rep: Reputation: 30
is the problem the delay with sendmail, or the fact that sendmail itself is slowing the process, if so take it out of the rc.d files
 
Old 09-26-2003, 07:33 AM   #4
jspaceman
Member
 
Registered: Dec 2000
Location: Toronto, Canaduhhhh
Distribution: Slackware -current, OpenBSD 3.8-stable
Posts: 178

Rep: Reputation: 30
I too am having this problem.

When I first installed Slack I changed the permissions on /etc/rc.d/rc.sendmail to -x. Yesterday I changed the permissions back to +x and now I notice when I boot up Slack it delays for a minute with that "Starting sendmail MTA daemon" message mentioned in the above post.

Did I set the permissions on rc.sendmail properly? Currently they are set to -rwxr-xr-x

Do I even need sendmail running on my system? I use my ISP's mail server to send and receive email, but do I need sendmail running in order for my system to send periodic security and system information to root?
 
Old 09-26-2003, 12:40 PM   #5
lenlutz
Member
 
Registered: May 2003
Location: philadelhpia pa
Posts: 92

Rep: Reputation: 15
i JUST read this (in one of those $60 books)
add the NAME of your machine in /etc/hosts

like: 127.0.0.1 localhost

it made ALL the difference in the world on mine... i hope yours too
 
Old 09-26-2003, 06:58 PM   #6
eric.r.turner
Member
 
Registered: Aug 2003
Location: Planet Earth
Distribution: Linux Mint
Posts: 216

Rep: Reputation: 31
Quote:
Originally posted by jspaceman
Do I even need sendmail running on my system? I use my ISP's mail server to send and receive email, but do I need sendmail running in order for my system to send periodic security and system information to root?
It sounds like you don't need sendmail. Remove the execute permissions from /etc/rc.d/rc.sendmail:

Code:
chmod 644 /etc/rc.d/rc.sendmail
 
Old 09-29-2003, 07:40 PM   #7
jspaceman
Member
 
Registered: Dec 2000
Location: Toronto, Canaduhhhh
Distribution: Slackware -current, OpenBSD 3.8-stable
Posts: 178

Rep: Reputation: 30
OK, I have '127.0.0.1 localhost' in /etc/hosts. I used to also have '192.168.0.3 computerroom' (the IP and hostname for this computer) in /etc/hosts but I removed that as it was causing sendmail to take a good minute or more to start when booting this computer up.

But when I removed '192.168.0.3 computerroom' from /etc/hosts I started to get the following message during boot up:

Quote:
Sep 29 05:17:30 computerroom lpd[401]: Get_local_host: hostname 'computerroom' bad
Plus I noticed that X would take longer to start as well.

So I added '192.168.0.3 computerroom' back to /etc/hosts and I no longer get the above message. However sendmail once again takes a minute or more to start.

Is there some way to fix this so that sendmail starts faster and I don't get the above message concerning my hostname? Or is the best bet just to shut sendmail off in /etc/rc.d/rc.sendmail?

Do I really need sendmail running if I am using my ISP's mail server to send and receive email? Does sendmail send messages to root to warn about security breaches, etc.?
 
Old 09-30-2003, 01:03 PM   #8
h1tman
Member
 
Registered: Jul 2003
Distribution: Slackware 11
Posts: 439

Rep: Reputation: 30
no you dont need sendmail

read this
http://simplylinux.punted.net/Config...ackware90.html
 
Old 09-30-2003, 01:11 PM   #9
Nimoy
Member
 
Registered: Jun 2003
Location: Currently Denmark
Distribution: Ubuntu 15.04
Posts: 336

Rep: Reputation: 30
Here is something you might want to check out if you are looking to speed up your boot:

http://www-106.ibm.com/developerwork...xw03BootFaster

Hope you find the article useful
 
Old 09-30-2003, 01:38 PM   #10
naflan
Member
 
Registered: May 2003
Location: NC, USA
Distribution: Slackware 14.0
Posts: 94

Original Poster
Rep: Reputation: 15
i had the following in /etc/hosts

127.0.0.1 localhost
127.0.0.1 nameofmycomputer
192.168.0.150 nameofmycomputer

i removed the second line and have no more problems with sendmail at boot.
 
  


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
slow bootup neverwhere Linux - General 4 10-03-2004 11:35 PM
Slow bootup with new kernel Pho Debian 2 09-11-2004 10:03 PM
Slow bootup TazG Linux - General 3 08-06-2004 10:00 PM
Slow Bootup XPediTioN Slackware 9 07-01-2004 03:14 AM
Slow Bootup distortedstar Linux - Software 2 05-10-2004 08:06 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 08:14 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
Open Source Consulting | Domain Registration