On Mon, Jul 29, 2013 at 08:23:26AM +0000, Qixiaozhen wrote:
2013-07-29 16:00:50-0400 372 [1369]: lockfile setlk error
/var/run/sanlock/sanlock.pid: Resource temporarily unavailable
rv = fcntl(fd, F_SETLK, &lock);
if (rv < 0) {
log_error("lockfile setlk error %s: %s",
path, strerror(errno));
goto fail;
}
EAGAIN means that another process is holding that lock.
Did you verify that no other sanlock daemon is running?
You could also try "lsof /var/run/sanlock/sanlock.pid".
Dave