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 of over 48,000 articles and solutions.

Current Customers and Partners

Log in for full access

Log In
Close

Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.