chkconfig --list and service --status-all give no output; service network restart reports unrecognized service

Solution Verified - Updated -

Issue

  • Running chkconfig --list produces no output:

    [root]# chkconfig --list
    [root]# 
    
  • Using chkconfig to 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 service to 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.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content