[Logcheck-devel] logcheck fails: failed to get lockfile
Gunter Winkler
guwi17 at gmx.de
Tue Feb 1 11:02:05 UTC 2005
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Hallo,
after upgrading logcheck to 1.2.34 it fails to run with the error:
> Details:
> Failed to get lockfile: /var/lock/logcheck.lock
The error is caused by the new cron job, because logcheck now runs as user
logcheck, which has no write permissions to /var/lock. The installer already
created the directory /var/lock/logcheck with correct permissions but did not
add
LOCKFILE="/var/lock/logcheck/logcheck"
to /etc/logcheck/logcheck.conf.
Maybe you use the above as default in /usr/sbin/logcheck to avoid this error.
mfg
Gunter
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.4 (GNU/Linux)
iD8DBQFB/2G1ghsXb/J0PcERAlFwAJoCBqm8Ubwby2q1i2l3zLuCtL3XmACeNe9s
dhQ04kVshg5wu47prmgF0uE=
=z2MI
-----END PGP SIGNATURE-----
More information about the Logcheck-devel
mailing list