On Fri, 15 Dec 2023 at 16:06, Stefano Callegari
<ste.calleg...@tiscali.it> wrote:

> from few days the email from cron are empty, there is only the header.txt.

> /etc/logcheck <-bash> # su -s /bin/bash -c "/usr/sbin/logcheck -l 
> /var/log/syslog" logcheck
>
> the email has the log lines. Without the -l option, still empty.

Seems like it isnt checking the syslog -- what is in the files in
/etc/logcheck/logcheck.logfiles.d/  and logcheck.conf ?

Are you using systemd?

I suggest also using the -d option -- should say what it is doing in
great detail (pipe to file or through less)


> /etc/logcheck/header.txt [Errno 13] Permesso negato: 
> '/etc/logcheck/header.txt'
> /etc/logcheck/logcheck.conf [Errno 13] Permesso negato: 
> '/etc/logcheck/logcheck.conf'
> /etc/logcheck/logcheck.logfiles [Errno 13] Permesso negato: 
> '/etc/logcheck/logcheck.logfiles'
> /etc/logcheck/logcheck.logfiles.d/journal.logfiles [Errno 13] Permesso 
> negato: '/etc/logcheck/logcheck.logfiles.d/journal.logfiles'
> /etc/logcheck/logcheck.logfiles.d/syslog.logfiles [Errno 13] Permesso negato: 
> '/etc/logcheck/logcheck.logfiles.d/syslog.logfiles'
>
> -- no debconf information
>

Reply via email to