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 Manage Libvirtd Process With Systemctl
Copy Markdown
Open in ChatGPT
Open in Claude
Problem
- After upgrading from Ubuntu 14.04 LTS to Ubuntu 16.04 LTS, systemctl shows libvirt-bin in an inactive/dead state.
- Attempts to manage the process using systemctl commands or /etc/init.d/* scripts fail silently.
Environment
- Platform9 Managed OpenStack - All Versions
- Ubuntu 16.04 LTS after upgrading from Ubuntu 14.04 LTS
Cause
Upgrading from Ubuntu 14.04 LTS with libvirt-bin installed, to Ubuntu 16.04 LTS does not consistently update the /etc/default/libvirt-bin configuration file causing an option which attempts to fork the libvirtd process to be left in place.
Resolution
- Open the /etc/default/libvirt-bin file for editing on the affected host.
xxxxxxxxxx$ sudo vi /etc/default/libvirt-bin- Remove the ' -d' flag from Libvirt options.
xxxxxxxxxx# options passed to libvirtd, add "-l" to listen on tcplibvirtd_opts="-l -d"- Attempt to stop the Libvirt daemon.
xxxxxxxxxx$ sudo systemctl stop libvirt-bin- Verify the service has been stopped.
xxxxxxxxxx$ ps -ef | grep libvirtd- If the process is still present, attempt to gracefully kill it.
xxxxxxxxxx# pkill libvirtd- Repeat Step #4 to verify the process exist. If it still does then kill it forcefully.
xxxxxxxxxx# pkill -9 libvirtd- Start the service.
xxxxxxxxxx$ sudo systemctl start libvirt-binVariableType 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