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:


                New to ADManager Plus?

                  New to ADSelfService Plus?

                    • Related Articles

                    • Authentication Methods in Applications Manager

                      Authentication involves validating an incoming user to facilitate the access to a specific resource. There are various authentication methods that you can use - based on the requirements and usage. In recent times, numerous organizations are ...
                    • Troubleshooting Server Authentication Failures in Applications Manager

                      If you encounter authentication failures in server monitors in Applications Manager, refer and choose the links from the below list to troubleshoot the issue. You can choose the troubleshooting steps based on the type of authentication failure. ...
                    • Troubleshooting Authentication Failed error

                      Authentication Failure Authentication failure occurs when the request to a resource is missing or has invalid credentials.  Check if URL requires authentication Access the URL in an incognito/private window and check if any pop up asking for ...
                    • Applications Manager default tomcat is down

                      If your Tomcat Monitor is down, it could probably be due to changes in Hostname/IP address of the machine in which Applications Manager is installed. You can verify the same using the steps given below: Navigate to ...
                    • Configuring SAML authentication for Okta in Applications Manager

                      Follow the steps given below to configure SAML authentication for Okta in Applications Manager: 1. Go to www.okta.com. Login to Okta. Click on the Admin tab and navigate to Applications. 2. Click on Create a new app integration and select SAML 2.0 ...