LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 09-20-2004, 01:55 AM   #1
tej
Member
 
Registered: Aug 2004
Location: india
Posts: 32

Rep: Reputation: 15
what are run levels in chkconfig


hello forum,

to start any service in chkconfig there are run level 1 to 5. which displays on or off
when we give command
chkconfig --list

can any one tell me on what run level i am suppose to start any service and what is importance of these run levels.

-bye
 
Old 09-20-2004, 02:15 AM   #2
MartinN
Member
 
Registered: Nov 2003
Location: Ronneby, Sweden
Posts: 555

Rep: Reputation: 30
Hello tej!

From the file /etc/inittab:
# Default runlevel. The runlevels used by RHS are:
# 0 - halt (Do NOT set initdefault to this)
# 1 - Single user mode
# 2 - Multiuser, without NFS (The same as 3, if you do not have networking)
# 3 - Full multiuser mode
# 4 - unused
# 5 - X11
# 6 - reboot (Do NOT set initdefault to this)

If your system boots with a gui, then you use runlevel 5, if it boots to a text console, you're using runlevel 3.

Martin
 
  


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



Similar Threads
Thread Thread Starter Forum Replies Last Post
Why do I get "bash: chkconfig: command not found" when I try to run chkconfig? non-thrash Fedora 10 05-20-2010 01:31 PM
Adding program to fedora startup: chkconfig and levels? jrbiochem Linux - General 2 07-09-2004 02:20 PM
How to Change Run Levels walsht3108 Linux - Newbie 4 08-27-2003 03:43 PM
run control (rc) levels...a definition? nuzzy Linux - General 4 06-28-2002 03:28 PM
Changing Run Levels unclebyron Linux - General 1 01-28-2002 05:43 PM


All times are GMT -5. The time now is 08:03 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration