Re: [libvirt-users] error : virPidFileAcquirePath:345 : Failed to acquire pid file '/home/corey/.libvirt/libvirtd.pid': Resource temporarily unavailable

2012/11/1 何鑫 <wherethriving@hotmail.com>
I have checked that I removed all distro things, ran self-built virsh, libvirtd. To make sure, I use absolute paths for running. Also I will check process status in time. This is "ps" shown: 2996 1 3 08:48 ? 00:00:00 /usr/local/libvirt/sbin/libvirtd -d
Is there some thing wrong? I can't search "libvirt-sock" after runing it.
can you see any tips in libvirtd --help ? is there a default sock path in the help content?

Yeah, I have check the default path, so I am confused that why I can't find "libvirt-sock", when I start libvirtd manually. How do you start self-built libvirtd? Thanks a lot! From: itxx00@gmail.com Date: Thu, 1 Nov 2012 21:54:21 +0800 Subject: Re: [libvirt-users] error : virPidFileAcquirePath:345 : Failed to acquire pid file '/home/corey/.libvirt/libvirtd.pid': Resource temporarily unavailable To: wherethriving@hotmail.com CC: libvirt-users@redhat.com 2012/11/1 何鑫 <wherethriving@hotmail.com> I have checked that I removed all distro things, ran self-built virsh, libvirtd. To make sure, I use absolute paths for running. Also I will check process status in time. This is "ps" shown: 2996 1 3 08:48 ? 00:00:00 /usr/local/libvirt/sbin/libvirtd -d Is there some thing wrong? I can't search "libvirt-sock" after runing it. can you see any tips in libvirtd --help ? is there a default sock path in the help content?

On 11/01/2012 08:05 PM, 何鑫 wrote:
Yeah, I have check the default path, so I am confused that why I can't find "libvirt-sock", when I start libvirtd manually. How do you start self-built libvirtd?
My personal usage on Fedora is to use './autogen.sh --system', then 'make', then './run daemon/libvirtd'. That starts libvirtd in the same place that the system libvirtd is installed, but serves up qemu:///system, not qemu:///session. To be honest, I haven't really done much testing with qemu:///session, self-built or otherwise, and since you are not on a Fedora system, I'm not sure whether ./autogen.sh --system would even work for your distro's layout. But I just tested that connecting to qemu:///session on my system created /var/user/eblake/libvirt/libvirt-sock as a socket; given my current settings of $XDG_RUNTIME_DIR and the fact that my self-built setup picked the same configure arguments as my distro, rather than using /usr/local as my prefix.
Thanks a lot!
From: itxx00@gmail.com
Is there any way you can convince your mailer to not top-post, and to wrap long lines? -- Eric Blake eblake@redhat.com +1-919-301-3266 Libvirt virtualization library http://libvirt.org
participants (3)
-
Eric Blake
-
Gao Yongwei
-
何鑫