Why does rhnreg_ks and related command fail with libvirtError ?

Solution Verified - Updated -

Issue

  • When running rhnreg_ks and related commands fail with libvirtError message ?

    $ rhn-profile-sync 
    Updating package profile... 
    Updating hardware profile... 
    Updating virtualization profile... 
    libvir: Remote error : unable to connect to '/var/run/libvirt/libvirt-sock': No such file or directory 
    An error has occurred: 
    libvirt.libvirtError 
    See /var/log/up2date for more information 
    

Environment

  • Red Hat Enterprise Linux 5
  • Red Hat Enterprise Linux 6
  • rhn-client-tools
  • rhn-virtualization-host
  • rhn-virtualization-common

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase of over 48,000 articles and solutions.

Current Customers and Partners

Log in for full access

Log In
Close

Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.