Why does rhnreg_ks and related command fail with libvirtError ?

Solution Verified - Updated -


  • 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: 
    See /var/log/up2date for more information 


  • 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, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content