Re: [Clamav-users] clamav-milter logfile permission error

2005-05-24 Thread Matt Fretwell
Todd Lyons wrote:

   clamav-milter: (-q  !LogSyslog): warning - all interception message
   methods are off
   /var/log/clamav/clamav.log: Permission denied
 
 Well, duh.  The clamd daemon has that file open, so clamav-milter can't
 open it.  Can someone tell me how to tell the milter not to try to open
 that file?  
 
 On my Gentoo boxen, it spits out the warning and then successfully
 starts up:


 man clamav-milter: 

  -c FILE, --config-file=FILE
  By default clamav-milter uses a default configuration file,
  this option allows you to specify another one.


 Worthwhile reading the manpage, might one suggest.


Matt

___
http://lurker.clamav.net/list/clamav-users.html


Re: [Clamav-users] clamav-milter logfile permission error

2005-05-24 Thread Nigel Horne
Todd Lyons wrote:
 
clamav-milter: (-q  !LogSyslog): warning - all interception message
methods are off
/var/log/clamav/clamav.log: Permission denied
  
  Well, duh.  The clamd daemon has that file open, so clamav-milter can't
  open it. 

Huh? Since when has one program having a file open prevented another
program from opening it (locking notwithstanding)?

___
http://lurker.clamav.net/list/clamav-users.html


Re: [Clamav-users] clamav-milter logfile permission error

2005-05-24 Thread Todd Lyons
Matt Fretwell wanted us to know:

   clamav-milter: (-q  !LogSyslog): warning - all interception message
   methods are off
   /var/log/clamav/clamav.log: Permission denied
 Well, duh.  The clamd daemon has that file open, so clamav-milter can't
 open it.  Can someone tell me how to tell the milter not to try to open
 that file?  
 On my Gentoo boxen, it spits out the warning and then successfully
 starts up:
 man clamav-milter: 
  -c FILE, --config-file=FILE
  By default clamav-milter uses a default configuration file,
  this option allows you to specify another one.
 Worthwhile reading the manpage, might one suggest.

Thank you for the sarcas^W kind words.  Can you hazard a guess as to why
that works on the Gentoo box using the same config settings?

/me raises hand

[EMAIL PROTECTED] etc]# chown clamav:clamav /var/log/clamav/clamav.log

I had discounted the earlier thread because I don't use /dev/console for
logging.  But the fix was the same.
-- 
Regards...  Todd
OS X: We've been fighting the It's a mac syndrome with upper management
for  years  now.  Lately  we've  taken  to  just  referring  to  new  mac 
installations  as  Unix  installations  when  presenting proposals  and 
updates.  For some reason, they have no problem with that.  -- /.
Linux kernel 2.6.11-6mdksmp   load average: 0.00, 0.02, 0.00
___
http://lurker.clamav.net/list/clamav-users.html


Re: [Clamav-users] clamav-milter logfile permission error

2005-05-24 Thread Matt Fretwell
Todd Lyons wrote:

 Thank you for the sarcas^W kind words.  Can you hazard a guess as to why
 that works on the Gentoo box using the same config settings?

 That was just dry, not sarcastic :) Version difference, possibly?


Matt
___
http://lurker.clamav.net/list/clamav-users.html