> Message: 3 > Date: Wed, 18 Jun 2008 15:23:43 +0300 > From: T?r?k Edwin <[EMAIL PROTECTED]> > Subject: Re: [Clamav-users] Problem with internal logger > (UpdateLogFile = > /opt/zimbra/log/freshclam.log). > To: ClamAV users ML <clamav-users@lists.clamav.net> > Message-ID: <[EMAIL PROTECTED]> > Content-Type: text/plain; charset=ISO-8859-1 > > Hermann T. Ribeiro wrote: > >> Edwin, the permissions are: 640, owner zimbra, is it right ? >> > > Is zimbra the user freshclam is running as? Check `clamconf|grep User` > If not, then either configure a different directory (in freshclam.conf) > that is owned by the user running freshclam, or > change permissions on that directory to allow freshclam to create its > log file. > > Best regards, > --Edwin > > Sorry Edwin, but I?ve felt a little bit confused :-( > What do you mean with clamconf|grep User ? Do you mean: verify if the owner > for clamd.conf is zimbra (?).
No. I meant run this command in a terminal: clamconf | grep User Or just look in clamd.conf, and tell me what User is configured there. If the database directory, and log directory are owned by zimbra, then you should change User in clamd.conf to zimbra. > If this is what you wanna mean, I say: yes. > But I?ve realized that the permissions for freshclam.conf (version 0.92.1) > are: 644 and for freshclam.conf (version 0.93) are: 600, so I?m gonna change > the permissions I see what happens, ok ? It doesn't matter what permissions the configuration file has. It matters what user you have configured. Best regards, --Edwin --------------------------------------------------------------------------------------------------------------------------------- Hello folks, Edwin, I´ve made a mistake: in a previous email I said that when I´ve changed the clamd.conf´s permissions at the directory: ./clamav-0.93/etc/clamd.conf. >From 600 to 644 and the messager error: Problem with internal logger > (UpdateLogFile = > /opt/zimbra/log/freshclam.log) has disappeared, but I was wrong. In accordance with the previous email (look above) Edwin said that the directive User for this file should be zimbra so the owner´s db and log directories. The owner´s directory is zimbra. But at the ./conf/clamd.conf file I have the following line: # Run as a selected user (clamd must be started by root). # Default: disabled User zimbra At the ./clamav-0.93/etc/clamd.conf: # Run as a selected user (clamd must be started by root). # Default: disabled User zimbra And finally, in a previous version of clamAV (./clamav-0.91.2/etc/clamd.conf) # Run as another user (clamd must be started by root for this option to work) # Default: don't drop privileges #User clamav So I´m a little bit confused (again), what should I do ??? Thks, H. _______________________________________________ Help us build a comprehensive ClamAV guide: visit http://wiki.clamav.net http://www.clamav.net/support/ml