On Wed, Sep 23, 2015 at 11:00:34PM +0000, Jonathan Rurka wrote:
Hello, I'm new to using libvirt. After a few days of installing
and
removing libvirt, virt-manager and a few others to get VT-d working
with a virtual machine, I finally got the latest virt-manager and
libvirt installed from source to get the most recent
versions. However, when I start up virt-manager I get a popup saying
"Unable to connect to libvirt; Verify that the 'libvirtd' deamon is
running.". When running "service libvirtd start", I get an error
saying libvirtd.service cannot be found. I can, however, use libvirtd
from the command line. The service file does not exist
in /lib/systemd/system/.
Did you probably forget to specify the prefix to install it into? you
can do "which libvirtd" to see that you probably installed it into
/usr/local/sbin. Specifying the prefix should help.
Getting to your "to get VT-d working", you should check whether
everything is enabled in BIOS. That's usually the case if it's not
working for you.
Please wrap long lines,
Martin
log from launching with "./virt-manager --debug":
jon@jon-desktop:/media/jon/Data/Programs/virt-manager$ ./virt-manager --debug[Wed, 23 Sep
2015 15:59:22 virt-manager 3904] DEBUG (cli:256) Launched with command line:
./virt-manager --debug[Wed, 23 Sep 2015 15:59:22 virt-manager 3904] DEBUG
(virt-manager:160) virt-manager version: 1.2.1[Wed, 23 Sep 2015 15:59:22 virt-manager
3904] DEBUG (virt-manager:161) virtManager import: <module 'virtManager' from
'/media/jon/Data/Programs/virt-manager/virtManager/__init__.pyc'>[Wed, 23 Sep
2015 15:59:22 virt-manager 3904] DEBUG (virt-manager:220) GTK version: 3.14.13[Wed, 23 Sep
2015 15:59:22 virt-manager 3904] DEBUG (engine:467) libguestfs inspection support:
False[Wed, 23 Sep 2015 15:59:22 virt-manager 3904] DEBUG (systray:153) Showing systray:
False[Wed, 23 Sep 2015 15:59:22 virt-manager 3904] DEBUG (engine:237) About to connect to
uris ['qemu:///system'][Wed, 23 Sep 2015 15:59:22 virt-manager 3904] DEBUG
(manager:208) Showing manager[Wed, 23 Sep 2015 15:59:22 virt-manager 3904] DEBUG
(engine:368) window counter incremented to 1[Wed, 23 Sep 2015 15:59:22 virt-manager 3904]
DEBUG (connection:567) conn=qemu:///system changed to state=Connecting[Wed, 23 Sep 2015
15:59:22 virt-manager 3904] DEBUG (connection:886) Scheduling background open thread for
qemu:///system[Wed, 23 Sep 2015 15:59:22 virt-manager 3904] DEBUG (connection:567)
conn=qemu:///system changed to state=Disconnected[Wed, 23 Sep 2015 15:59:22 virt-manager
3904] DEBUG (error:99) error dialog message:summary=Unable to connect to libvirt.
Verify that the 'libvirtd' daemon is running.details=Unable to connect to
libvirt.
Verify that the 'libvirtd' daemon is running.
Libvirt URI is: qemu:///system
Traceback (most recent call last): File
"/media/jon/Data/Programs/virt-manager/virtManager/connection.py", line 902, in
_do_open self._backend.open(self._do_creds_password) File
"/media/jon/Data/Programs/virt-manager/virtinst/connection.py", line 148, in
open open_flags) File "/usr/lib/python2.7/dist-packages/libvirt.py", line
105, in openAuth if ret is None:raise libvirtError('virConnectOpenAuth()
failed')libvirtError: Failed to connect socket to
'/var/run/libvirt/libvirt-sock': No such file or directory
Any help appreciated,Jon
_______________________________________________
libvirt-users mailing list
libvirt-users(a)redhat.com
https://www.redhat.com/mailman/listinfo/libvirt-users