Strona 1 z 1

Logcheck nie wysyła logów

: 27 maja 2009, 21:39
autor: Init
Mam problem z logcheckiem - nie wysyła on logów. Ostatni mail jaki od niego dostałem to:

Kod: Zaznacz cały

Warning: If you are seeing this message, your log files may not have been
checked!

Details:
Failed to get lockfile: /var/lock/logcheck/logcheck.lock


Also verify that the logcheck user can read all files referenced in
/etc/logcheck/logcheck.logfiles!

declare -x HOME="/var/lib/logcheck"
declare -x LOGNAME="logcheck"
declare -x MAILTO="root"
declare -x OLDPWD
declare -x PATH="/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin"
declare -x PWD="/var/lib/logcheck"
declare -x SHELL="/bin/sh"
W czym jest problem?

: 27 maja 2009, 21:46
autor: ponton
A przeczytałeś i zrozumiałeś komunikat?

: 27 maja 2009, 21:46
autor: Init
No właśnie tak nie za bardzo wiem co mam robić?

Znalazłem to: http://www.mail-archive.com/debian-user ... 22538.html ale tutaj też brak rozwiązania problemu.

: 27 maja 2009, 22:03
autor: ponton
Also verify that the logcheck user can read all files referenced in
/etc/logcheck/logcheck.logfiles!

: 27 maja 2009, 22:07
autor: Init
Nie rozumiem, czyli co mam zrobić?

: 27 maja 2009, 23:22
autor: ponton
Tłumaczę z angielskiego: "sprawdź także, czy użytkownik logcheck może czytać wszystkie pliki wymienione w /etc/logcheck/logcheck.logfiles"

: 28 maja 2009, 15:17
autor: Init
Dobrze, zrobiłem to ale dalej nie działa?

Dostaję coś takiego:

Kod: Zaznacz cały

 su -s /bin/bash -c "/usr/sbin/logcheck" logcheck
mail: /tmp/mail.RsXXXXXPb0eU: Permission denied