Red Hat This forum is for the discussion of Red Hat Linux. |
Notices |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
 |
10-30-2003, 02:10 PM
|
#1
|
Member
Registered: Aug 2003
Location: Kentucky
Distribution: Ubuntu 9.10
Posts: 153
Rep:
|
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.
|
|
|
10-30-2003, 02:18 PM
|
#2
|
LQ Newbie
Registered: Oct 2003
Posts: 7
Rep:
|
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
|
|
|
10-30-2003, 02:22 PM
|
#3
|
Member
Registered: Aug 2003
Location: Kentucky
Distribution: Ubuntu 9.10
Posts: 153
Original Poster
Rep:
|
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.
|
|
|
10-30-2003, 08:20 PM
|
#4
|
Member
Registered: Jun 2002
Location: USA
Distribution: Gentoo, Fedora Core
Posts: 408
Rep:
|
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"
|
|
|
10-31-2003, 03:14 AM
|
#5
|
LQ Newbie
Registered: Oct 2003
Posts: 7
Rep:
|
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
|
|
|
10-31-2003, 07:12 AM
|
#6
|
Member
Registered: Aug 2003
Location: Kentucky
Distribution: Ubuntu 9.10
Posts: 153
Original Poster
Rep:
|
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.
|
|
|
10-31-2003, 09:29 AM
|
#7
|
Member
Registered: Dec 2001
Location: Portugal
Distribution: /Red Hat/Fedora/Solaris
Posts: 622
Rep:
|
Howzit
Try this cmd it will tell u what services r on and off for each runlevel chkconfig --list
chow
|
|
|
10-31-2003, 06:55 PM
|
#8
|
Member
Registered: Aug 2003
Location: Kentucky
Distribution: Ubuntu 9.10
Posts: 153
Original Poster
Rep:
|
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.
|
|
|
All times are GMT -5. The time now is 01:46 AM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|