I think I am having the same problem. I am running 16.04.3 LTS. I tried apt-get update and apt-get upgrade, but the software revision levels did not change, still at 1.3.1.
root@jeff-desktop:/home/jeffs/work/juniper/vmx-17.2R.13# dpkg -l "*libvirt*"
Desired=Unknown/Install/Remove/Purge/Hold
| Status=Not/Inst/Conf-files/Unpacked/halF-conf/Half-inst/trig-aWait/Trig-pend
|/ Err?=(none)/Reinst-required (Status,Err: uppercase=bad)
||/ Name Version Architecture Description
+++-======================================-========================-========================-=================================================================================
ii gir1.2-libvirt-glib-1.0:amd64 0.2.2-0.1ubuntu1 amd64 libvirt glib mainloop integration
ii libvirt-bin 1.3.1-1ubuntu10.12 amd64 programs for the libvirt library
un libvirt-daemon <none> <none> (no description available)
un libvirt-daemon-system <none> <none> (no description available)
ii libvirt-glib-1.0-0:amd64 0.2.2-0.1ubuntu1 amd64 libvirt glib mainloop integration
ii libvirt0:amd64 1.3.1-1ubuntu10.12 amd64 library for interfacing with different virtualization systems
ii python-libvirt 1.3.1-1ubuntu1 amd64 libvirt Python bindings
root@jeff-desktop:/home/jeffs/work/juniper/vmx-17.2R.13#
However, I looked at the directory, and I see named sockets but they don't have the names anticipated:
root@jeff-desktop:/home/jeffs/work/juniper/vmx-17.2R.13# virsh net-edit ?
error: failed to connect to the hypervisor
error: no valid connection
error: Failed to connect socket to '/var/run/libvirt/libvirt-sock': No such file or directory
root@jeff-desktop:/home/jeffs/work/juniper/vmx-17.2R.13# ls -l /var/run/libvirt/libvirt-sock
ls: cannot access '/var/run/libvirt/libvirt-sock': No such file or directory
root@jeff-desktop:/home/jeffs/work/juniper/vmx-17.2R.13# ls -l /var/run/libvirt
total 0
drwxr-xr-x 2 root root 40 Aug 3 12:58 hostdevmgr
drwxr-xr-x 2 root root 40 Aug 3 12:58 lxc
drwxr-xr-x 2 root root 100 Aug 3 23:02 network
drwxr-xr-x 2 root root 40 Aug 3 12:58 qemu
drwxr-xr-x 2 root root 40 Aug 3 12:58 storage
drwxr-xr-x 2 root root 40 Aug 3 12:58 uml-guest
srw-rw-rw- 1 root root 0 Aug 3 12:58 virtlockd-sock
srw-rw-rw- 1 root root 0 Aug 3 12:58 virtlogd-sock
root@jeff-desktop:/home/jeffs/work/juniper/vmx-17.2R.13#
I think I am having the same problem. I am running 16.04.3 LTS. I tried apt-get update and apt-get upgrade, but the software revision levels did not change, still at 1.3.1.
root@jeff- desktop: /home/jeffs/ work/juniper/ vmx-17. 2R.13# dpkg -l "*libvirt*" Unknown/ Install/ Remove/ Purge/Hold Not/Inst/ Conf-files/ Unpacked/ halF-conf/ Half-inst/ trig-aWait/ Trig-pend /Reinst- required (Status,Err: uppercase=bad) ======= ======= ======= ======= ======= -====== ======= ======= ====-== ======= ======= ======= =-===== ======= ======= ======= ======= ======= ======= ======= ======= ======= ======= ====== libvirt- glib-1. 0:amd64 0.2.2-0.1ubuntu1 amd64 libvirt glib mainloop integration daemon- system <none> <none> (no description available) glib-1. 0-0:amd64 0.2.2-0.1ubuntu1 amd64 libvirt glib mainloop integration desktop: /home/jeffs/ work/juniper/ vmx-17. 2R.13#
Desired=
| Status=
|/ Err?=(none)
||/ Name Version Architecture Description
+++-===
ii gir1.2-
ii libvirt-bin 1.3.1-1ubuntu10.12 amd64 programs for the libvirt library
un libvirt-daemon <none> <none> (no description available)
un libvirt-
ii libvirt-
ii libvirt0:amd64 1.3.1-1ubuntu10.12 amd64 library for interfacing with different virtualization systems
ii python-libvirt 1.3.1-1ubuntu1 amd64 libvirt Python bindings
root@jeff-
However, I looked at the directory, and I see named sockets but they don't have the names anticipated:
root@jeff- desktop: /home/jeffs/ work/juniper/ vmx-17. 2R.13# virsh net-edit ? libvirt/ libvirt- sock': No such file or directory
error: failed to connect to the hypervisor
error: no valid connection
error: Failed to connect socket to '/var/run/
root@jeff- desktop: /home/jeffs/ work/juniper/ vmx-17. 2R.13# ls -l /var/run/ libvirt/ libvirt- sock libvirt/ libvirt- sock': No such file or directory desktop: /home/jeffs/ work/juniper/ vmx-17. 2R.13# ls -l /var/run/libvirt desktop: /home/jeffs/ work/juniper/ vmx-17. 2R.13#
ls: cannot access '/var/run/
root@jeff-
total 0
drwxr-xr-x 2 root root 40 Aug 3 12:58 hostdevmgr
drwxr-xr-x 2 root root 40 Aug 3 12:58 lxc
drwxr-xr-x 2 root root 100 Aug 3 23:02 network
drwxr-xr-x 2 root root 40 Aug 3 12:58 qemu
drwxr-xr-x 2 root root 40 Aug 3 12:58 storage
drwxr-xr-x 2 root root 40 Aug 3 12:58 uml-guest
srw-rw-rw- 1 root root 0 Aug 3 12:58 virtlockd-sock
srw-rw-rw- 1 root root 0 Aug 3 12:58 virtlogd-sock
root@jeff-
What do I do next?
Thank you
Jeff