LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Red Hat
User Name
Password
Red Hat This forum is for the discussion of Red Hat Linux.

Notices


Reply
  Search this Thread
Old 10-30-2003, 02:10 PM   #1
pete_bogg
Member
 
Registered: Aug 2003
Location: Kentucky
Distribution: Ubuntu 9.10
Posts: 153

Rep: Reputation: 31
Runlevel 5 default services


Hopefully a simple question:

If I turn off services during a session and save, does the runlevel go back to a service status default on reboot?

For example, if the initial status of 'cron' is on and I turn it off and save. Will 'cron' be on when I reboot my system?

If not, could someone list the default service status for runlevel 5.
 
Old 10-30-2003, 02:18 PM   #2
jacs
LQ Newbie
 
Registered: Oct 2003
Posts: 7

Rep: Reputation: 0
Do a ls -l in /etc/init.d/tc5.d/ or use the tool ntsysv to check which services that starts up on boot (It has an S in the filename).

Hope it helped a bit
 
Old 10-30-2003, 02:22 PM   #3
pete_bogg
Member
 
Registered: Aug 2003
Location: Kentucky
Distribution: Ubuntu 9.10
Posts: 153

Original Poster
Rep: Reputation: 31
Thanks jacs, but I guess what I need to know, is if my 'save' modified the rc5.d file. I guess I could do a 'ls -l' and look at the time stamp.
 
Old 10-30-2003, 08:20 PM   #4
pilot1
Member
 
Registered: Jun 2002
Location: USA
Distribution: Gentoo, Fedora Core
Posts: 408

Rep: Reputation: 30
How are you turning the services off?
With "chkconfig servicename off" maybe? If you use chkconfig to do it, then yes, the services will not be started when your computer next starts.
If you wish to just stop a service until your computer starts or you start the service, type "service servicename stop/start/restart/status"
 
Old 10-31-2003, 03:14 AM   #5
jacs
LQ Newbie
 
Registered: Oct 2003
Posts: 7

Rep: Reputation: 0
If you turn off an service it doesn't change the running level but if you do like pilot1 says the link from rc5.d to rc.d is deleted. So rc.d holds the files and rc0.d -> rc6.d holds only links to rc.d.

Hope it helped you a bit in your conquest to master linux
 
Old 10-31-2003, 07:12 AM   #6
pete_bogg
Member
 
Registered: Aug 2003
Location: Kentucky
Distribution: Ubuntu 9.10
Posts: 153

Original Poster
Rep: Reputation: 31
I used the services application in the menu system to turn off several services. When I finished turning off the services, I had the option to save the changes, which I did.

I looked last night, and my rc5.d had a newer date than the rest of the rc_.d files.

Rather than try to guess which services are on by default, I will probably re-install RH9. This is mostly due to printer problems that I cannot figure out.
 
Old 10-31-2003, 09:29 AM   #7
aqoliveira
Member
 
Registered: Dec 2001
Location: Portugal
Distribution: /Red Hat/Fedora/Solaris
Posts: 622

Rep: Reputation: 30
Howzit

Try this cmd it will tell u what services r on and off for each runlevel chkconfig --list

chow
 
Old 10-31-2003, 06:55 PM   #8
pete_bogg
Member
 
Registered: Aug 2003
Location: Kentucky
Distribution: Ubuntu 9.10
Posts: 153

Original Poster
Rep: Reputation: 31
I re-installed RH9.0 and everything is running 'normal' now. I did write down the initial services that were turned on when I booted up for the first time. I suggest everyone document this before shutting down services.
 
  


Reply



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
Default status(and runlevel) of services chessonly Ubuntu 0 11-18-2005 06:15 PM
solution help 'Skipped services in runlevel 5: nfs splash smbfs ' nickaelwen Linux - Newbie 1 11-01-2005 09:54 AM
Services not starting in runlevel 3 JesusAddict3791 Linux - Newbie 4 04-26-2005 12:49 AM
some services down after a change of runlevel zovres Linux - Newbie 5 10-15-2003 07:48 PM
Services skipped at runlevel 0: smbfs rberry88 Linux - Newbie 4 09-02-2003 10:56 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Red Hat

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