> Date: Wed, 31 Oct 2012 08:35:09 +0100
> From: mprivozn@redhat.com
> To: wherethriving@hotmail.com
> CC: libvirt-users@redhat.com
> Subject: Re: [libvirt-users] error : virPidFileAcquirePath:345 : Failed to acquire pid file '/home/corey/.libvirt/libvirtd.pid': Resource temporarily unavailable
>
> On 31.10.2012 02:41, ºÎöÎ wrote:
> > Hi all,
> > When I try to start libvirtd, using "libvirtd -d", error
> > notification shown below:
> > error : virPidFileAcquirePath:345 : Failed to acquire pid file
> > '/$HOME/.libvirt/libvirtd.pid': Resource temporarily unavailable
> > Using "libvirtd -v", show:
> > "libvirtd: error: Unable to obtain pidfile. Check /var/log/messages
> > or run without --daemon for more info."
> > The file "libvirtd.pid" only contains "2010" without any other
> > infomation.
>
> That means either there already is another libvirtd running or the
> previous one died unexpectedly without removing this PID file. You can
> distinguish these two via 'pgrep libvirtd' which either gives you the
> very same PID as the one in the PID file (=libvirtd is running) or
> nothing and than you should be safe to remove the file and start
> libvirtd again. However, if libvirtd keeps failing to initialize, there
> might be a misconfiguration problem (and libvirt bug as well since we
> ought to remove PID file before quiting).
>
> Michal