[Bug 801038] Re: libvirt-bin can not check the correct status of libvirtd

Qiao Liyong 801038 at bugs.launchpad.net
Fri Jun 24 08:00:48 UTC 2011


Hi James :

What does a separate process mean?
How can I know which libvirtd servicing qemu:///system or qemu:///session?

Run libvirtd manually and run libvirtd by service libvirt-bin start ,
they use the same pid file :

root at qiaoliyong-ThinkPad-T410:~# libvirtd -d
root at qiaoliyong-ThinkPad-T410:~# cat /var/run/libvirtd.pid 
9036
root at qiaoliyong-ThinkPad-T410:~# service libvirt-bin status
libvirt-bin stop/waiting
root at qiaoliyong-ThinkPad-T410:~# service libvirt-bin start
libvirt-bin start/running, process 9199
root at qiaoliyong-ThinkPad-T410:~# cat /var/run/libvirtd.pid 
9199
root at qiaoliyong-ThinkPad-T410:~# ps -ef | grep libvirtd
root      9036     1  0 15:49 ?        00:00:00 libvirtd -d
root      9199     1  0 15:50 ?        00:00:00 /usr/sbin/libvirtd -d
root at qiaoliyong-ThinkPad-T410:~# kill -9 9036
root at qiaoliyong-ThinkPad-T410:~# libvirtd -d
libvirtd: error: Unable to obtain pidfile. Check /var/log/messages or run without --daemon for more info.


I don't unstand, why the libvirt-bin can use /var/run/libvirtd.pid
again?

thanks .

-- 
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to libvirt in Ubuntu.
https://bugs.launchpad.net/bugs/801038

Title:
  libvirt-bin can not check the correct status of libvirtd

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/libvirt/+bug/801038/+subscriptions



More information about the Ubuntu-server-bugs mailing list