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.
Sorry for top-posting.
Thanks a lot!
Date: Wed, 31 Oct 2012 10:25:37 -0600
From: eblake(a)redhat.com
To: wherethriving(a)hotmail.com
Subject: Re: [libvirt-users] error : virPidFileAcquirePath:345 : Failed to acquire pid
file '/home/corey/.libvirt/libvirtd.pid': Resource temporarily unavailable
On 10/31/2012 10:00 AM, 何鑫 wrote:
> Actually I make sure that I build libvirt, using "./configure
--prefix="/usr/local/libvrt"". I have checked that all related files are
under the directory-"/usr/local/libvirt", additionally, libvirtd's path is
"/usr/local/libvirt/sbin/libvirtd". I am confused why I can't search
libvirt-sock in my disk after starting libvirtd.
> Could you please give me some advises?
> Thanks a lot!
Note that '--prefix=/usr/local/libvrt' is a typo. Are you sure you are
installing things where you think you are? Also note that
/usr/local/libvirt is NOT where your distro installed things, so if you
are using your distro's virsh, it won't connect to your self-built
libvirtd. And have you double-checked that you are running your
self-built libvirtd?
Finally, you are STILL top-posting, and STILL sending mail to just me
instead of the list. It's making it hard to help you when you can't
follow our requests, and for others that might be following this thread
in the archives in the future to learn whatever ends up being your final
solution.
--
Eric Blake eblake(a)redhat.com +1-919-301-3266
Libvirt virtualization library
http://libvirt.org