Re: [clamav-users] clamav dies unexpectly

2011-08-12 Thread ulises gonzalez
On Thursday 11 August 2011 03:20:15 pm you wrote:
 I've been having the same issue with my Linux FC 8 X86_64. ClamAV
 0.96.5/13427/Wed Aug 10 16:31:52 2011 (I know its old, I need to update) I
 use the old restarting the daemon every night method. It seems to work for
 me.

yes it works for me too, but this is a workaround not a final solution,  
but ... if this happens to you in fedora core, then the problem is not  of 
the Debian family only.. I will open a bugtrack as Edwin told me, thanks...

-- 
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

[clamav-users] clamav dies unexpectly

2011-08-11 Thread ulises gonzalez
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 = 6
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

Re: [clamav-users] clamav dies unexpectly

2011-08-11 Thread Török Edwin
On 2011-08-11 21:12, ulises gonzalez wrote:
 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

How? Is it a SIGSEGV/SIGBUS/something else?
Grep your dmesg for messages about clamd (segfaults are usually logged there).
Also see if clamd created a core file.

See here for instructions on how to get a stacktrace:
http://www.clamav.net/lang/en/bugs/

Then open a bug on bugs.clamav.net.

Also does this happen only if you enable Clamuko in clamd.conf,
or does it happen if you disable it too?

 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

Please open a separate bug for this.

Best regards,
--Edwin
___
Help us build a comprehensive ClamAV guide: visit http://wiki.clamav.net
http://www.clamav.net/support/ml


Re: [clamav-users] clamav dies unexpectly

2011-08-11 Thread ulises gonzalez
On Thursday 11 August 2011 02:29:17 pm Török Edwin wrote:
 How? Is it a SIGSEGV/SIGBUS/something else?


Excuse me,  how I can do this...??

 Grep your dmesg for messages about clamd (segfaults are usually logged
 there). Also see if clamd created a core file.

There is nothing in dmesg

servergrupo:~/clamv-clamuko-squeeze# dmesg | grep clamav
servergrupo:~/clamv-clamuko-squeeze# dmesg | grep clamd
servergrupo:~/clamv-clamuko-squeeze#

 See here for instructions on how to get a stacktrace:
 http://www.clamav.net/lang/en/bugs/


I'll do this

 Then open a bug on bugs.clamav.net.

 Also does this happen only if you enable Clamuko in clamd.conf,
 or does it happen if you disable it too?

No, if I don't enable clamuko it selfcheck correctly

Thu Aug 11 14:55:59 2011 - PDF support enabled.
Thu Aug 11 14:55:59 2011 - HTML support enabled.
Thu Aug 11 14:55:59 2011 - Self checking every 72 seconds.
Thu Aug 11 14:57:11 2011 - No stats for Database check - forcing reload
Thu Aug 11 14:57:12 2011 - Reading databases from /var/lib/clamav
Thu Aug 11 14:57:18 2011 - Database correctly reloaded (1018481 signatures)
 
It only happens with clamuko enabled

-- 
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


Re: [clamav-users] clamav dies unexpectly

2011-08-11 Thread Shawn Bakhtiar

I've been having the same issue with my Linux FC 8 X86_64. ClamAV 
0.96.5/13427/Wed Aug 10 16:31:52 2011 (I know its old, I need to update)
I use the old restarting the daemon every night method. It seems to work for me.




 From: uli...@mfp.gov.cu
 To: clamav-users@lists.clamav.net
 Date: Thu, 11 Aug 2011 15:02:48 -0400
 Subject: Re: [clamav-users] clamav dies unexpectly
 
 On Thursday 11 August 2011 02:29:17 pm Török Edwin wrote:
  How? Is it a SIGSEGV/SIGBUS/something else?
 
 
 Excuse me,  how I can do this...??
 
  Grep your dmesg for messages about clamd (segfaults are usually logged
  there). Also see if clamd created a core file.
 
 There is nothing in dmesg
 
 servergrupo:~/clamv-clamuko-squeeze# dmesg | grep clamav
 servergrupo:~/clamv-clamuko-squeeze# dmesg | grep clamd
 servergrupo:~/clamv-clamuko-squeeze#
 
  See here for instructions on how to get a stacktrace:
  http://www.clamav.net/lang/en/bugs/
 
 
 I'll do this
 
  Then open a bug on bugs.clamav.net.
 
  Also does this happen only if you enable Clamuko in clamd.conf,
  or does it happen if you disable it too?
 
 No, if I don't enable clamuko it selfcheck correctly
 
 Thu Aug 11 14:55:59 2011 - PDF support enabled.
 Thu Aug 11 14:55:59 2011 - HTML support enabled.
 Thu Aug 11 14:55:59 2011 - Self checking every 72 seconds.
 Thu Aug 11 14:57:11 2011 - No stats for Database check - forcing reload
 Thu Aug 11 14:57:12 2011 - Reading databases from /var/lib/clamav
 Thu Aug 11 14:57:18 2011 - Database correctly reloaded (1018481 signatures)
  
 It only happens with clamuko enabled
 
 -- 
 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
  
___
Help us build a comprehensive ClamAV guide: visit http://wiki.clamav.net
http://www.clamav.net/support/ml


Re: [clamav-users] clamav dies unexpectly

2011-08-11 Thread Török Edwin
On 2011-08-11 22:02, ulises gonzalez wrote:
 On Thursday 11 August 2011 02:29:17 pm Török Edwin wrote:
 How? Is it a SIGSEGV/SIGBUS/something else?
 
 
 Excuse me,  how I can do this...??

Following the instructions on the clamav website on how to attach gdb to clamd,
then wait for the selfcheck (or trigger it with clamdscan --reload).
Then instead of crashing completely it should stop in gdb and tell you _why_ it 
stopped.

 
 Grep your dmesg for messages about clamd (segfaults are usually logged
 there). Also see if clamd created a core file.
 
 There is nothing in dmesg
 
 servergrupo:~/clamv-clamuko-squeeze# dmesg | grep clamav
 servergrupo:~/clamv-clamuko-squeeze# dmesg | grep clamd
 servergrupo:~/clamv-clamuko-squeeze#
 
 See here for instructions on how to get a stacktrace:
 http://www.clamav.net/lang/en/bugs/

 
 I'll do this
 
 Then open a bug on bugs.clamav.net.

 Also does this happen only if you enable Clamuko in clamd.conf,
 or does it happen if you disable it too?
 
 No, if I don't enable clamuko it selfcheck correctly
 
 Thu Aug 11 14:55:59 2011 - PDF support enabled.
 Thu Aug 11 14:55:59 2011 - HTML support enabled.
 Thu Aug 11 14:55:59 2011 - Self checking every 72 seconds.
 Thu Aug 11 14:57:11 2011 - No stats for Database check - forcing reload
 Thu Aug 11 14:57:12 2011 - Reading databases from /var/lib/clamav
 Thu Aug 11 14:57:18 2011 - Database correctly reloaded (1018481 signatures)
  
 It only happens with clamuko enabled
 

___
Help us build a comprehensive ClamAV guide: visit http://wiki.clamav.net
http://www.clamav.net/support/ml