systemctl command do not show any output

Solution Verified - Updated -

Issue

  • systemctl status <service.name> do not return anything on the command line.

  • Example:

    root@host:~> ps aux | grep rsyslog
    root      1967  0.0  0.2 296296 10476 ?        Ssl  Jun27   0:18 
    /usr/sbin/rsyslogd -n
    root     26044  0.0  0.0 112708   928 pts/1    S+   10:11   0:00 grep --color=auto rsyslog
    root@host:~> systemctl status rsyslog
    root@host:~> 
    
  • logs shows below error:

    dbus.socket: Failed at step EXEC spawning /usr/bin/systemctl
    

Environment

  • Red Hat Enterprise Linux

  • systemd

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