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

Current Customers and Partners

Log in for full access

Log In