Hi, I'm trying to use Libvirt with LXC, under Ubuntu 11.04, but I can't get it to work. It keeps exiting and being restarted by upstart. Log file follows. It appears that it is complaining, among other things, of QEMU. I am not running QEMU and would like to disable everything except for LXC, but I am not sure it would fix my issue. I've set the log level to debug, even, but didn't see anything out of ordinary. Even resorted to strace, but I don't know enough about libvirtd to try and understand its behavior. Anyone got any clue about what's causing it to decide to exit? # libvirtd --version libvirtd (libvirt) 0.9.2 # uname -a Linux CI-Server-3-Backend-2 2.6.35.4-rscloud #2 SMP Sat Oct 29 21:16:49 UTC 2011 x86_64 x86_64 x86_64 GNU/Linux # lxc-checkconfig --- Namespaces --- Namespaces: enabled Utsname namespace: enabled Ipc namespace: enabled Pid namespace: enabled User namespace: enabled Network namespace: enabled Multiple /dev/pts instances: enabled --- Control groups --- Cgroup: enabled Cgroup namespace: enabled Cgroup device: enabled Cgroup sched: enabled Cgroup cpu account: enabled Cgroup memory controller: enabled Cgroup cpuset: enabled --- Misc --- Veth pair device: enabled Macvlan: enabled Vlan: enabled File capabilities: enabled # cat /var/log/syslog Nov 5 18:42:50 CI-Server-3-Backend-2 libvirtd: 18:42:50.696: 25820: info : libvirt version: 0.9.2 Nov 5 18:42:50 CI-Server-3-Backend-2 libvirtd: 18:42:50.696: 25820: info : networkReloadIptablesRules:1410 : Reloading iptab les rules Nov 5 18:42:50 CI-Server-3-Backend-2 libvirtd: 18:42:50.776: 25820: error : virCommandWait:1393 : internal error Child proce ss (/sbin/iptables --table mangle --delete POSTROUTING --out-interface virbr0 --protocol udp --destination-port 68 --jump CHE CKSUM --checksum-fill) status unexpected: exit status 1 Nov 5 18:42:50 CI-Server-3-Backend-2 libvirtd: 18:42:50.817: 25820: error : virCommandWait:1393 : internal error Child proce ss (/sbin/iptables --table mangle --insert POSTROUTING --out-interface virbr0 --protocol udp --destination-port 68 --jump CHE CKSUM --checksum-fill) status unexpected: exit status 1 Nov 5 18:42:50 CI-Server-3-Backend-2 libvirtd: 18:42:50.818: 25820: warning : networkAddGeneralIptablesRules:1199 : Could not add rule to fixup DHCP response checksums on network 'default'. Nov 5 18:42:50 CI-Server-3-Backend-2 libvirtd: 18:42:50.818: 25820: warning : networkAddGeneralIptablesRules:1200 : May need to update iptables package & kernel to support CHECKSUM rule. Nov 5 18:42:50 CI-Server-3-Backend-2 libvirtd: 18:42:50.888: 25820: error : udevDeviceMonitorStartup:1616 : Failed to initialize libpciaccess: No such file or directory Nov 5 18:42:50 CI-Server-3-Backend-2 libvirtd: 18:42:50.889: 25820: error : virStateInitialize:830 : Initialization of udev state driver failed Nov 5 18:42:50 CI-Server-3-Backend-2 libvirtd: 18:42:50.930: 25820: info : qemudStartup:525 : Unable to create cgroup for driver: Invalid argument Nov 5 18:42:50 CI-Server-3-Backend-2 libvirtd: 18:42:50.931: 25820: info : qemudLoadDriverConfig:315 : Configured cgroup controller 'cpu' Nov 5 18:42:50 CI-Server-3-Backend-2 libvirtd: 18:42:50.931: 25820: info : qemudLoadDriverConfig:315 : Configured cgroup controller 'memory' Nov 5 18:42:50 CI-Server-3-Backend-2 libvirtd: 18:42:50.931: 25820: info : qemudLoadDriverConfig:315 : Configured cgroup controller 'devices' Nov 5 18:42:50 CI-Server-3-Backend-2 libvirtd: 18:42:50.931: 25820: info : qemudLoadDriverConfig:315 : Configured cgroup controller 'blkio' Nov 5 18:42:51 CI-Server-3-Backend-2 libvirtd: 18:42:51.100: 25820: info : virDomainLoadAllConfigs:9950 : Scanning for configs in /var/run/libvirt/qemu Nov 5 18:42:51 CI-Server-3-Backend-2 libvirtd: 18:42:51.100: 25820: info : virDomainLoadAllConfigs:9950 : Scanning for configs in /etc/libvirt/qemu Nov 5 18:42:51 CI-Server-3-Backend-2 kernel: [ 442.486147] lo: Disabled Privacy Extensions Nov 5 18:42:51 CI-Server-3-Backend-2 libvirtd: 18:42:51.319: 25820: info : virDomainLoadAllConfigs:9950 : Scanning for configs in /var/run/libvirt/lxc Nov 5 18:42:51 CI-Server-3-Backend-2 libvirtd: 18:42:51.319: 25820: info : virDomainLoadAllConfigs:9950 : Scanning for configs in /etc/libvirt/lxc Nov 5 18:42:51 CI-Server-3-Backend-2 libvirtd: 18:42:51.320: 25820: info : umlStartup:431 : Adding inotify watch on /var/run/libvirt/uml-guest Nov 5 18:42:51 CI-Server-3-Backend-2 libvirtd: 18:42:51.321: 25820: info : virDomainLoadAllConfigs:9950 : Scanning for configs in /etc/libvirt/uml Nov 5 18:42:51 CI-Server-3-Backend-2 libvirtd: 18:42:51.321: 25820: error : main:3390 : Driver state initialization failed Nov 5 18:42:51 CI-Server-3-Backend-2 libvirtd: 18:42:51.321: 25821: warning : qemudDispatchSignalEvent:424 : Shutting down on signal 3 -- Stephen *"Kids these days.* *Whatever happened to hard work?"* -- Joel Spolsky, The perils of javaschools -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://listman.redhat.com/archives/libvirt-users/attachments/20111105/5cd4d90c/attachment.htm>