Managed OpenStack
Latest
Frequently Asked Questions
Solution
How To
Internal Only
Templates
Powered By

Title
Message
Create new category
What is the title of your new category?
Edit page index title
What is the title of the page index?
Edit category
What is the new title of your category?
Edit link
What is the new title and URL of your link?
"Unable to obtain pidfile" Error While Starting Libvirtd Service
Copy Markdown
Open in ChatGPT
Open in Claude
Problem
- libvirtd service failed to start with below error reported in /var/log/messages.
kdt-dpckvm01 libvirtd[404581]: libvirt version: 1.3.1, package: 1ubuntu10.24 (Marc Deslauriers [marc.deslauriers@ubuntu.com] Wed, 23 May 2018 13:29:29 -0400)kdt-dpckvm01 libvirtd[404581]: hostname: kdt-dpckvm01kdt-dpckvm01 libvirtd[404578]: /usr/sbin/libvirtd: error: Unable to obtain pidfile. Check /var/log/messages or run without --daemon for more info.kdt-dpckvm01 libvirtd[404581]: Failed to acquire pid file '/var/run/libvirtd.pid': Resource temporarily unavailablekdt-dpckvm01 systemd[1]: libvirt-bin.service: Main process exited, code=exited, status=1/FAILUREkdt-dpckvm01 systemd[1]: libvirt-bin.service: Unit entered failed state.kdt-dpckvm01 systemd[1]: libvirt-bin.service: Failed with result 'exit-code'.kdt-dpckvm01 systemd[1]: libvirt-bin.service: Service hold-off time over, scheduling restart.Environment
- Platform9 Managed OpenStack - v3.6.0 and Higher
Cause
The libvirtd service fails to start as the /var/run/libvirtd.pid file is not accessible.
Resolution
- Remove PID file on the affected KVM host.
xxxxxxxxxx$ rm -rf /var/run/libvirtd.pid- Restart the libvirtd service on the KVM host.
xxxxxxxxxx$ systemctl restart libvirtVariableType to search · ESC to discard
GlossaryType to search · ESC to discard
InsertType to search · ESC to discard
No matches
Last updated on
Was this page helpful?
Discard Changes
Do you want to discard your current changes and overwrite with the template?
Archive Synced Block
Message
Create new Template
What is this template's title?
Delete Template
Message