Unable to boot KVM VPS in SolusVM: Failed to connect socket to '/var/run/libvirt/libvirt-sock'

Applicable to:

  • SolusVM

Symptoms 

  • Unable to boot the KVM VPS in SolusVM, upon pushing the Reboot(Debug) button at the page SolusVM > Virtual Server > VPS the following error occurs:

    SVM_ERROR: error: Failed to connect socket to '/var/run/libvirt/libvirt-sock': Connection refused

    Or

    SVM_ERROR: error: Failed to connect socket to '/var/run/libvirt/libvirt-sock': No such file or directory

  • The libvirtd service status is the following on the KVM Slave Node:

    # systemctl status libvirtd
    ● libvirtd.service - Virtualization daemon
    Loaded: loaded (/usr/lib/systemd/system/libvirtd.service; enabled; vendor preset: enabled)
    Active: inactive (dead) since Fri 2021-10-22 11:29:19 EDT; 21min ago
    ...

Cause

The required service libvirtd is not running on the KVM Slave Node

Resolution

  1. Log in to the Slave Node via SSH
  2. Start the libvirtd service:

    # systemctl start libvirtd

Articles in this section

Was this article helpful?
0 out of 0 found this helpful
Share

Comments

0 comments

Please sign in to leave a comment.