My Oracle Support Banner

OLVM: On Oracle Linux 5 Environments ovirt-guest-agent Service Fails with Error: "OSError: [Errno 2] No such file or directory: '/dev/virtio-ports/ovirt-guest-agent.0'" (Doc ID 2693656.1)

Last updated on AUGUST 07, 2020

Applies to:

Linux OS - Version Oracle Linux 7.7 with Unbreakable Enterprise Kernel [4.14.35] and later
Linux x86-64


ovirt-guest-agent running on Oracle Linux 5.7 VM fails with the below Error:


MainThread::ERROR::ovirt-guest-agent::140::root::Unhandled exception in oVirt guest agent!
Traceback (most recent call last):
File "/usr/share/ovirt-guest-agent/", line 134, in ?, pidfile)
File "/usr/share/ovirt-guest-agent/", line 65, in run
self.agent = LinuxVdsAgent(config)
File "/usr/share/ovirt-guest-agent/", line 466, in __init__
AgentLogicBase.__init__(self, config)
File "/usr/share/ovirt-guest-agent/", line 188, in __init__
self.vio = VirtIoChannel(config.get("virtio", "device_prefix"))
File "/usr/share/ovirt-guest-agent/", line 160, in __init__
self._stream = VirtIoStream(vport_name)
File "/usr/share/ovirt-guest-agent/", line 141, in __init__
self._vport =, os.O_RDWR)
OSError: [Errno 2] No such file or directory: '/dev/virtio-ports/ovirt-guest-agent.0'
MainThread::INFO::ovirt-guest-agent::59::root::Starting oVirt guest agent
MainThread::ERROR:ovirt-guest-agent::140::root::Unhandled exception in oVirt guest agent!


To view full details, sign in with your My Oracle Support account.

Don't have a My Oracle Support account? Click to get started!

In this Document

My Oracle Support provides customers with access to over a million knowledge articles and a vibrant support community of peers and Oracle experts.