LinuxQuestions.org
Share your knowledge at the LQ Wiki.
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 12-19-2003, 11:54 AM   #1
darthczyz
Member
 
Registered: May 2003
Distribution: Redhat 9
Posts: 49

Rep: Reputation: 15
removing from boot up


i was wondering what the easiest way to remove a service from boot up is. sendmail starts on my machine by default and just sits there. it takes too long, and i really don't think i need it anywise. is the easiest way to do it to just delete the 'sendmail' file from init.d? or is there a more graceful approach

skiz
 
Old 12-19-2003, 12:30 PM   #2
aaa
LQ Guru
 
Registered: Jul 2003
Location: VA
Distribution: Slack 10.1
Posts: 2,194

Rep: Reputation: 46
Take a look at the /etc/rc*.d directories. You'll find links to the scripts in init.d in them. For example, there might be a /etc/rc3.d/sendmail link that runs sendmail in runlevel 3. Try modifying that instead of the script itself.
 
Old 12-19-2003, 05:47 PM   #3
Skyline
Senior Member
 
Registered: Jun 2003
Distribution: Debian/other
Posts: 2,104

Rep: Reputation: 45
su to Root user with

su -

(su with a space then a dash)

then type your root password

then type

chkconfig sendmail off
 
Old 12-20-2003, 03:36 AM   #4
Kristijan
Member
 
Registered: Sep 2003
Location: Melbourne, Australia
Distribution: NetBSD 3.0.1, Slackware 10.1
Posts: 394

Rep: Reputation: 30
darthczyz what is your actually sendmail problem, their is most likely a way to fix it. Usuall causes of sendmail lagging on boot is it not finding a FQDN ((Fully Qualified Domain Name) I think)
 
Old 12-21-2003, 06:09 PM   #5
darthczyz
Member
 
Registered: May 2003
Distribution: Redhat 9
Posts: 49

Original Poster
Rep: Reputation: 15
actually kris, it is a lag problem. i also recently changed my hostname. i took sendmail, and no more problem. but how could i fix the fully qualified domain thing? thanks for any help
 
Old 12-21-2003, 08:25 PM   #6
Kristijan
Member
 
Registered: Sep 2003
Location: Melbourne, Australia
Distribution: NetBSD 3.0.1, Slackware 10.1
Posts: 394

Rep: Reputation: 30
This is what my /etc/hosts file looks like:

Code:
127.0.0.1       localhost
127.0.0.1       neo.kristijan.homeip.net neo
So the FQDN would be neo.kristijan.homeip.net, if i'm not mistaken. Just have a fiddle with it, try and put (eg: <hostname>.mymachine.org)

Note: My n00b box names
 
  


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
Removing boot up programs Ed_999 Slackware 3 11-07-2004 10:07 PM
Removing boot loader..HELP aenimax Linux - Newbie 5 03-18-2004 04:22 PM
removing boot loader GraemeK Fedora 7 01-25-2004 12:11 PM
removing boot loader cacososa Linux - Software 6 12-16-2003 10:30 PM
removing boot options aymbpc Linux - Newbie 5 09-01-2003 05:27 PM

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

All times are GMT -5. The time now is 03:59 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