I don't understand what happen. The uptime of the system is over a year and suddenly logwatch stopped working. I check last | more and there's no one suspicious login. I tried to run logwatch manually and get into the following error. My guess is logwatch update itself?
[root@yukon postfix]# cat /etc/*-release CentOS release 5.11 (Final) [root@yukon postfix]# source /etc/cron.daily/0logwatch -bash: use: command not found -bash: my: command not found -bash: my: command not found -bash: {REAL_LANG}={LANG}: command not found -bash: {REAL_LC_ALL}={LC_ALL}: command not found -bash: {LC_ALL}: command not found -bash: /etc/cron.daily/0logwatch: line 41: syntax error near unexpected token `(' -bash: /etc/cron.daily/0logwatch: line 41: `use POSIX qw(locale_h);'
[link] [comments]