How to resolve KVM authentication issue in Applications Manager?

How to resolve KVM authentication issue in Applications Manager?

Execute the command "Virsh Version" in the kvm host with user account used for monitoring in Applications Manager and check the error response:
  1. Failed to connect socket to '/var/run/libvirt/libvirt-sock': No such file or directory
    1. Verify and install the following packages:
      1. For Ubuntu:
        apt-get install qemu-kvm libvirt-daemon-system bridge-utils
      2. For RHEL:
        yum install qemu-kvm qemu-img libvirt virt-install libvirt-client libvirt-python
      3. For Cent:
        yum install qemu-kvm libvirt libvirt-python libguestfs-tools virt-install
    2. Check and start the libvirtd service
      1. Systemctl status libvirtd - Check the libvirtd service status
      2. Systemctl start libvirtd - Start the libvirtd service
  2. Failed to connect socket to '/var/run/libvirt/libvirt-sock': Permission denied
    1. Use root account for monitoring KVM.
If you performed the above step and still facing the issue, then try execute the ServerSSHTroubleshoot.bat or sh file with the help of the following link: