Dear users,
i`ve just updated my clamav installation to the latest tarball,
but after this, my clamd service periodicly shutdown with this error messages:

Wed Oct  4 15:47:07 2006 -> No stats for Database check - forcing reload
Wed Oct  4 15:47:07 2006 -> Reading databases from /usr/local/share/clamav
Wed Oct 4 15:47:10 2006 -> ERROR: reload db failed: Unable to create temporary file Wed Oct 4 15:47:10 2006 -> Terminating because of a fatal error.Wed Oct 4 15:47:10 2006 -> Shutting down the main socket.


here is the snippet of my clamd.conf:

LogFile /var/log/clamav/clamd.log
LogFileUnlock yes
LogFileMaxSize 2M
LogTime yes
LogSyslog yes
LogVerbose yes
PidFile /var/amavis/clamd.pid
LocalSocket /tmp/clamd
FixStaleSocket yes
MaxConnectionQueueLength 30
TemporaryDirectory /var/tmp
DatabaseDirectory /usr/local/share/clamav
AlgorithmicDetection yes
#StreamSaveToDisk
StreamMaxLength 10M
MaxThreads 10
MaxDirectoryRecursion 15
FollowDirectorySymlinks yes
FollowFileSymlinks yes
SelfCheck 60
User amavis
#DisableDefaultScanOptions
ScanMail yes
ScanOLE2 yes
ScanArchive yes
ArchiveBlockEncrypted yes
ArchiveMaxFileSize 10M
ArchiveMaxRecursion 5
ArchiveMaxFiles 1000
ArchiveMaxCompressionRatio 200
ArchiveLimitMemoryUsage yes
ScanPE yes
DetectBrokenExecutables yes
ScanHTML yes

i configured the clamav with these options:

/configure --enable-readdir_r --enable-bigstack --disable-clamav --disable-clamuko --enable-experimental

ls -al /usr/local/share/clamav/
total 5750
drwxrwxr-x    3 clamav   clamav        512 Oct  4 11:19 ./
drwxr-xr-x   41 root     wheel        1024 Oct  4 11:16 ../
-rw-r--r--    1 clamav   clamav          0 Jul 25  2005 daily.cvd.orig
drwxr-xr-x    2 amavis   clamav        512 Oct  4 11:19 daily.inc/
-rw-r--r--    1 clamav   clamav    5858804 Aug 17 04:12 main.cvd
-rw-r--r--    1 clamav   clamav          0 Jul 25  2005 main.cvd.orig

any help will be appreciated


Regards

Zen
_______________________________________________
http://lurker.clamav.net/list/clamav-users.html

Reply via email to