On Sep 20, 2004, at 12:41 PM, Matt Gourley wrote:

Niek wrote:

On 9/20/2004 4:32 PM +0200, Matt Gourley wrote:


Hi all,

I've been trying to get ClamAV to log via multilog so that I can generate reports via mrtg. I followed the instructions here:

http://www.clamav.net/doc/0.75.1/clamd_supervised/clamd-daemontools- guide.txt



Here are my relevant clamav.conf settings:

LogFile /dev/stderr
LocalSocket /tmp/clamd
#LogTime
#LogClean
#LogSyslog
#LogVerbose
#LogFileUnlock
#LogFileMaxSize 2M
FixStaleSocket
StreamSaveToDisk
MaxThreads 30
MaxDirectoryRecursion 15
Foreground

Regards,
Niek Baakman

Thanks for your response, Niek.

My clamav.conf is setup exactly the same way, however, when I start clamd using clamdctl, clamd exits, supervise restarts it, clamd exits, etc. Logging is "running" but I get this in /var/log/clamd/current:

@40000000414f05f53a5b23ec server ended; result=0
@40000000414f05f53a5b3b5c free() copt

Any ideas?

-Matt

I have version 0.75. I had to patch clamd to be able to log to stderr.

Then in the run file redirect stderr to stdout...  like this:
exec /usr/local/bin/setuidgid qscand $path_to_clamd 2>&1







-------------------------------------------------------
This SF.Net email is sponsored by: YOU BE THE JUDGE. Be one of 170
Project Admins to receive an Apple iPod Mini FREE for your judgement on
who ports your project to Linux PPC the best. Sponsored by IBM.
Deadline: Sept. 24. Go here: http://sf.net/ppc_contest.php
_______________________________________________
Clamav-users mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/clamav-users




------------------------------------------------------- This SF.Net email is sponsored by: YOU BE THE JUDGE. Be one of 170 Project Admins to receive an Apple iPod Mini FREE for your judgement on who ports your project to Linux PPC the best. Sponsored by IBM. Deadline: Sept. 24. Go here: http://sf.net/ppc_contest.php _______________________________________________ Clamav-users mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/clamav-users

Reply via email to