LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Fedora
User Name
Password
Fedora This forum is for the discussion of the Fedora Project.

Notices

Reply
 
LinkBack Search this Thread
Old 02-13-2004, 01:11 PM   #1
rberry88
Member
 
Registered: Aug 2003
Location: Arlington Heights, IL USA
Distribution: Fedora Core 1 & WinXP Pro & Gentoo 1.4 & Arch Linux
Posts: 558

Rep: Reputation: 30
How do you stop a daemon from starting at bootup??


Fedora is running fine but when I boot I keep getting the "smartd failed" junk and have done the suggestions I found in this forum to try to get it to work properly but am unable to do so. However, I would rather just stop it from running during bootup all together. In Arch Linux you can add or delete daemons that are included at bootup by editing the /etc/rc.conf file but I haven't found anything similar in Fedora.

I found where it is listed in the init.d directory and was wondering if I should just move it from this directory or will that cause other problems?

rberry88
 
Old 02-13-2004, 05:13 PM   #2
trickykid
Guru
 
Registered: Jan 2001
Posts: 24,133

Rep: Reputation: 194Reputation: 194
http://gd.tuwien.ac.at/linuxcommand....s/smartd8.html

That is the man page on this daemon. From there you should be able to tell if its going to impact your system or not. My guess is it won't since its failing so its safe to remove from startup.
 
Old 02-13-2004, 06:30 PM   #3
rberry88
Member
 
Registered: Aug 2003
Location: Arlington Heights, IL USA
Distribution: Fedora Core 1 & WinXP Pro & Gentoo 1.4 & Arch Linux
Posts: 558

Original Poster
Rep: Reputation: 30
I moved it from the init.d directory and that seems to have taken care of the problem. I'll have to play around with it and see what was causing it to fail but for now the annoyance is gone.

rberry88
 
Old 02-13-2004, 08:48 PM   #4
jspaar
Member
 
Registered: Feb 2004
Location: California
Posts: 99

Rep: Reputation: 15
Another way to turn a service on or off is through redhat-config-services, which you can run by clicking Hat->System Settings->Server Settings->Services.

Services that show a check-mark are run when starting the run-level. So to turn a service off completely, you need to uncheck the service and save for each run-level, 1-5.

Maybe your way was easier after all...
 
Old 02-13-2004, 10:01 PM   #5
rberry88
Member
 
Registered: Aug 2003
Location: Arlington Heights, IL USA
Distribution: Fedora Core 1 & WinXP Pro & Gentoo 1.4 & Arch Linux
Posts: 558

Original Poster
Rep: Reputation: 30
Thanks for pointing that out, I didn't notice that going through the menus and it will come in handy for other things.

I decided to just move because now I know where it is and don't have to worry about it. Plus I want to tinker with it and playing with it while in the /etc/init.d directory didn't seem like a good idea.

rberry88
 
Old 02-17-2004, 09:22 PM   #6
flyfishin
Member
 
Registered: Aug 2003
Location: KC, MO
Distribution: CentOS, RHEL, SuSE, Fedora
Posts: 243

Rep: Reputation: 30
A great way to turn on/off services is to use the chkconfig command line utitlity. Logged in as root, start with chkconfig --list. It will show you all of the services on your system and what the settings are for each run level. If you want to turn off a listed service issue the command chkconfig service off. This will turn it off for run levels 2,3,4, and 5. I always shut off kudzu so I just issue the command chkconfig kudzu off. You can list an individual service and see what its settings are too. chkconfig --list kudzu shows me just the kudzu service and its settings for each run level. The graphical option is nice but you have to work with one level at a time, AFAIK. With chkconfig you can turn a service off on all levels with one command.
 
Old 02-18-2004, 01:44 PM   #7
jspaar
Member
 
Registered: Feb 2004
Location: California
Posts: 99

Rep: Reputation: 15
Nice one fly, that's handy.
 
  


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
Trackbacks are Off
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Logging with Start stop daemon bigsness Linux - General 0 01-19-2005 03:25 PM
How do I stop the sshd daemon? ebenh Linux - Software 5 09-04-2004 01:06 PM
Howto stop daemon from starting Lawful Linux - General 3 04-30-2004 04:06 PM
How to stop LP process at bootup? britishnemesis Linux - Software 1 10-27-2003 01:04 AM
How to stop and restart sendmail daemon? J_Szucs Linux - Newbie 4 06-11-2002 11:31 PM


All times are GMT -5. The time now is 04:22 PM.

Main Menu
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