Heute (29.06.2007/07:13 Uhr) schrieb Peter Huetmannsberger,
> Hi, > it is telling you that you have a permission problem. In the > /etc/freshclam.conf file there is a parameter: > DatabaseOwner amavis vi /etc/clamav/freshclam.conf DatabaseOwner amavis UpdateLogFile /var/log/clamav/freshclam.log LogVerbose false LogSyslog false LogFacility LOG_LOCAL6 LogFileMaxSize 2M LogFileUnlock yes Foreground false Debug false MaxAttempts 5 DatabaseDirectory /var/lib/clamav/ DNSDatabaseInfo current.cvd.clamav.net AllowSupplementaryGroups true PidFile /var/run/amavis/freshclam.pid ConnectTimeout 30 ReceiveTimeout 30 ScriptedUpdates yes # Check for new database 24 times a day Checks 24 DatabaseMirror db.local.clamav.net DatabaseMirror database.clamav.net > 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. ls -l /var/log/clamav/freshclam.log -rw-rw-rw- 1 amavis adm 91250 2007-06-29 10:42 /var/log/clamav/freshclam.log > And in your case /var/lib/clamav as well. ls -l /var/lib/clamav insgesamt 17492 drwxr-xr-x 2 amavis amavis 4096 2007-06-29 08:09 daily.inc -rw-r--r-- 1 amavis amavis 8189490 2007-04-12 21:33 main.cvd drwxr-xr-x 2 amavis amavis 4096 2007-06-29 08:10 main.inc -rw------- 1 amavis amavis 728 2007-06-24 23:42 mirrors.dat -rw-r--r-- 1 amavis amavis 2835906 2007-06-29 08:00 MSRBL-Images.hdb -rw-r--r-- 1 amavis amavis 2835356 2007-06-29 08:01 MSRBL-Images.hdb-bak -rw-r--r-- 1 amavis amavis 228436 2007-06-25 12:36 MSRBL-SPAM.ndb -rw-r--r-- 1 amavis amavis 228232 2007-06-25 16:01 MSRBL-SPAM.ndb-bak -rw-r--r-- 1 amavis amavis 1053152 2007-06-29 00:01 phish.ndb -rw-r--r-- 1 amavis amavis 1052080 2007-06-29 00:01 phish.ndb-bak -rw-r--r-- 1 amavis amavis 177727 2007-06-28 21:29 phish.ndb.gz -rw-r--r-- 1 amavis amavis 555783 2007-06-29 00:01 scam.ndb -rw-r--r-- 1 amavis amavis 555783 2007-06-29 00:01 scam.ndb-bak -rw-r--r-- 1 amavis amavis 111125 2007-06-28 21:29 scam.ndb.gz > Hope this helps, I think, everything is ok!? > .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. -- Viele Gruesse, Kind regards, Jim Knuth [EMAIL PROTECTED] ICQ #277289867 ---------- Zufalls-Zitat ---------- Es ist ein großer Vorteil im Leben, die Fehler, aus denen man lernen kann, möglichst früh zu begehen. (Sir Wiston Churchill, brit. Politiker, 1874-1965) ---------- Der Text hat nichts mit dem Empfaenger der Mail zu tun ---------- Virus free. Checked by NOD32 Version 2363 Build 10202 29.06.2007 ------------------------------------------------------------------------- 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/
