Logwatch Fix on Ubuntu 8.10
Logwatch Error
Logwatch is a program that will parse your logs and send you an email every day about what has taken place on your server, a very friendly program.
Installation is simple:
apt-get install logwatch
Edit the config file in /usr/share/logwatch/default.conf/logwatch.conf
Basically all you have to do is change the:
mailto = your_email_address
With Ubuntu I kept getting this error, though I checked, I could not find a solution so, as it looked like it was missing a location /var/cache/logwatch, I created one and it worked perfectly.
# logwatch
/var/cache/logwatch No such file or directory at /usr/sbin/logwatch line 632.
sudo mkdir /var/cache/logwatch
Now run the program as root with:
logwatch
or run in debug mode to get more information.
logwatch –debug 6
That will provide a lot of info.