Failed to start virt-who service as "No such file or directory: '/var/lib/virt-who/key'"

Solution Verified - Updated -


  • virt-who service fails to start, below error message in logs:
[root@example]# systemctl status virt-who
● virt-who.service - Daemon for reporting virtual guest IDs to subscription-manager
   Loaded: loaded (/usr/lib/systemd/system/virt-who.service; enabled; vendor preset: disabled)
   Active: failed (Result: exit-code) since Thu 2017-01-26 22:19:48 UTC; 2s ago
  Process: 121144 ExecStart=/usr/bin/virt-who (code=exited, status=1/FAILURE)
 Main PID: 121144 (code=exited, status=1/FAILURE)
   Status: "virt-who can't be started: [Errno 2] No such file or directory: '/var/lib/virt-who/key'"

Jan 26 22:19:47 /usr/bin/virt-who[121144]: [ERROR] - [Errno 2] No such file or direc...key'


  • Red Hat Satellite 6.x
  • Red hat Enterprise Linux 6, 7

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