chkconfig --list and service --status-all give no output; service network restart reports unrecognized service
Issue
-
Running
chkconfig --listproduces no output:[root]# chkconfig --list [root]# -
Using
chkconfigto enable or disable services fails with errors:[root]# chkconfig network on error reading information on service network: No such file or directory [root]# chkconfig crond --list error reading information on service sshd: No such file or directory [root]# chkconfig sshd off error reading information on service sshd: No such file or directory -
Using
serviceto query all services or start & stop services fails with errors:[root]# service --status-all [root]# service network restart network: unrecognized service [root]# service sshd status sshd: unrecognized service
Environment
- Red Hat Enterprise Linux 7
- Red Hat Enterprise Linux 6
- Red Hat Enterprise Linux 5
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.