Hello everybody: I've been using Clamav since 2005 on Ubuntu and Debian sistems, since one year I've been compiling it with the clamuko module (versions 0.96.2 to 0.97.2 excluding 0.97.1) joined to this I've been compiling to dazukofs. With all theese versions of clamav clamav dies sudenly when arrives the selfcheck time (clamd.conf setting) if I restart it, it starts with out complains
I've been using 2 wokaraunds: 1 - In PC that not runs 24 hours I put a high SelfCheck, higher than it normal uptime. This way SelfCheck never happens 2 - With de versions 0.96.x I used to run safe_camd but In versions 0.97x it does not work it complains with the following error host@ligero1:/etc/exec.mfp$ ./safe_clamd trap: 119: SIGHUP: bad trap host@ligero1:/etc/exec.mfp$ 3 If the PC runs 24/7 I restart clamav from crond every day My cuestion is: Is this a bug of clamav?? Here I put the logs and the exit of clamconf -n thanks ************ root@administrador-desktop:/tmp/clamav-clamuko-squeeze# tail -f /var/log/clamav/clamav.log Thu Aug 11 13:50:14 2011 -> Clamuko: Correctly registered with DazukoFS. Thu Aug 11 13:50:14 2011 -> Clamuko: Max file size limited to 5242880 bytes. Thu Aug 11 13:50:14 2011 -> Clamuko: Correctly registered with DazukoFS. Thu Aug 11 13:50:14 2011 -> Clamuko: Max file size limited to 5242880 bytes. Thu Aug 11 13:50:14 2011 -> Clamuko: Correctly registered with DazukoFS. Thu Aug 11 13:50:14 2011 -> Clamuko: Max file size limited to 5242880 bytes. Thu Aug 11 13:50:14 2011 -> Clamuko: Correctly registered with DazukoFS. Thu Aug 11 13:50:14 2011 -> Clamuko: Max file size limited to 5242880 bytes. Thu Aug 11 13:50:14 2011 -> Clamuko: Correctly registered with DazukoFS. Thu Aug 11 13:50:14 2011 -> Clamuko: Max file size limited to 5242880 bytes. Thu Aug 11 13:53:34 2011 -> No stats for Database check - forcing reload Thu Aug 11 13:53:34 2011 -> Stopping and restarting Clamuko. ^C root@administrador-desktop:/tmp/clamav-clamuko-squeeze# clamconf -n Checking configuration files in /etc/clamav Config file: clamd.conf ----------------------- LogFile = "/var/log/clamav/clamav.log" LogFileMaxSize = "4294967295" LogTime = "yes" ExtendedDetectionInfo = "yes" PidFile = "/var/run/clamav/clamd.pid" DatabaseDirectory = "/var/lib/clamav" LocalSocket = "/var/run/clamav/clamd.ctl" LocalSocketGroup = "clamav" LocalSocketMode = "666" TCPSocket = "3131" MaxConnectionQueueLength = "15" MaxThreads = "12" ReadTimeout = "180" SendBufTimeout = "200" SelfCheck = "200" User = "root" AllowSupplementaryGroups = "yes" BytecodeTimeout = "60000" ClamukoScanOnAccess = "yes" ClamukoScannerCount = "10" Config file: freshclam.conf --------------------------- LogFileMaxSize = "4294967295" LogTime = "yes" PidFile = "/var/run/clamav/freshclam.pid" DatabaseDirectory = "/var/lib/clamav" UpdateLogFile = "/var/log/clamav/freshclam.log" Checks = "24" DatabaseMirror = "db.local.clamav.net", "database.clamav.net" MaxAttempts = "5" clamav-milter.conf not found Software settings ----------------- Version: 0.97.2 Optional features supported: MEMPOOL IPv6 CLAMUKO FRESHCLAM_DNS_FIX AUTOIT_EA06 BZIP2 JIT Database information -------------------- Database directory: /var/lib/clamav daily.cld: version 13427, sigs: 173649, built on Wed Aug 10 19:31:52 2011 main.cld: version 53, sigs: 846214, built on Sun Nov 14 09:58:22 2010 Total number of signatures: 1019863 Platform information -------------------- uname: Linux 2.6.32-33-generic #70-Ubuntu SMP Thu Jul 7 21:09:46 UTC 2011 i686 OS: linux-gnu, ARCH: i386, CPU: i486 Full OS version: Ubuntu 10.04.1 LTS WARNING: zlib version mismatch: 1.2.3.4 (1.2.3.3) zlib version: 1.2.3.4 (1.2.3.3), compile flags: 55 Triple: i386-pc-linux-gnu CPU: nocona, Little-endian platform id: 0x0a113e3e0404040501040405 Build information ----------------- GNU C: 4.4.5 (4.4.5) GNU C++: 4.4.5 (4.4.5) CPPFLAGS: CFLAGS: -Wall -g -O2 CXXFLAGS: -Wall -g -O2 LDFLAGS: Configure: '--build=i486-linux-gnu' '--prefix=/usr' '--mandir=/usr/share/man' '--infodir=/usr/share/info' '--disable-clamav' '--with-dbdir=/var/lib/clamav/' '--sysconfdir=/etc/clamav' '--enable-milter' '--with-gnu-ld' '--enable-dns-fix' '--disable-unrar' '--libdir=/usr/lib' '--with-system-tommath' '--with-ltdl-include=/usr/include' '--with-ltdl-lib=/usr/lib' 'build_alias=i486-linux-gnu' 'CFLAGS=-Wall -g -O2' 'LDFLAGS=' 'CPPFLAGS=' sizeof(void*) = 4 Engine flevel: 62, dconf: 62 root@administrador-desktop:/tmp/clamav-clamuko-squeeze# -- Salu2 ________________________ Ulinx Administrador de redes Ministerio de Finanzas y Precios Linux user 366775 "En un problema con n ecuaciones siempre habrá al menos n+1 incógnitas." _______________________________________________ Help us build a comprehensive ClamAV guide: visit http://wiki.clamav.net http://www.clamav.net/support/ml