Systemctl Command does not provide expected output

Solution Verified - Updated -

Issue

  • systemctl command shows below output:
# systemctl status sshd
<No output>
# service sshd status
Redirecting to /bin/systemctl status sshd.service
/usr/sbin/service: line 87: /bin/systemctl: Success

Environment

  • Red Hat Enterprise Linux (RHEL) 8
  • Red Hat Enterprise Linux (RHEL)
  • 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