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

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Thanks for your reply! I have solved the problem.

Could you please give me some tips for another question?

When I start libvirtd using "libvirtd -d", the process could be found by "ps". But I also can't search "libvirt-sock", because it fails to create after libvirtd starting. The configuration file isn't existed in default paths, as well as Sockets. When and how could both files create? 

 Configuration file (unless overridden by -f):
      $HOME/.libvirt/libvirtd.conf

    Sockets:
      $HOME/.libvirt/libvirt-sock (in UNIX abstract namespace)


Thanks a lot!


> Date: Wed, 31 Oct 2012 08:35:09 +0100
> From: mprivozn@xxxxxxxxxx
> To: wherethriving@xxxxxxxxxxx
> CC: libvirt-users@xxxxxxxxxx
> 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
_______________________________________________
libvirt-users mailing list
libvirt-users@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/libvirt-users

[Index of Archives]     [Virt Tools]     [Lib OS Info]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [KDE Users]

  Powered by Linux