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.