Fedora Core Linux chkconfig does not display service name

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.

ADVERTISEMENTS

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.

🐧 Get the latest tutorials on SysAdmin, Linux/Unix, Open Source/DevOps topics:
CategoryList of Unix and Linux commands
File Managementcat
FirewallAlpine Awall CentOS 8 OpenSUSE RHEL 8 Ubuntu 16.04 Ubuntu 18.04 Ubuntu 20.04
Network Utilitiesdig host ip nmap
OpenVPNCentOS 7 CentOS 8 Debian 10 Debian 8/9 Ubuntu 18.04 Ubuntu 20.04
Package Managerapk apt
Processes Managementbg chroot cron disown fg jobs killall kill pidof pstree pwdx time
Searchinggrep whereis which
User Informationgroups id lastcomm last lid/libuser-lid logname members users whoami who w
WireGuard VPNAlpine CentOS 8 Debian 10 Firewall Ubuntu 20.04

ADVERTISEMENTS
0 comments… add one

Leave a Reply

Your email address will not be published.

Use HTML <pre>...</pre>, <code>...</code> and <kbd>...</kbd> for code samples.