우분투 12.04.2 32 비트를 실행 중입니다.
시작하면 오류가 표시되지 않습니다 gksudo virt-manager
.
libvirt-bin
설치되어 있습니다.- 데몬을 확인하는 방법을 모르겠습니다.
- 의 회원입니다
libvirtd
.
출력 ps ax | grep libvirt
:
9225 ? Sl 0:04 /usr/sbin/libvirtd -d
9302 ? S 0:00 /usr/sbin/dnsmasq -u libvirt-dnsmasq --strict-order --bind-interfaces --pid-file=/var/run/libvirt/network/default.pid --conf-file= --except-interface lo --listen-address 192.168.122.1 --dhcp-range 192.168.122.2,192.168.122.254 --dhcp-leasefile=/var/lib/libvirt/dnsmasq/default.leases --dhcp-lease-max=253 --dhcp-no-override`
출력 ls -l /var/run/libvirt/libvirt-sock
:
srwxrwx --- 1 루트 libvirtd 0 세트 13 15:04 / var / run / libvirt / libvirt-sock
출력 getent group libvirtd
:
libvirtd:x:130:OTHERUSER,MYUSER
자세한 오류 메시지
Unable to connect to libvirt.
Failed to connect socket to '/var/run/libvirt/libvirt-sock': Permission denied
Verify that:
- The 'libvirt-bin' package is installed
- The 'libvirtd' daemon has been started
- You are member of the 'libvirtd' group
Libvirt URI is: qemu:///system
Traceback (most recent call last):
File "/usr/share/virt-manager/virtManager/connection.py", line 1185, in _open_thread
self.vmm = self._try_open()
File "/usr/share/virt-manager/virtManager/connection.py", line 1167, in _try_open
flags)
File "/usr/lib/python2.7/dist-packages/libvirt.py", line 102, in openAuth
if ret is None:raise libvirtError('virConnectOpenAuth() failed')
libvirtError: Failed to connect socket to '/var/run/libvirt/libvirt-sock': Permission denied
/etc/libvirt/libvirtd.conf
파일 내용은 무엇입니까 ?
qemu
하고 설치하는 것처럼 아치에 있다면 virt-manager
달리기를 시도 sudo systemctl start libvirtd
하고 선택적 sudo systemctl enable libvirtd
으로 시작시 시작하려는 경우.
gksudo virt-manager