Невозможно запустить библиотеку libvirt
Когда я пытаюсь запустить libvirtd с помощью libvirtd, я получаю следующее сообщение об ошибке:
2014-05-06 14:12:36.148+0000: 13246: info : libvirt version: 1.2.2
2014-05-06 14:12:36.148+0000: 13246: error : virPidFileAcquirePath:411 : Failed to acquire pid file '/var/run/libvirtd.pid': Resource temporarily unavailable
Я использую пакет openstack icehouse на сервере Ubuntu 12.04. Что может это исправить?
1 ответ
Normally, this occurs because of one of two conditions: you either have another instance of libvirtd running, or the previous instance died unexpectedly, leaving its old /var/run/libvirtd.pid file around.
You can easily distinguish between the two:
ps ax | grep libvirtd
will return a process in the first case, or just grep in the second one. You solve the problem by killing the running instance of libvirtd (if you have one), and then by removing by hand the file /var/run/libvirtd.pid .