Welcome to Linux Knowledge Base and Tutorial
"The place where you learn linux"
Kitty Hooch

 Create an AccountHome | Submit News | Your Account  

Tutorial Menu
Linux Tutorial Home
Table of Contents

· Introduction to Operating Systems
· Linux Basics
· Working with the System
· Shells and Utilities
· Editing Files
· Basic Administration
· The Operating System
· The X Windowing System
· The Computer Itself
· Networking
· System Monitoring
· Solving Problems
· Security
· Installing and Upgrading
· Linux and Windows

Glossary
MoreInfo
Man Pages
Linux Topics
Test Your Knowledge

Site Menu
Site Map
FAQ
Copyright Info
Terms of Use
Privacy Info
Disclaimer
WorkBoard
Thanks
Donations
Advertising
Masthead / Impressum
Your Account

Communication
Feedback
Forums
Private Messages
Surveys

Features
HOWTOs
News Archive
Submit News
Topics
User Articles
Web Links

Google
Google


The Web
linux-tutorial.info

Who's Online
There are currently, 82 guest(s) and 0 member(s) that are online.

You are an Anonymous user. You can register for free by clicking here

  

chkconfig




SYNOPSIS

       chkconfig -t|--terse [names]
       chkconfig -s|--set [name state]
       chkconfig -e|--edit [names]
       chkconfig -c|--check name [state]
       chkconfig -l|--list [--deps] [names]
       chkconfig -a|--add [names]
       chkconfig -d|--del [names]


DESCRIPTION

       chkconfig is used to manipulate the runlevel links at boot
       time (see init.d(7)).  It can be thought of as a  frontend
       to  insserv(8).  Chkconfig can run in six different modes:
       terse list mode, set mode, edit mode, list mode, add  mode
       and  delete mode. The last three modes were added for com­
       patiblity reasons.


TERSE LIST MODE

       This mode lists the state of the  specified  services,  or
       all  known services if no service name was provided. Every
       printed line consists of the name of the service  and  the
       runlevels  the service is configured for at the moment. If
       it is configured in no runlevel, off is used  instead,  if
       it  is configured in the runlevels defined as a default by
       the start script, on is used. If the service is an enabled
       inetd  or  xinetd  service,  inetd  and  xinetd  are used.
       Inetd/xinetd services are configured in  /etc/inetd.d  and
       /etc/xinetd.d, respectively.

       If chkconfig is called without arguments, all services are
       listed in terse mode.


SET MODE

       Set mode is used to configure at which runlevel a  service
       should  be  started.  The  arguments  must be specified as
       pairs of service name and new state. You can  use  on  and
       off  as  special  states to select the default set of run­
       levels or to disable a service  completely.  You  can  use
       inetd  or  xinetd  to  configure  a service managed by the
       inetd/xinetd daemons.

       If no services are specified, chkconfig reads  lines  from
       standard  input. Each line must consist of a service/state
       pair. As this is exactly the  output  of  the  terse  list
       mode, this can be used to reconfigure a service specifica­
       tion saved by a former run.

       If the option -f or --force  is  also  given,  insserv  is
       called with a '-f' option.

       for checking.


LIST MODE

       List  mode  prints  for each specified service a line that
       consists of the service name and for runlevels zero to six
       on or off depending if the service will be started or not.
       on will be printed in bright green if the output is  writ­
       ten  to  a  terminal.  If  the --deps option is given, the
       names of the services that must  be  started  before  this
       service  is  appended  to each line. The inetd/xinetd ser­
       vices are listed in extra sections.


ADD MODE

       Calls insserv to enable a service and uses  list  mode  to
       display the new setting afterwards.


DEL MODE

       Same as add mode, but disable the service.


EXAMPLES

              chkconfig

       list the runlevel configuration of all known services

              chkconfig apache

       list the runlevel configuration of the apache web server

              chkconfig -t apache xntpd

       list  the  runlevel configuration of the apache web server
       and the network time protocol daemon.

              chkconfig apache on

       configure the apache web server to be started on next boot
       time.

              chkconfig apache 5

       configure  the apache web server to be started only if the
       system reaches runlevel 5.

              chkconfig apache 35

       configure the apache web server for runlevel 3 and 5.

              chkconfig apache on xntpd off

       configure two services

       change the runlevel configuration interactively

              chkconfig -e

       change the runlevel configuration of all services interac­
       tively


FILES

       /etc/init.d/
              path  to the boot script base directory as required
              by the Linux Standard Base Specification (LSB).

       /etc/inetd.d/
              path to the inetd services. See the  inetd  manpage
              to find out how to enable this feature.

       /etc/xinetd.d/
              path to the xinetd services.


SEE ALSO

       init.d(7), init(7), inetd(8) xinetd(8) insserv(8)


COPYRIGHT

       2003 SuSE Linux AG, Nuernberg, Germany.


AUTHOR

       Michael Schroeder <mls@suse.de>

                             Jan 2003                CHKCONFIG(8)
  




Login
Nickname

Password

Security Code
Security Code
Type Security Code


Don't have an account yet? You can create one. As a registered user you have some advantages like theme manager, comments configuration and post comments with your name.

Help if you can!


Amazon Wish List

Did You Know?
You can help in many different ways.


Friends



Tell a Friend About Us

Bookmark and Share



Web site powered by PHP-Nuke

Is this information useful? At the very least you can help by spreading the word to your favorite newsgroups, mailing lists and forums.
All logos and trademarks in this site are property of their respective owner. The comments are property of their posters. Articles are the property of their respective owners. Unless otherwise stated in the body of the article, article content (C) 1994-2013 by James Mohr. All rights reserved. The stylized page/paper, as well as the terms "The Linux Tutorial", "The Linux Server Tutorial", "The Linux Knowledge Base and Tutorial" and "The place where you learn Linux" are service marks of James Mohr. All rights reserved.
The Linux Knowledge Base and Tutorial may contain links to sites on the Internet, which are owned and operated by third parties. The Linux Tutorial is not responsible for the content of any such third-party site. By viewing/utilizing this web site, you have agreed to our disclaimer, terms of use and privacy policy. Use of automated download software ("harvesters") such as wget, httrack, etc. causes the site to quickly exceed its bandwidth limitation and are therefore expressly prohibited. For more details on this, take a look here

PHP-Nuke Copyright © 2004 by Francisco Burzi. This is free software, and you may redistribute it under the GPL. PHP-Nuke comes with absolutely no warranty, for details, see the license.
Page Generation: 0.09 Seconds