LinuxQuestions.org
Did you know LQ has a Linux Hardware Compatibility List?
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices



Reply
 
Search this Thread
Old 08-07-2003, 07:08 AM   #1
lindab_tsp
LQ Newbie
 
Registered: Mar 2002
Location: IRELAND
Posts: 11

Rep: Reputation: 0
Red Hat 9 Stop Services


Hi,

I have Dns running on Red Hat 9,
What unnecssary services do I need to stop running,
And how do I stop these services?

Thanks,
L.
 
Old 08-07-2003, 09:35 AM   #2
unSpawn
Moderator
 
Registered: May 2001
Posts: 27,691
Blog Entries: 54

Rep: Reputation: 2957Reputation: 2957Reputation: 2957Reputation: 2957Reputation: 2957Reputation: 2957Reputation: 2957Reputation: 2957Reputation: 2957Reputation: 2957Reputation: 2957
Try running "runlevel" to see the runlevel you're in (say it's 3), now run "chkconfig --list" to see what get's started in your runlevel or see the links with "\ls .etc.rc,d.rc3.d/S*", then for each service it says "on" (or result from ls) there are two ways to turn it of: using "chkconfig" (man chkconfig for more) to handle changing symbolic links automagically or manually. To disable it manually, first stop the service: "/etc/(rc.d/)init.d/<servicename> stop", then in the runlevel (rc#.d dir, 3 in this example) change the corresponding S??<servicename> link to read K??<servicename>, where the question marks are the place in the sequence the service gets started as.
Now the service wont get started next boot.

Run ls or chkconfig again to check.
 
  


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 On
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Services for Macintosh on Red Hat Enterprise 4.0 gizet Red Hat 0 09-22-2005 07:02 AM
VNC Services on Red Hat 7.3 mustang05 Linux - General 1 01-15-2004 10:40 PM
VNC Services on Red Hat 7.3 mustang05 Linux - General 1 01-15-2004 02:34 PM
How to stop Red Hat script Skyline Programming 3 08-24-2003 06:32 PM
Red Hat 6.2 network services from NT client dlindy Linux - Networking 14 12-04-2000 06:48 PM


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