[Logwatch] Logwatch and Samba
blaing at vancoservices.com
Mon Jun 27 06:13:59 MST 2005
I thought about that at first too, and have made sure that the folders
and files in question here have at least the same permissions as the
other logs in the folder do. I've even tried bumping them up higher,
just in case.
It seems as though Logwatch doesn't know how to read or parse the samba
log file. If I manually run a "logwatch --service samba --print", I get
nothing returned. Others, like Sendmail, work just fine.
Is there any way of finding out if it's having issues reading the logs?
I'd really like to get this working for a couple of fileservers it all
Theodore Heise wrote:
>On Fri, 24 Jun 2005, Brandon Laing wrote:
>>Currently, I'm running a Fedora 2 fileserver that's using Samba 3.0.10.
>>I have my Samba config logging to /var/log/samba/samba.log to keep
>>things easier. Logwatch is running and is version 6.1.2. The problem is
>>that I'm not getting any reporting at all on any of the Samba
>>information. I've adjusted the /etc/log.d/conf/logfiles/samba.conf file
>>to point to the correct file, but I still get nothing.
>Is it possible the permissions on the log file and/or its directory
>are too restrictive? If you haven't already done so, you could
>check them against the standard /var/log directory and its contents.
More information about the Logwatch