Fedora Core Linux chkconfig does not display service name

Posted on in Categories last updated August 27, 2006

Q. I have server / service is installed but it does not show up in the chkconfig –list output. I need to use full path /etc/init.d/service start. I am using Fedora Core Linux and Cent OS (RHEL based) distos.

How do I solve this problem?

A. Use –add option to add the service to chkconfig database. For example:
# chkconfig --add lighttpd

Where,

  • lighttpd: Service name.

Now see the list with the following command:
# chkconfig --list | less

To turn on service at boot time:
# chkconfig lighttpd on

To turn off service at boot time:
# chkconfig lighttpd off

Read man page of chkconfig for more information.

Posted by: Vivek Gite

The author is the creator of nixCraft and a seasoned sysadmin and a trainer for the Linux operating system/Unix shell scripting. He has worked with global clients and in various industries, including IT, education, defense and space research, and the nonprofit sector. Follow him on Twitter, Facebook, Google+.

Leave a Comment