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

Lockcheck Problem: Failed to get lockfile



Hallo,

lockcheck läuft nicht - es kommt die Fehler-eMail vom Cronjob,
das /var/lock/logcheck/logcheck.lock nicht geholt werden konnte.

lockcheck ist frisch installiert

/var/lock/logcheck gehört user/group logcheck
Rechte sind 755

Es gab einen Tread aus 2004 mit diesem Problem (-> google),
aber ohne wirkliche Lösung: nur das es ein Rechteproblem war
und die Rechte so ein sollen, wie sie bei mir sind.

Wo ist hier nun das Problem ?

# ls -al /var/lock/logcheck/
total 8
drwxr-xr-x  2 logcheck logcheck 4096 Feb  7 12:13 .
drwx------  6 root     root     4096 Feb  7 06:26 ..

# su -s /bin/bash -c "/usr/sbin/logcheck -t -l /var/log/syslog -d -o"
logcheck
D: [1139311678] Turning debug mode on
D: [1139311678] Sourcing - /etc/logcheck/logcheck.conf
D: [1139311678] Setting LOGTAIL_OPTS to -t
D: [1139311678] Setting LOGFILE to /var/log/syslog
D: [1139311678] Setting MAILOUT to 1
D: [1139311678] Finished getopts c:dhH:l:L:m:opr:RsS:tTuvw
D: [1139311678] Trying to get lockfile: /var/lock/logcheck/logcheck.lock
D: [1139311678] error: Not removing lockfile
D: [1139311678] Error: Failed to get lockfile:
/var/lock/logcheck/logcheck.lock
#

?????

Gruss,
Bernd



Reply to: