Results 1 to 2 of 2

Thread: libvirt issue on ubuntu 12.04

  1. #1
    Join Date
    Feb 2009
    Beans
    3

    Ubuntu and/or libvirt issue on ubuntu 12.04

    Hi

    My system: Ubuntu 12.04.1 , kerenl = 3.2.0-25-generic . libvirt and virsh version: 0.9.8
    where libvirt came from the ubuntu standard install.

    PROBLEM: I get from time to time the following error message :

    "libvirtError: Failed to connect socket to '/var/run/libvirt/libvirt-sock': No such file or directory"

    this happens after : Connecting to libvirt: qemu:///system from (pid=1363)

    The libvirt-sock is a local domain socket (ls -l gives:
    srwxrwx--- 1 root libvirtd 0 Sep 3 13:56 /var/run/libvirt/libvirt-sock )

    NOTE the libvirtd is up before and after the above error message as shown by 'ps' output :
    root 1574 1 0 16:23 ? 00:00:00 /usr/sbin/libvirtd -d -l


    On a similar system with a slightly prior kernal version: 3.2.0-20-generic , there is no such problem . ANY IDEA WHAT TO DO ?
    Last edited by dubi; October 13th, 2012 at 10:38 AM. Reason: bold

  2. #2
    Join Date
    Oct 2008
    Location
    under your bed
    Beans
    12
    Distro
    Xubuntu 8.04 Hardy Heron

    Re: Ubuntu and/or libvirt issue on ubuntu 12.04

    Quote Originally Posted by dubi View Post
    Hi

    My system: Ubuntu 12.04.1 , kerenl = 3.2.0-25-generic . libvirt and virsh version: 0.9.8
    where libvirt came from the ubuntu standard install.

    PROBLEM: I get from time to time the following error message :

    "libvirtError: Failed to connect socket to '/var/run/libvirt/libvirt-sock': No such file or directory"

    this happens after : Connecting to libvirt: qemu:///system from (pid=1363)

    The libvirt-sock is a local domain socket (ls -l gives:
    srwxrwx--- 1 root libvirtd 0 Sep 3 13:56 /var/run/libvirt/libvirt-sock )

    NOTE the libvirtd is up before and after the above error message as shown by 'ps' output :
    root 1574 1 0 16:23 ? 00:00:00 /usr/sbin/libvirtd -d -l


    On a similar system with a slightly prior kernal version: 3.2.0-20-generic , there is no such problem . ANY IDEA WHAT TO DO ?

    Had a similar issue with my install a few days ago try,

    Code:
    sudo apt-get install libvirt-bin
    That worked for me.

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •