Per Jessen wrote:
Andrei Borzenkov wrote:
В Wed, 29 Apr 2015 20:43:49 +0200 Per Jessen
пишет: Carlos E. R. wrote:
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA256
On 2015-04-29 16:44, Patrick Shanahan wrote:
and no other entries :^(
Don't know if you did, but perhaps you have an old, stale, lock file.
Yes, that is what the source code suggest for that error : "Lock file data error". What I don't understand is - there's an open() and a read() before the code that evaluates the read data - I don't understand why I don't see those calls in the strace.
open("/etc/apcupsd/LCK..", O_RDONLY) = 4
Huh? That can't be it, the default lock path is "/var/lock/". Well, maybe that's the issue then - the lockpath is wrong?
Patrick, could you verify the lockpath in your config? As Andrei says, it looks like apcupsd is trying to use /etc/apcupsd/ for the lockfile, which is crazy. -- Per Jessen, Zürich (13.4°C) http://www.hostsuisse.com/ - dedicated server rental in Switzerland. -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org