LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
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
  Search this Thread
Old 05-24-2005, 01:56 AM   #1
ReBeL24
LQ Newbie
 
Registered: May 2005
Posts: 3

Rep: Reputation: 0
Linux services which service starts when


Hi there guys,

Newbie here and need some information about which service start when at bootup and which service stops when at shutdown or reboot.

Thank you ppls
 
Old 05-24-2005, 03:39 AM   #2
linuxcolor
LQ Newbie
 
Registered: Feb 2005
Location: Bangladesh
Distribution: Fedora 11
Posts: 26

Rep: Reputation: 15
issue the following command
#ntsysv or chkconfig --list
it will show u a list of service which are running and stop
 
Old 05-24-2005, 05:23 AM   #3
ReBeL24
LQ Newbie
 
Registered: May 2005
Posts: 3

Original Poster
Rep: Reputation: 0
does it show in which order it is booted up?
 
Old 05-24-2005, 08:25 AM   #4
snarkout
Member
 
Registered: Apr 2005
Location: The Land Of Entrapment
Posts: 77

Rep: Reputation: 15
As root, (or use su - to gain root privs) enter "runlevel" this will kick back two numbers, typically "n #" - the second # is your current runlevel, the first is the last you were in (n IIRC means none, indicating you booted cleanly into your current runlevel)- you want the second #. With that number in mind, enter "cd /etc/rc.d/rc#.d" where # is the number you just discovered. In this directory do an "ls" -- these are all the services that start on your machine, numbered in order. S = start in this runlevel, K = kill in this runlevel. Next, run "more /etc/rc.local" - these are the scripts that you, as a user, can have the machine run if you don't want to go through entering numbered symlinks in the rc.d directories. These commands, if they exist at all (and they may not), are run in the order that they appear. There is more to know, but these are the important-to-understand basics, and will probably give you what you need to know.

Last edited by snarkout; 05-24-2005 at 08:26 AM.
 
Old 05-24-2005, 08:37 AM   #5
ReBeL24
LQ Newbie
 
Registered: May 2005
Posts: 3

Original Poster
Rep: Reputation: 0
Hey thanks man, that really helped alot.
 
  


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
Restart services - 'service' command not found davee Linux - Newbie 9 03-16-2013 12:34 AM
services wont start, nor service-config birras Fedora 3 10-24-2004 08:22 PM
where are the service that starts on boot resides bhupee Linux - General 1 07-01-2004 06:02 AM
nfs service starts, however it takes 15 mins Kilka Linux - Networking 3 04-30-2004 04:36 PM
RH 8.0 on Dell Optiplex starts services slowly. treimers Linux - General 3 01-19-2004 05:13 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Fedora

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