Hi, 

it is telling you that you have a permission problem. In the 
/etc/freshclam.conf file there is a parameter: 

DatabaseOwner amavis

Default is user clamav. Depending on who is calling freshclam, you need to 
have the same owner set in this conf file. 

Also make sure that the logfile /var/log/clamav/freshclam.log is writeable 
by that user. And in your case /var/lib/clamav as well. 

Hope this helps, 

.peter


On Fri, 29 Jun 2007, Jim Knuth wrote:

> Hallo und Guten Morgen AMaViS-user,
> 
> I use amavisd-new-2.5.2 (20070627) and clamav 0.90.3 and get this
> in my logfile:
> 
> tail -f /var/log/clamav/freshclam.log
> ClamAV update process started at Thu Jun 28 23:42:51 2007
> main.inc is up to date (version: 43, sigs: 104500, f-level: 14, builder: sven)
> ERROR: getfile: Can't create new file 
> ./clamav-42df18babdbd4f4571b7ecb22fb3309c in /var/lib/clamav/daily.inc
> Hint: The database directory must be writable for UID 108 or GID 108
> ERROR: getpatch: Can't download daily-3518.cdiff from db.local.clamav.net
> WARNING: Incremental update failed, trying to download daily.cvd
> ERROR: getfile: Can't create new file 
> ./clamav-2b1f515d40dc735a28b16b9b88b82e78 in /var/lib/clamav
> Hint: The database directory must be writable for UID 108 or GID 108
> ERROR: Can't download daily.cvd from db.local.clamav.net
> 
> UID 108 is clamav
> 
> id amavis
> uid=105(amavis) gid=109(amavis) Gruppen=109(amavis),108(clamav)
> 
> What am I missing? Thanks in advance.
> 
> 
> 

-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
AMaViS-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/amavis-user
AMaViS-FAQ:http://www.amavis.org/amavis-faq.php3
AMaViS-HowTos:http://www.amavis.org/howto/

Reply via email to