[one-users] libvirt and kvm permission problem.

Idafen Santana Pérez idafensp at gmail.com
Wed Mar 30 08:20:41 PDT 2011


Hi,

I'm having problems with libvirtd and kvm. I can create a host (called
localhost) and it is on until systems tries to monitorize it. I'm
executing libvirtd as root (? can not do it as oneadmin) and running
one under my oneadmin account. This is my oned.log output.


Wed Mar 30 17:08:36 2011 [ReM][D]: HostPoolInfo method invoked
Wed Mar 30 17:08:36 2011 [ReM][D]: VirtualMachinePoolInfo method invoked
Wed Mar 30 17:08:36 2011 [InM][I]: Command execution fail: 'if [ -x
"/var/tmp/one/im/run_probes" ]; then /var/tmp/one/im/run_probes kvm
localhost; else                              exit 42; fi'
Wed Mar 30 17:08:36 2011 [InM][I]: STDERR follows.
Wed Mar 30 17:08:36 2011 [InM][I]: error: unable to connect to
'/var/run/libvirt/libvirt-sock', libvirtd may need to be started:
Permission denied
Wed Mar 30 17:08:36 2011 [InM][I]: error: failed to connect to the hypervisor
Wed Mar 30 17:08:36 2011 [InM][I]: Error executing kvm.rb
Wed Mar 30 17:08:36 2011 [InM][I]: ExitCode: 255
Wed Mar 30 17:08:36 2011 [InM][E]: Error monitoring host 0 : MONITOR
FAILURE 0 Could not monitor host localhost.


Any idea?

Thanks in advance.
Idafen


More information about the Users mailing list