Quote:
Originally Posted by vwtech
Are you running it manually as the same user you have the crontab set for, sounds like the user attempting to run doesn't have permission to right to the log file.
|
I had run manually with the same user previeleges as that of the cron job i.e. user root.
I don't see it as a case of permissions.
some times i see "Error in tempdir() using /var/cache/logwatch/logwatch.XXXXXXXX: Could not create directory /var/cache/logwatch/logwatch.pEfaDfD1: Permission denied at ../..//usr/share/logwatch/scripts/logwatch.pl line 800"
at other times no log entry ...but end result is the same am not getting a logwatch report emailed to me ...we can safely ruleout any issues with postfix which my email server.
i had even ran the logwatch with perl debugger enabled in manual mode ...i don't see any anamolies ...or issues ...it was able to run successfully.
any other pointers, hints for troubleshooting are welcome