Hi list, FreeBSD 6.2-PRERELEASE, latest clamav devel installed from ports (clamav-devel-20060922) being used with qmail-scanner-2.01st. Everything was working fine for about week but today I noticed that clamd has crashed with the following error in clamd.log:
clamd daemon devel-20060923 (OS: freebsd6.2, ARCH: i386, CPU: i386) Log file size limited to 1048576 bytes. Reading databases from /var/db/clamav Loaded 70666 signatures. Unix socket file /var/run/clamav/clamd Setting connection queue length to 15 Archive: Archived file size limit set to 10485760 bytes. Archive: Recursion level limit set to 8. Archive: Files limit set to 1000. Archive: Compression ratio limit set to 250. Archive support enabled. Algorithmic detection enabled. Portable Executable support enabled. Mail files support enabled. OLE2 support enabled. HTML support enabled. Self checking every 1800 seconds. No stats for Database check - forcing reload Reading databases from /var/db/clamav ERROR: reload db failed: Unable to create temporary file Terminating because of a fatal error.Socket file removed. Pid file removed. --- Stopped at Thu Sep 28 09:01:38 2006 clamd is running under qscand user, so is freshclam. I doublechecked permissions and everything looked usual: #ls -al /var/run/clavam srwxrwxrwx 1 qscand qscand 0 Sep 28 10:41 clamd -rw-rw---- 1 qscand qscand 4 Sep 28 10:41 clamd.pid -rw-rw---- 1 qscand qscand 3 Sep 28 10:01 freshclam.pid #ls -al /var/db/clamav/ -rw-r--r-- 1 qscand qscand 757447 Sep 28 10:51 daily.cvd -rw-r--r-- 1 qscand qscand 5858804 Sep 28 10:45 main.cvd I also checked TemporaryDirectory in clamd.conf - it points to /tmp with the following permissions drwxrwxrwt. Tried to delete virus definitions and restart freshclam - it sucessfully downloads cvd's but during next sanity check the same error occurs. Restarting clamd is solving the problem until the next SelfCheck, so I had to increase internal sanity check interval. We have another server powered by FreeBSD 6.2-PRERELEASE under the same load but with clamav-devel-20060703 installed - no problem here. Any hints or ideas would greatly appreciated! Thank you for your time. _______________________________________________ http://lurker.clamav.net/list/clamav-users.html