Re: [clamav-users] problem with clamd crashing on Solaris 9, SPARC
Den 2012-06-24 16:41, Dennis Peterson skrev: On 6/24/12 7:37 AM, David Alix wrote: which version of clamd are you running? 9.7.2, 9.7.4, and 9.7.5. all at once to be sure ? ___ Help us build a comprehensive ClamAV guide: visit http://wiki.clamav.net http://www.clamav.net/support/ml
Re: [clamav-users] problem with clamd crashing on Solaris 9, SPARC
On 6/25/12 12:41 AM, Benny Pedersen wrote: Den 2012-06-24 16:41, Dennis Peterson skrev: On 6/24/12 7:37 AM, David Alix wrote: which version of clamd are you running? 9.7.2, 9.7.4, and 9.7.5. all at once to be sure ? No - I have several systems around the world running ClamAV, each running a single instance. The update process can be very bureaucratic. dp ___ Help us build a comprehensive ClamAV guide: visit http://wiki.clamav.net http://www.clamav.net/support/ml
Re: [clamav-users] problem with clamd crashing on Solaris 9, SPARC
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 24/06/2012 00:14, David Alix wrote: Hello- Since Thursday morning, sometime between the daily.cld 15065 and 15066 update, my clamd daemon has been abending regularly (every couple of minutes to every half hour). I am running clamd 0.97.2 on Solaris SPARC. Hi David, Could you please run your clamd in debug mode and attach the log to a new bug in bugzilla (http://bugzilla.clamav.net)? Thanks Tom -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.12 (Darwin) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/ iQEcBAEBAgAGBQJP6GowAAoJEEJSM9yB4iIWlZEIALFa+916E0MzdZ8kau+/PQQx p2URdcFAHmtFtphoTuW0TIvIaWDjYUMeFYHDCtdabsHG0Uo3M//logBx4+TrPSCX Cg9sl3bo4qXAH5ClDRezOul4Hn0+BIevERF0Zes1PpZDBo/bWiYr2csYt1g/mVOh /AE27K/LPokUW4thYxM3GZs9E7U5qLOCCEZeYwBs6k0MWPslZm1EXen6blzs/n+y IXbqlcv1U1k61OL01O7zpcXzDOhBm+Vk9EA0qKIDP+99nJUOgX/voorjR4rVAymJ gnY9tVyfpwn0AsfgdSotv4KcXMeg/YfW2dRpW0m9VSAsB3TLv/+zBfCb7lXPOTs= =7QKZ -END PGP SIGNATURE- ___ Help us build a comprehensive ClamAV guide: visit http://wiki.clamav.net http://www.clamav.net/support/ml
Re: [clamav-users] problem with clamd crashing on Solaris 9, SPARC
On 6/23/12 9:14 PM, David Alix wrote: Hello- Since Thursday morning, sometime between the daily.cld 15065 and 15066 update, my clamd daemon has been abending regularly (every couple of minutes to every half hour). I am running clamd 0.97.2 on Solaris SPARC. I haven't seen mention of this from anyone else on the list, so I assume it's unique to Solaris SPARC. This happened once before in April 2011 (when it seemed to be an alignment issue). Any clue on how to deal with this? Thanks It hasn't happened on any of my Solaris SPARC systems. dp ___ Help us build a comprehensive ClamAV guide: visit http://wiki.clamav.net http://www.clamav.net/support/ml
Re: [clamav-users] problem with clamd crashing on Solaris 9, SPARC
which version of clamd are you running? Thanks David Quoting Dennis Peterson denni...@inetnw.com: On 6/23/12 9:14 PM, David Alix wrote: Hello- Since Thursday morning, sometime between the daily.cld 15065 and 15066 update, my clamd daemon has been abending regularly (every couple of minutes to every half hour). I am running clamd 0.97.2 on Solaris SPARC. I haven't seen mention of this from anyone else on the list, so I assume it's unique to Solaris SPARC. This happened once before in April 2011 (when it seemed to be an alignment issue). Any clue on how to deal with this? Thanks It hasn't happened on any of my Solaris SPARC systems. dp ___ Help us build a comprehensive ClamAV guide: visit http://wiki.clamav.net http://www.clamav.net/support/ml David Alix david.a...@isc.ucsb.edu ___ Help us build a comprehensive ClamAV guide: visit http://wiki.clamav.net http://www.clamav.net/support/ml
Re: [clamav-users] problem with clamd crashing on Solaris 9, SPARC
On 6/24/12 7:37 AM, David Alix wrote: which version of clamd are you running? Thanks David 9.7.2, 9.7.4, and 9.7.5. dp ___ Help us build a comprehensive ClamAV guide: visit http://wiki.clamav.net http://www.clamav.net/support/ml
[clamav-users] problem with clamd crashing on Solaris 9, SPARC
Hello- Since Thursday morning, sometime between the daily.cld 15065 and 15066 update, my clamd daemon has been abending regularly (every couple of minutes to every half hour). I am running clamd 0.97.2 on Solaris SPARC. I haven't seen mention of this from anyone else on the list, so I assume it's unique to Solaris SPARC. This happened once before in April 2011 (when it seemed to be an alignment issue). Any clue on how to deal with this? Thanks ___ David Alix Information Systems and Computing david.a...@isc.ucsb.edu (805)893-4456 ___ Help us build a comprehensive ClamAV guide: visit http://wiki.clamav.net http://www.clamav.net/support/ml
[Clamav-users] Problem Starting clamd after upgrade to 0.92
Hi there - I completed an upgrade of ClamAV to version 0.92 by following the appropriate procedure on the website. When I tried to start either clamd or freshclam, the error message shown below appears: error while loading shared libraries: libclamav.so.3: cannot open shared object file: No such file or directory How can I correct this? Thanks. The information transmitted in this electronic communication is intended only for the person or entity to whom it is addressed and may contain confidential and/or privileged material. Any review, retransmission, dissemination or other use of or taking of any action in reliance upon this information by persons or entities other than the intended recipient is prohibited. If you received this information in error, please contact the Compliance HelpLine at 800-856-1983 and properly dispose of this information. ___ Help us build a comprehensive ClamAV guide: visit http://wiki.clamav.net http://lurker.clamav.net/list/clamav-users.html
Re: [Clamav-users] Problem Starting clamd after upgrade to 0.92
Hi there -- Thanks for your e-mail. I ran the ldconfig utility, and afterwards was able to successfully run freshclam and clamd. Thanks for the help. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Steven Stern Sent: Tuesday, December 18, 2007 1:51 PM To: ClamAV users ML Subject: Re: [Clamav-users] Problem Starting clamd after upgrade to 0.92 Kaplan, Andrew H. wrote: Hi there - I completed an upgrade of ClamAV to version 0.92 by following the appropriate procedure on the website. When I tried to start either clamd or freshclam, the error message shown below appears: error while loading shared libraries: libclamav.so.3: cannot open shared object file: No such file or directory How can I correct this? Thanks. Type ldconfig as root. ___ Help us build a comprehensive ClamAV guide: visit http://wiki.clamav.net http://lurker.clamav.net/list/clamav-users.html The information transmitted in this electronic communication is intended only for the person or entity to whom it is addressed and may contain confidential and/or privileged material. Any review, retransmission, dissemination or other use of or taking of any action in reliance upon this information by persons or entities other than the intended recipient is prohibited. If you received this information in error, please contact the Compliance HelpLine at 800-856-1983 and properly dispose of this information. ___ Help us build a comprehensive ClamAV guide: visit http://wiki.clamav.net http://lurker.clamav.net/list/clamav-users.html
Re: [Clamav-users] problem with clamd
Which CentOS? 4 or 5? And did you build it yourself or did you use an RPM? If an RPM, which one? Is SELinux enabled? On 7/26/07, Graziano [EMAIL PROTECTED] wrote: Hello! I installed clamd on a Centos web server linux machine . When I start the demon #clamd cpu goes to 80-90% and does not move from there, overloading the server all the time. Why ? what is scanning ? I execute no scan command ! Thank you Graziano ___ Help us build a comprehensive ClamAV guide: visit http://wiki.clamav.net http://lurker.clamav.net/list/clamav-users.html ___ Help us build a comprehensive ClamAV guide: visit http://wiki.clamav.net http://lurker.clamav.net/list/clamav-users.html
[Clamav-users] Problem Identified: clamd spinning out of control on FreeBSD
Clamd only seems to spiral out of control while running on SMP-enabled machines. We've been able to toggle between stable and awful behavior by turning SMP support on and off in the kernel. ___ http://lurker.clamav.net/list/clamav-users.html
Re: [Clamav-users] problem with clamd
On Tuesday 15 Feb 2005 11:19, abac wrote: hi, I installed the clamav-0.82.tar.gz and the webmin module for clamav,the installation was successful,but now when i want to open the clamav in webmin this is theerror: WARNING: Please fill in the location of the clamav daemon startup file in the module's configuration (install the clamav daemon package if it isn't already done) and when i run the freshclam this is the error: ERROR: Please edit the example config file /etc/freshclam.conf. ERROR: Please edit the example config file /etc/clamd.conf. ERROR: Can't parse the config file /etc/clamd.conf plz help me Your best bet is to report it to the webmin author(s) ___ http://lists.clamav.net/cgi-bin/mailman/listinfo/clamav-users
[Clamav-users] problem starting clamd
hi, I installed the clamav-0.82.tar.gz and the webmin module for clamav,the installation was successful,but now when i want to open the clamav in webmin this is theerror: WARNING: Please fill in the location of the clamav daemon startup file in the module's configuration (install the clamav daemon package if it isn't already done) and when i run the freshclam this is the error: ERROR: Please edit the example config file /etc/freshclam.conf. ERROR: Please edit the example config file /etc/clamd.conf. ERROR: Can't parse the config file /etc/clamd.conf plz help me. ___ http://lists.clamav.net/cgi-bin/mailman/listinfo/clamav-users
Re: [Clamav-users] problem starting clamd
On Tue, 15 Feb 2005, abac wrote: ERROR: Please edit the example config file /etc/freshclam.conf. ERROR: Please edit the example config file /etc/clamd.conf. ERROR: Can't parse the config file /etc/clamd.conf Read what it says. Do what it says. Damian Menscher -- -=#| Physics Grad Student SysAdmin @ U Illinois Urbana-Champaign |#=- -=#| 488 LLP, 1110 W. Green St, Urbana, IL 61801 Ofc:(217)333-0038 |#=- -=#| 4602 Beckman, VMIL/MS, Imaging Technology Group:(217)244-3074 |#=- -=#| [EMAIL PROTECTED] www.uiuc.edu/~menscher/ Fax:(217)333-9819 |#=- -=#| The above opinions are not necessarily those of my employers. |#=- ___ http://lists.clamav.net/cgi-bin/mailman/listinfo/clamav-users
RE: [Clamav-users] problem starting clamd
and run the update to 0.83 .. :) http://www.clamav.net/doc/0.83/clamdoc.pdf -Original Message- From: Damian Menscher [mailto:[EMAIL PROTECTED] Sent: Tuesday, February 15, 2005 4:05 PM To: ClamAV users ML Subject: Re: [Clamav-users] problem starting clamd On Tue, 15 Feb 2005, abac wrote: ERROR: Please edit the example config file /etc/freshclam.conf. ERROR: Please edit the example config file /etc/clamd.conf. ERROR: Can't parse the config file /etc/clamd.conf Read what it says. Do what it says. Damian Menscher -- -=#| Physics Grad Student SysAdmin @ U Illinois Urbana-Champaign |#=- -=#| 488 LLP, 1110 W. Green St, Urbana, IL 61801 Ofc:(217)333-0038 |#=- -=#| 4602 Beckman, VMIL/MS, Imaging Technology Group:(217)244-3074 |#=- -=#| [EMAIL PROTECTED] www.uiuc.edu/~menscher/ Fax:(217)333-9819 |#=- -=#| The above opinions are not necessarily those of my employers. |#=- ___ http://lists.clamav.net/cgi-bin/mailman/listinfo/clamav-users ___ http://lists.clamav.net/cgi-bin/mailman/listinfo/clamav-users
[Clamav-users] problem with clamd
hi, I installed the clamav-0.82.tar.gz and the webmin module for clamav,the installation was successful,but now when i want to open the clamav in webmin this is theerror: WARNING: Please fill in the location of the clamav daemon startup file in the module's configuration (install the clamav daemon package if it isn't already done) and when i run the freshclam this is the error: ERROR: Please edit the example config file /etc/freshclam.conf. ERROR: Please edit the example config file /etc/clamd.conf. ERROR: Can't parse the config file /etc/clamd.conf plz help me ___ http://lists.clamav.net/cgi-bin/mailman/listinfo/clamav-users
Re: [Clamav-users] problem with clamd
On Tue, 2005-02-15 at 16:19 +0500, abac wrote: hi, I installed the clamav-0.82.tar.gz and the webmin module for clamav,the installation was successful,but now when i want to open the clamav in webmin this is theerror: WARNING: Please fill in the location of the clamav daemon startup file in the module's configuration (install the clamav daemon package if it isn't already done) and when i run the freshclam this is the error: ERROR: Please edit the example config file /etc/freshclam.conf. ERROR: Please edit the example config file /etc/clamd.conf. ERROR: Can't parse the config file /etc/clamd.conf plz help me ___ http://lists.clamav.net/cgi-bin/mailman/listinfo/clamav-users Okay, you sound like you have two (2) problems here. did you,in fact, edit the example config file /etc/freshclam.conf and clamd.conf like the error said? what are the contents of those two files. second problem...in the webmin module config, you have to tell it the config files are at /etc/clamd.conf, etc. Or webmin nuked your config files...you DID save a copy before letting webmin loose on them, right? ___ http://lists.clamav.net/cgi-bin/mailman/listinfo/clamav-users
[Clamav-users] problem starting clamd
hi, I installed the clamav-0.82.tar.gz and the webmin module for clamav,the installation was successful,but now when i want to open the clamav in webmin this is the error: WARNING: Please fill in the location of the clamav daemon startup file in the module's configuration (install the clamav daemon package if it isn't already done) and when i run the freshclam this is the error: ERROR: Please edit the example config file /etc/freshclam.conf. ERROR: Please edit the example config file /etc/clamd.conf. ERROR: Can't parse the config file /etc/clamd.conf plz help me. ___ http://lists.clamav.net/cgi-bin/mailman/listinfo/clamav-users
Re: [Clamav-users] problem starting clamd
On Tue, 15 Feb 2005 17:01:44 +0500 shams [EMAIL PROTECTED] wrote: hi, I installed the clamav-0.82.tar.gz and the webmin module for clamav,the installation was successful,but now when i want to open the clamav in webmin this is the error: WARNING: Please fill in the location of the clamav daemon startup file in the module's configuration (install the clamav daemon package if it isn't already done) and when i run the freshclam this is the error: ERROR: Please edit the example config file /etc/freshclam.conf. ERROR: Please edit the example config file /etc/clamd.conf. ERROR: Can't parse the config file /etc/clamd.conf plz help me. You have been asking this question several times today. Is that a provocation? -- oo. Tomasz Kojm [EMAIL PROTECTED] (\/)\. http://www.ClamAV.net/gpg/tkojm.gpg \..._ 0DCA5A08407D5288279DB43454822DC8985A444B //\ /\ Wed Feb 16 00:59:17 CET 2005 pgpEpB28Di4WF.pgp Description: PGP signature ___ http://lists.clamav.net/cgi-bin/mailman/listinfo/clamav-users
Re: [Clamav-users] problem starting clamd
On Tue, 15 Feb 2005, Tomasz Kojm wrote: On Tue, 15 Feb 2005 17:01:44 +0500 shams [EMAIL PROTECTED] wrote: ERROR: Please edit the example config file /etc/freshclam.conf. ERROR: Please edit the example config file /etc/clamd.conf. ERROR: Can't parse the config file /etc/clamd.conf You have been asking this question several times today. Is that a provocation? My guess is he can't figure out how to subscribe to the mailing list, just like he can't figure out how to follow instructions or read error messages. Damian Menscher -- -=#| Physics Grad Student SysAdmin @ U Illinois Urbana-Champaign |#=- -=#| 488 LLP, 1110 W. Green St, Urbana, IL 61801 Ofc:(217)333-0038 |#=- -=#| 4602 Beckman, VMIL/MS, Imaging Technology Group:(217)244-3074 |#=- -=#| [EMAIL PROTECTED] www.uiuc.edu/~menscher/ Fax:(217)333-9819 |#=- -=#| The above opinions are not necessarily those of my employers. |#=- ___ http://lists.clamav.net/cgi-bin/mailman/listinfo/clamav-users
Re: [Clamav-users] Problem with clamd hanging
Tomasz Kojm [EMAIL PROTECTED] Date: Tue, 25 Jan 2005 18:09:59 +0100 Subject: Re: [Clamav-users] Problem with clamd hanging On Tue, 25 Jan 2005 17:48:08 +0100 [EMAIL PROTECTED] wrote: Trog [EMAIL PROTECTED] Thats normal behaviour. A gdb backtrace of each thread when it is hanging is the most helpful thing at the moment. Ok, so I did not use gdb as gdb core dump (maybe because I compiled clamav with sun cc). I used dbx and here is the backtrace : I can send you the email that was scanned. =[1] __zzip_find_disk_trailer(fd = 12, filesize = 31981, trailer = 0xfeb7b29e, io = 0xff30c2b0), line 289 in zzip-zip.c This is a known problem when using Sun's cc. Recompile with gcc. After 24hours with 0.81rc1 compiled with gcc I have not seen any hang-up. That's really better. f.g. ___ http://lists.clamav.net/cgi-bin/mailman/listinfo/clamav-users
Re: [Clamav-users] Problem with clamd hanging
On Thu, 27 Jan 2005 09:51:48 +0100 in [EMAIL PROTECTED] [EMAIL PROTECTED] wrote: After 24hours with 0.81rc1 compiled with gcc I have not seen any hang-up. And 0.81 is now released officially. -- Brian Morrison bdm at fenrir dot org dot uk GnuPG key ID DE32E5C5 - http://wwwkeys.uk.pgp.net/pgpnet/wwwkeys.html ___ http://lists.clamav.net/cgi-bin/mailman/listinfo/clamav-users
Re: [Clamav-users] Problem with clamd hanging
Tomasz Kojm [EMAIL PROTECTED] Date: Tue, 25 Jan 2005 18:09:59 +0100 Subject: Re: [Clamav-users] Problem with clamd hanging --===1361425311== Content-Type: multipart/signed; protocol=application/pgp-signature; micalg=pgp-sha1; boundary=Signature=_Tue__25_Jan_2005_18_09_59_+0100__WOiO7nH5vqSnS4f --Signature=_Tue__25_Jan_2005_18_09_59_+0100__WOiO7nH5vqSnS4f Content-Type: text/plain; charset=US-ASCII Content-Disposition: inline Content-Transfer-Encoding: 7bit On Tue, 25 Jan 2005 17:48:08 +0100 [EMAIL PROTECTED] wrote: Trog [EMAIL PROTECTED] Thats normal behaviour. A gdb backtrace of each thread when it is hanging is the most helpful thing at the moment. Ok, so I did not use gdb as gdb core dump (maybe because I compiled clamav with sun cc). I used dbx and here is the backtrace : I can send you the email that was scanned. =[1] __zzip_find_disk_trailer(fd = 12, filesize = 31981, trailer = 0xfeb7b29e, io = 0xff30c2b0), line 289 in zzip-zip.c This is a known problem when using Sun's cc. Recompile with gcc. I've done it... It works now for this file. THansk. Maybe it could be mentionned somewhere (or maybe I have not seen it). f.g. ___ http://lists.clamav.net/cgi-bin/mailman/listinfo/clamav-users
Re: [Clamav-users] Problem with clamd hanging
- Original Message - From: Tomasz Kojm [EMAIL PROTECTED] To: ClamAV users ML clamav-users@lists.clamav.net Sent: Monday, January 24, 2005 4:31 PM Subject: Re: [Clamav-users] Problem with clamd hanging It's rather a SESSION related bug. See my yesterday's post on a temporary workaround for this problem. This fix was related to clamav-milter right? We don't use it, don't have the milter package installed at all (built own rpm from source), so should we install the milter package(with the fix) to fix the clamd bug? In your case it's rather a zlib problem. Make sure you have installed the new version properly - by default its Makefile only installs the static library. Tried on 1 box that had the problem. Compiled zlib 1.2.2-1 from source, with shared libraries. This morning it happened again Is there anything else we can try or check to try solve this? thanks, shaun bugler PS: you say its a zlib problem, what specifically is this problem? ___ http://lists.clamav.net/cgi-bin/mailman/listinfo/clamav-users ___ http://lists.clamav.net/cgi-bin/mailman/listinfo/clamav-users
Re: [Clamav-users] Problem with clamd hanging
Shaun Bugler [EMAIL PROTECTED] Date: Tue, 25 Jan 2005 10:26:07 +0200 Subject: Re: [Clamav-users] Problem with clamd hanging It's rather a SESSION related bug. See my yesterday's post on a temporary workaround for this problem. This fix was related to clamav-milter right? We don't use it, don't have the milter package installed at all (built own rpm from source), so should we install the milter package(with the fix) to fix the clamd bug? In your case it's rather a zlib problem. Make sure you have installed the new version properly - by default its Makefile only installs the static library. Tried on 1 box that had the problem. Compiled zlib 1.2.2-1 from source, with shared libraries. This morning it happened again Is there anything else we can try or check to try solve this? thanks, shaun bugler PS: you say its a zlib problem, what specifically is this problem? I have tried with 0.81rc1 + zlib 1.2.2 and still hang several times this night. f.g. ___ http://lists.clamav.net/cgi-bin/mailman/listinfo/clamav-users
Re: [Clamav-users] Problem with clamd hanging
On Tue, 2005-01-25 at 10:26 +0200, Shaun Bugler wrote: Tried on 1 box that had the problem. Compiled zlib 1.2.2-1 from source, with shared libraries. This morning it happened again Is there anything else we can try or check to try solve this? thanks, shaun bugler attach gdb to the running clamd and do a backtrace *in each thread* when it crashes or stops responding PS: you say its a zlib problem, what specifically is this problem? It seg faults due to not handling an error correctly. -trog signature.asc Description: This is a digitally signed message part ___ http://lists.clamav.net/cgi-bin/mailman/listinfo/clamav-users
Re: [Clamav-users] Problem with clamd hanging
On Tue, 25 Jan 2005 10:00:13 +0100 [EMAIL PROTECTED] wrote: I have tried with 0.81rc1 + zlib 1.2.2 and still hang several times this night. We can't help you unless you provide some useful information (backtraces, etc.). -- oo. Tomasz Kojm [EMAIL PROTECTED] (\/)\. http://www.ClamAV.net/gpg/tkojm.gpg \..._ 0DCA5A08407D5288279DB43454822DC8985A444B //\ /\ Tue Jan 25 11:44:27 CET 2005 pgpMhz3bvu4ps.pgp Description: PGP signature ___ http://lists.clamav.net/cgi-bin/mailman/listinfo/clamav-users
Re: [Clamav-users] Problem with clamd hanging
Content-Transfer-Encoding: plain - Original Message - From: Trog [EMAIL PROTECTED] To: ClamAV users ML clamav-users@lists.clamav.net Sent: Tuesday, January 25, 2005 11:02 AM Subject: Re: [Clamav-users] Problem with clamd hanging Tried on 1 box that had the problem. Compiled zlib 1.2.2-1 from source, with shared libraries. This morning it happened again Is there anything else we can try or check to try solve this? thanks, shaun bugler attach gdb to the running clamd and do a backtrace *in each thread* when it crashes or stops responding PS: you say its a zlib problem, what specifically is this problem? It seg faults due to not handling an error correctly. -trog While I was waiting to get a new version of gdb, I saw the problem appearing again. I saved the emails and retried scanning, it stalled again... Did a strace: shmat(4, 0x3, 0x3) = -1 ENOSYS (Function not implemented) fcntl(4, F_GETFL) = 0x2 (flags O_RDWR) fstat(4, {st_mode=S_IFLNK|S_ISVTX|0254, st_size=0, ...}) = 0 mmap(0, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x40018000 _llseek(0x4, 0, 0, 0xbfffe680, 0x1) = -1 ESPIPE (Illegal seek) read(4, and thats there it stopped. I did a clamscan and got: [EMAIL PROTECTED] dd]# clamscan 1106645880.4304-0.mail1a.your-server.co.za LibClamAV Warning: Unknown encoding type plain - report to [EMAIL PROTECTED] 1106645880.4304-0.mail1a.your-server.co.za: OK I investigatd further and found the following line was causing the problem: Content-Transfer-Encoding: plain Once removed the emails went through fine. Should I report this to [EMAIL PROTECTED] or is this a know problem? thanks, shaun bugler ___ http://lists.clamav.net/cgi-bin/mailman/listinfo/clamav-users ___ http://lists.clamav.net/cgi-bin/mailman/listinfo/clamav-users
Re: [Clamav-users] Problem with clamd hanging
On Tuesday 25 Jan 2005 10:50, Shaun Bugler wrote: [EMAIL PROTECTED] dd]# clamscan 1106645880.4304-0.mail1a.your-server.co.za LibClamAV Warning: Unknown encoding type plain - report to [EMAIL PROTECTED] 1106645880.4304-0.mail1a.your-server.co.za: OK I investigatd further and found the following line was causing the problem: Content-Transfer-Encoding: plain Once removed the emails went through fine. Should I report this to [EMAIL PROTECTED] or is this a know problem? Does 0.81rc1 fix the problem? thanks, shaun bugler -- Nigel Horne. Arranger, Composer, Typesetter. NJH Music, Barnsley, UK. ICQ#20252325 [EMAIL PROTECTED] http://www.bandsman.co.uk ___ http://lists.clamav.net/cgi-bin/mailman/listinfo/clamav-users
Re: [Clamav-users] Problem with clamd hanging
On Tue, 2005-01-25 at 12:50 +0200, Shaun Bugler wrote: and thats there it stopped. I did a clamscan and got: [EMAIL PROTECTED] dd]# clamscan 1106645880.4304-0.mail1a.your-server.co.za LibClamAV Warning: Unknown encoding type plain - report to [EMAIL PROTECTED] 1106645880.4304-0.mail1a.your-server.co.za: OK I investigatd further and found the following line was causing the problem: Content-Transfer-Encoding: plain Once removed the emails went through fine. Should I report this to [EMAIL PROTECTED] or is this a know problem? Please send the whole email, in a password protected zip file to the above address, and to me directly. Thanks, -trog signature.asc Description: This is a digitally signed message part ___ http://lists.clamav.net/cgi-bin/mailman/listinfo/clamav-users
Re: [Clamav-users] Problem with clamd hanging
On Tue, 2005-01-25 at 12:22 +0100, [EMAIL PROTECTED] wrote: Btw I did a truss a few days ago on the hanging process and it was stopped in an accept syscall. Thats normal behaviour. A gdb backtrace of each thread when it is hanging is the most helpful thing at the moment. -trog signature.asc Description: This is a digitally signed message part ___ http://lists.clamav.net/cgi-bin/mailman/listinfo/clamav-users
Re: [Clamav-users] Problem with clamd hanging
On Tue, 2005-01-25 at 12:50 +0200, Shaun Bugler wrote: I saved the emails and retried scanning, it stalled again... Did a strace: shmat(4, 0x3, 0x3) = -1 ENOSYS (Function not implemented) fcntl(4, F_GETFL) = 0x2 (flags O_RDWR) fstat(4, {st_mode=S_IFLNK|S_ISVTX|0254, st_size=0, ...}) = 0 mmap(0, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x40018000 _llseek(0x4, 0, 0, 0xbfffe680, 0x1) = -1 ESPIPE (Illegal seek) read(4, and thats there it stopped. I did a clamscan and got: What is this a trace of? Could you send the full trace? This seek() on a pipe is rather odd. I can't think how clam would do that, ATM. Could you give a full inventory of your software and configuration please. MTA; software used to pass emails to clam; any patches you have applied (to all, but primarily to clam). Versions of each. Thanks, -trog signature.asc Description: This is a digitally signed message part ___ http://lists.clamav.net/cgi-bin/mailman/listinfo/clamav-users
Re: [Clamav-users] Problem with clamd hanging
- Original Message - From: Trog [EMAIL PROTECTED] To: ClamAV users ML clamav-users@lists.clamav.net Sent: Tuesday, January 25, 2005 2:20 PM Subject: Re: [Clamav-users] Problem with clamd hanging MTA; software used to pass emails to clam; any patches you have applied (to all, but primarily to clam). Versions of each. even when we use clamdscan it hangs, so our mta has nothing to do with the problem. havving a bit of trouble with gdb configuration it aint working. but still working on it ___ http://lists.clamav.net/cgi-bin/mailman/listinfo/clamav-users ___ http://lists.clamav.net/cgi-bin/mailman/listinfo/clamav-users
Re: [Clamav-users] Problem with clamd hanging
Trog [EMAIL PROTECTED] Date: Tue, 25 Jan 2005 11:27:01 GMT Subject: Re: [Clamav-users] Problem with clamd hanging On Tue, 2005-01-25 at 12:22 +0100, [EMAIL PROTECTED] wrote: =20 Btw I did a truss a few days ago on the hanging process and it was stoppe= d in an accept syscall. =20 Thats normal behaviour. A gdb backtrace of each thread when it is hanging is the most helpful thing at the moment. I just checked, and the problem is that clamd no more hangs but disapear. So it may crash. The problem is that it does run with / as current dir but not as uid root. So it can't core dumps. I'm wondering what I can do... f.g. ___ http://lists.clamav.net/cgi-bin/mailman/listinfo/clamav-users
Re: [Clamav-users] Problem with clamd hanging
On Tue, 2005-01-25 at 16:08 +0100, [EMAIL PROTECTED] wrote: I just checked, and the problem is that clamd no more hangs but disapear. So it may crash. The problem is that it does run with / as current dir but not as uid root. So it can't core dumps. I'm wondering what I can do... You must use attach gdb to the running clamd process and then wait for it to mis-behave: Something like the following should work out ok: 1. Use 'ps' to get the PID of clamd: ps -aux (ps -elf on SYSV) clamav 24897 0.0 1.9 38032 10068 ? SJan13 0:00 clamd ^ pid 2. Attach gdb to the running process gdb /usr/local/bin/clamd 24897 ^--- path to ^--- process id, from above clamd binary 3. you should now get the gdb prompt, as: (gdb) 4. type the command 'cont' to continue normal operation 5. wait for crash 6. you should now get the gdb prompt, as: (gdb) 7. the command 'bt' will give a backtrace for the current thread. The command 'info threads' will tell you how many threads there are. The command 'thread n' will change to the specified thread, after which you can use the 'bt' command again to get it's backtrace. So, you basically want to do: a. 'info threads' to get the number of threads and their id numbers b. for each thread do: thread id number bt 8. exit from gdb with the 'quit' command. Reply 'y' to the question about the program still running. -trog signature.asc Description: This is a digitally signed message part ___ http://lists.clamav.net/cgi-bin/mailman/listinfo/clamav-users
Re: [Clamav-users] Problem with clamd hanging
On Tue, 25 Jan 2005 17:48:08 +0100 [EMAIL PROTECTED] wrote: Trog [EMAIL PROTECTED] Thats normal behaviour. A gdb backtrace of each thread when it is hanging is the most helpful thing at the moment. Ok, so I did not use gdb as gdb core dump (maybe because I compiled clamav with sun cc). I used dbx and here is the backtrace : I can send you the email that was scanned. =[1] __zzip_find_disk_trailer(fd = 12, filesize = 31981, trailer = 0xfeb7b29e, io = 0xff30c2b0), line 289 in zzip-zip.c This is a known problem when using Sun's cc. Recompile with gcc. -- oo. Tomasz Kojm [EMAIL PROTECTED] (\/)\. http://www.ClamAV.net/gpg/tkojm.gpg \..._ 0DCA5A08407D5288279DB43454822DC8985A444B //\ /\ Tue Jan 25 18:09:19 CET 2005 pgp0NCTcUQ5aJ.pgp Description: PGP signature ___ http://lists.clamav.net/cgi-bin/mailman/listinfo/clamav-users
Re: [Clamav-users] Problem with clamd hanging
Tomasz Kojm [EMAIL PROTECTED] Date: Tue, 25 Jan 2005 11:46:21 +0100 Subject: Re: [Clamav-users] Problem with clamd hanging --===0580729670== Content-Type: multipart/signed; protocol=application/pgp-signature; micalg=pgp-sha1; boundary=Signature=_Tue__25_Jan_2005_11_46_21_+0100_blOhG=eoymkvrdcT --Signature=_Tue__25_Jan_2005_11_46_21_+0100_blOhG=eoymkvrdcT Content-Type: text/plain; charset=US-ASCII Content-Disposition: inline Content-Transfer-Encoding: 7bit On Tue, 25 Jan 2005 10:00:13 +0100 [EMAIL PROTECTED] wrote: I have tried with 0.81rc1 + zlib 1.2.2 and still hang several times this night. We can't help you unless you provide some useful information (backtraces, etc.). I'll do that, but for now you just asked me to try zlib 1.2.2 and 0.81rc1. I'll try to see the backtrace. Btw I did a truss a few days ago on the hanging process and it was stopped in an accept syscall. f.g. ___ http://lists.clamav.net/cgi-bin/mailman/listinfo/clamav-users
Re: [Clamav-users] Problem with clamd hanging
- Original Message - From: [EMAIL PROTECTED] To: ClamAV users ML clamav-users@lists.clamav.net Sent: Monday, January 24, 2005 1:13 PM Subject: Re: [Clamav-users] Problem with clamd hanging Trog [EMAIL PROTECTED] Date: Fri, 21 Jan 2005 16:27:51 GMT Subject: Re: [Clamav-users] Problem with clamd hanging --===1591423761== Content-Type: multipart/signed; micalg=pgp-sha1; protocol=application/pgp-signature; boundary==-kxvkl7u/uvATrEmpmLSY --=-kxvkl7u/uvATrEmpmLSY Content-Type: text/plain Content-Transfer-Encoding: quoted-printable On Fri, 2005-01-21 at 17:24 +0100, Frederic Goudal wrote: =20 I'm using 1.2.1 I'll try 1.2.2 monday, than the 0.81 if it does not work. =20 I would definitely do that. 1.2.1 has a known crashing bug. It was not crashing. But I did switch to 1.2.2 and it does not solve the problem. It hanged after 2 hours. Btw it seems that it occurs on specific mails, as it seems to hang 2 or three time in a row, than works for 2 hours or more... I'll try to compile the 0.81rc1 f.g. We also have a problem with clamd stalling, and then qmail rejects all incoming mail. WE are using an old version of zlib (zlib-1.1.4-8.7x). This activity seems random, and we haven't been able to reproduce this. I have browsed the list archieve and seen numerous people with the same problem but it seems there is no concrete answer to fix this. Hopefully someone can get to the bottom of this one :) sb ___ http://lists.clamav.net/cgi-bin/mailman/listinfo/clamav-users ___ http://lists.clamav.net/cgi-bin/mailman/listinfo/clamav-users
Re: [Clamav-users] Problem with clamd hanging
[EMAIL PROTECTED] wrote: It was not crashing. But I did switch to 1.2.2 and it does not solve the problem. It hanged after 2 hours. Btw it seems that it occurs on specific mails, as it seems to hang 2 or three time in a row, than works for 2 hours or more... I'll try to compile the 0.81rc1 I tested 0.81rc1 with zlib 1.2.2.2 on linux and clamd stops respond after several hours/days to clients (clamav-milter, clamdscan) requests. There must be STREAM related problem, I think. Petr ___ http://lists.clamav.net/cgi-bin/mailman/listinfo/clamav-users
Re: [Clamav-users] Problem with clamd hanging
On Mon, 24 Jan 2005 13:31:16 +0100 Kritof Petr [EMAIL PROTECTED] wrote: I tested 0.81rc1 with zlib 1.2.2.2 on linux and clamd stops respond after several hours/days to clients (clamav-milter, clamdscan) requests. There must be STREAM related problem, I think. It's rather a SESSION related bug. See my yesterday's post on a temporary workaround for this problem. -- oo. Tomasz Kojm [EMAIL PROTECTED] (\/)\. http://www.ClamAV.net/gpg/tkojm.gpg \..._ 0DCA5A08407D5288279DB43454822DC8985A444B //\ /\ Mon Jan 24 14:58:36 CET 2005 pgpRKtV8g2kPC.pgp Description: PGP signature ___ http://lists.clamav.net/cgi-bin/mailman/listinfo/clamav-users
Re: [Clamav-users] Problem with clamd hanging
- Original Message - From: Tomasz Kojm [EMAIL PROTECTED] To: ClamAV users ML clamav-users@lists.clamav.net Sent: Monday, January 24, 2005 3:59 PM Subject: Re: [Clamav-users] Problem with clamd hanging It's rather a SESSION related bug. See my yesterday's post on a temporary workaround for this problem. This fix was related to clamav-milter right? We don't use it, don't have the milter package installed at all (built own rpm from source), so should we install the milter package(with the fix) to fix the clamd bug? ___ http://lists.clamav.net/cgi-bin/mailman/listinfo/clamav-users ___ http://lists.clamav.net/cgi-bin/mailman/listinfo/clamav-users
Re: [Clamav-users] Problem with clamd hanging
On Mon, 24 Jan 2005 16:24:16 +0200 Shaun Bugler [EMAIL PROTECTED] wrote: It's rather a SESSION related bug. See my yesterday's post on a temporary workaround for this problem. This fix was related to clamav-milter right? We don't use it, don't have the milter package installed at all (built own rpm from source), so should we install the milter package(with the fix) to fix the clamd bug? In your case it's rather a zlib problem. Make sure you have installed the new version properly - by default its Makefile only installs the static library. -- oo. Tomasz Kojm [EMAIL PROTECTED] (\/)\. http://www.ClamAV.net/gpg/tkojm.gpg \..._ 0DCA5A08407D5288279DB43454822DC8985A444B //\ /\ Mon Jan 24 15:29:43 CET 2005 pgpF0cvIciNHR.pgp Description: PGP signature ___ http://lists.clamav.net/cgi-bin/mailman/listinfo/clamav-users
[Clamav-users] Problem with clamd hanging
Hello, I'm running clamd (clamav 0.80) on a solaris 9 server in front of amavisd 2.2.1 with a local unix socket. About 2 hours after we start clamd it stops accepting requests. The daemon is running, there is non special message either in amavis log or clamd log. It does not work either with clamdscan with a connection refused message. I have not seen any thing about such problem in the mailing-list archive. f.g. ___ http://lists.clamav.net/cgi-bin/mailman/listinfo/clamav-users
Re: [Clamav-users] Problem with clamd hanging
On Fri, 2005-01-21 at 11:36 +0100, [EMAIL PROTECTED] wrote: Hello, I'm running clamd (clamav 0.80) on a solaris 9 server in front of amavisd 2.2.1 with a local unix socket. About 2 hours after we start clamd it stops accepting requests. The daemon is running, there is non special message either in amavis log or clamd log. It does not work either with clamdscan with a connection refused message. I have not seen any thing about such problem in the mailing-list archive. Check which version of zlib you are using, install 1.2.2. Then I suggest you try version 0.81rc1 -trog signature.asc Description: This is a digitally signed message part ___ http://lists.clamav.net/cgi-bin/mailman/listinfo/clamav-users
Re: [Clamav-users] Problem with clamd hanging
Trog [EMAIL PROTECTED] Date: Fri, 21 Jan 2005 16:16:51 GMT Subject: Re: [Clamav-users] Problem with clamd hanging On Fri, 2005-01-21 at 11:36 +0100, [EMAIL PROTECTED] wrote: =20 Hello, =20 I'm running clamd (clamav 0.80) on a solaris 9 server in front of amavisd= =20 2.2.1 with a local unix socket. =20 About 2 hours after we start clamd it stops accepting requests. The daemo= n is=20 running, there is non special message either in amavis log or clamd log. =20 It does not work either with clamdscan with a connection refused message.= I=20 have not seen any thing about such problem in the mailing-list archive. Check which version of zlib you are using, install 1.2.2. Then I suggest you try version 0.81rc1 THanks. I'm using 1.2.1 I'll try 1.2.2 monday, than the 0.81 if it does not work. f.g. ___ http://lists.clamav.net/cgi-bin/mailman/listinfo/clamav-users
Re: [Clamav-users] Problem with clamd hanging
On Fri, 2005-01-21 at 17:24 +0100, Frederic Goudal wrote: I'm using 1.2.1 I'll try 1.2.2 monday, than the 0.81 if it does not work. I would definitely do that. 1.2.1 has a known crashing bug. -trog signature.asc Description: This is a digitally signed message part ___ http://lists.clamav.net/cgi-bin/mailman/listinfo/clamav-users
RE:[Clamav-users] Problem with clamd hanging
I have been running clamav 0.80 on solaris with local unix socket since October. Clamd stops accepting requests for me as well, but it's sporadic unlike yours. It usually runs 1 to 3 weeks at a time without a problem. I have a cron check and restart if it's doesn't respond. ___ http://lists.clamav.net/cgi-bin/mailman/listinfo/clamav-users
Re: [Clamav-users] Problem with clamd - clues welcome
On Thu, 2005-01-20 at 07:13, Odhiambo Washington wrote: I am having a strange problem with clamd. It has become the biggest bottleneck on my SMTP service but I just can't figure out why. Perhaps this is not a clamd problem but a hardware problem! I have tested both clamav-0.80 and clamav-devel-20050120 today. Sounds like you've built clam with debug enabled. You definitely don't want to do that for a production system. -trog signature.asc Description: This is a digitally signed message part ___ http://lists.clamav.net/cgi-bin/mailman/listinfo/clamav-users
Re: [Clamav-users] Problem with clamd - clues welcome
On Thu, 2005-01-20 at 10:22, Odhiambo Washington wrote: * Trog [EMAIL PROTECTED] [20050120 13:00]: wrote: On Thu, 2005-01-20 at 07:13, Odhiambo Washington wrote: I am having a strange problem with clamd. It has become the biggest bottleneck on my SMTP service but I just can't figure out why. Perhaps this is not a clamd problem but a hardware problem! I have tested both clamav-0.80 and clamav-devel-20050120 today. Sounds like you've built clam with debug enabled. You definitely don't want to do that for a production system. Not quite! Though I was running with Debug enabled in clamd.conf. Is that what you meant? You don't want to do that on a production server. -trog signature.asc Description: This is a digitally signed message part ___ http://lists.clamav.net/cgi-bin/mailman/listinfo/clamav-users
Re: [Clamav-users] Problem with clamd - clues welcome
* Trog [EMAIL PROTECTED] [20050120 13:30]: wrote: On Thu, 2005-01-20 at 10:22, Odhiambo Washington wrote: * Trog [EMAIL PROTECTED] [20050120 13:00]: wrote: On Thu, 2005-01-20 at 07:13, Odhiambo Washington wrote: I am having a strange problem with clamd. It has become the biggest bottleneck on my SMTP service but I just can't figure out why. Perhaps this is not a clamd problem but a hardware problem! I have tested both clamav-0.80 and clamav-devel-20050120 today. Sounds like you've built clam with debug enabled. You definitely don't want to do that for a production system. Not quite! Though I was running with Debug enabled in clamd.conf. Is that what you meant? You don't want to do that on a production server. Is that the reason it left files in $TempDir??? -Wash http://www.netmeister.org/news/learn2quote.html -- +==+ |\ _,,,---,,_ | Odhiambo Washington[EMAIL PROTECTED] Zzz /,`.-'`'-. ;-;;,_ | Wananchi Online Ltd. www.wananchi.com |,4- ) )-,_. ,\ ( `'-'| Tel: +254 20 313985-9 +254 20 313922 '---''(_/--' `-'\_) | GSM: +254 722 743223 +254 733 744121 +==+ WARNING TO ALL PERSONNEL: Firings will continue until morale improves. ___ http://lists.clamav.net/cgi-bin/mailman/listinfo/clamav-users
Re: [Clamav-users] Problem with clamd - clues welcome
On Thu, 2005-01-20 at 10:33, Odhiambo Washington wrote: Sounds like you've built clam with debug enabled. You definitely don't want to do that for a production system. Not quite! Though I was running with Debug enabled in clamd.conf. Is that what you meant? You don't want to do that on a production server. Is that the reason it left files in $TempDir??? Yes. And why it'll run really slowly. -trog signature.asc Description: This is a digitally signed message part ___ http://lists.clamav.net/cgi-bin/mailman/listinfo/clamav-users
Re: [Clamav-users] Problem with clamd - clues welcome
* Trog [EMAIL PROTECTED] [20050120 13:37]: wrote: On Thu, 2005-01-20 at 10:33, Odhiambo Washington wrote: Sounds like you've built clam with debug enabled. You definitely don't want to do that for a production system. Not quite! Though I was running with Debug enabled in clamd.conf. Is that what you meant? You don't want to do that on a production server. Is that the reason it left files in $TempDir??? Yes. And why it'll run really slowly. Thanks for that. Looks like that is what was causing my problems with clamd!! I will monitor to see the behaviour. I am running CVS code of today Are there other tune-ups that can be applied to clamd on a very busy server? -Wash http://www.netmeister.org/news/learn2quote.html -- +==+ |\ _,,,---,,_ | Odhiambo Washington[EMAIL PROTECTED] Zzz /,`.-'`'-. ;-;;,_ | Wananchi Online Ltd. www.wananchi.com |,4- ) )-,_. ,\ ( `'-'| Tel: +254 20 313985-9 +254 20 313922 '---''(_/--' `-'\_) | GSM: +254 722 743223 +254 733 744121 +==+ Every time I think I know where it's at, they move it. ___ http://lists.clamav.net/cgi-bin/mailman/listinfo/clamav-users
Re: [Clamav-users] Problem with clamd - clues welcome
On Thu, 2005-01-20 at 10:47, Odhiambo Washington wrote: Thanks for that. Looks like that is what was causing my problems with clamd!! I will monitor to see the behaviour. I am running CVS code of today Are there other tune-ups that can be applied to clamd on a very busy server? As usual, it depends on what the bottleneck is with your hardware. You can tune the thread settings to the number of CPUs and the amount of concurrent traffic you get. The most likely bottleneck will be I/O. If you've got lots of spare memory you could but the clam TMPDIR on a RAM disk. Or you could improve things by having it on a dedicated disk, and tune the filesystem for fast throughput (no atime, no journalling). To be honest, ClamAV is unlikely to be a problem unless you are handling millions of messages a day. How many are you doing? -trog signature.asc Description: This is a digitally signed message part ___ http://lists.clamav.net/cgi-bin/mailman/listinfo/clamav-users
Re: [Clamav-users] Problem with clamd - clues welcome
Le jeudi 20 Janvier 2005 11:47, Odhiambo Washington a écrit : Are there other tune-ups that can be applied to clamd on a very busy server? You can compile clamav with specific optimizations for your CPU using gcc options (see -march, -O, -mfpmath -msse -mmmx -m3dnow etc...) By this way, you can own a few % of speed for each scanned files. Regards, ___ Arnaud Jacques Consultant Sécurité Securiteinfo.com ___ http://lists.clamav.net/cgi-bin/mailman/listinfo/clamav-users
Re: [Clamav-users] Problem with clamd - clues welcome
* Trog [EMAIL PROTECTED] [20050120 14:01]: wrote: On Thu, 2005-01-20 at 10:47, Odhiambo Washington wrote: Thanks for that. Looks like that is what was causing my problems with clamd!! I will monitor to see the behaviour. I am running CVS code of today Are there other tune-ups that can be applied to clamd on a very busy server? As usual, it depends on what the bottleneck is with your hardware. You can tune the thread settings to the number of CPUs and the amount of concurrent traffic you get. The most likely bottleneck will be I/O. If you've got lots of spare memory you could but the clam TMPDIR on a RAM disk. Or you could improve things by having it on a dedicated disk, and tune the filesystem for fast throughput (no atime, no journalling). Noted! To be honest, ClamAV is unlikely to be a problem unless you are handling millions of messages a day. How many are you doing? I am doing quite a lot, for example (never mind the dates!) see the stats below: http://ns2.wananchi.com/~wash/Eximstats/4/ username = clamav password = clamav -Wash http://www.netmeister.org/news/learn2quote.html -- +==+ |\ _,,,---,,_ | Odhiambo Washington[EMAIL PROTECTED] Zzz /,`.-'`'-. ;-;;,_ | Wananchi Online Ltd. www.wananchi.com |,4- ) )-,_. ,\ ( `'-'| Tel: +254 20 313985-9 +254 20 313922 '---''(_/--' `-'\_) | GSM: +254 722 743223 +254 733 744121 +==+ There is no distinctly native American criminal class except Congress. -- Mark Twain ___ http://lists.clamav.net/cgi-bin/mailman/listinfo/clamav-users
[Clamav-users] Problem with clamd - clues welcome
I am having a strange problem with clamd. It has become the biggest bottleneck on my SMTP service but I just can't figure out why. Perhaps this is not a clamd problem but a hardware problem! I have tested both clamav-0.80 and clamav-devel-20050120 today. On my diagnostics, the mail processing seems to delay forever when the mail is being scanned. I use Exim+exiscan+clamd. So an SMTP connection from a client machine (read Outlook) ends up timing out! This has put me on the spot, but I have no alternative to clamd as we speak, and neither do I intend to. For the last 4 or so days, this problem as persisted. And clamd leaves so many files in the TempDir - running to hundreds of Megabytes. In clamd.conf, I have never enabled that option of leaving tempfiles. In clamd.conf, I am using the default scan options. `top` reveals that clamd is hogging resources: PID USERNAME PRI NICE SIZERES STATE C TIME WCPUCPU COMMAND 12203 exim -6 0 22308K 15944K biord 2 16:35 45.41% 45.41% clamd This is a busy server, but are these figures 'near' normal for anyone running either 0.80 or CVS out there? -Wash http://www.netmeister.org/news/learn2quote.html -- +==+ |\ _,,,---,,_ | Odhiambo Washington[EMAIL PROTECTED] Zzz /,`.-'`'-. ;-;;,_ | Wananchi Online Ltd. www.wananchi.com |,4- ) )-,_. ,\ ( `'-'| Tel: +254 20 313985-9 +254 20 313922 '---''(_/--' `-'\_) | GSM: +254 722 743223 +254 733 744121 +==+ In Tulsa, Oklahoma, it is against the law to open a soda bottle without the supervision of a licensed engineer. ___ http://lists.clamav.net/cgi-bin/mailman/listinfo/clamav-users
[Clamav-users] Problem with clamd when database reloads
Using clamd devel-20040304 on FreeBSD 4.9 On several occasions now we've noticed that when clamd checks and reloads the virus database current clamdscan's hang and then time out. This causes some real problems on a process that uses clamdscan as it thinks clamd is dead and then just bombs out. Last messages in the clamd.log are: Tue Mar 9 19:59:40 2004 - SelfCheck: Database modification detected. Forcing reload. Tue Mar 9 19:59:40 2004 - Reading databases from /usr/local/share/clamav Tue Mar 9 20:06:54 2004 - Database correctly reloaded (20426 viruses) Tue Mar 9 20:06:54 2004 - /var/tmp/scavs/22217/5/msg-6-2.bin: Worm.SomeFool.Gen-1 FOUND When checking clamd manually it appears to be running ok... It just whenever a database reload happens at the time either a clamdscan is in progress or one is trying to initiate during a reload, the clamdscan process just hangs... Any ideas on how to fix this or if more recent devel code has addressed this issue? -- Robert Blayzor, BOFH INOC, LLC [EMAIL PROTECTED] PGP: http://www.inoc.net/~dev/ Key fingerprint = 1E02 DABE F989 BC03 3DF5 0E93 8D02 9D0B CB1A A7B0 Bear left. Right, Frog! - The Muppet Movie --- This SF.Net email is sponsored by: IBM Linux Tutorials Free Linux tutorial presented by Daniel Robbins, President and CEO of GenToo technologies. Learn everything from fundamentals to system administration.http://ads.osdn.com/?ad_id=1470alloc_id=3638op=click ___ Clamav-users mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/clamav-users
[Clamav-users] problem starting clamd
I am having trouble starting clamd on a debian box and was hoping someone could help. The basic error I am getting is ... connect(): No such file or directory ERROR: Can't connect to clamd. --- SCAN SUMMARY --- Infected files: 0 Time: 0.007 sec (0 m 0 s) The problem seems to be creating the socket, I have the following in my config file LocalSocket /var/run/clamd/clamd The clamav user has full permissions on that directory and by su'ing to the clamav user I can create a pipe in that directory so it doesn't seem to be permissions. I had the same problem with 0.66 and now with 0.67. The following is the end of the output from strace clamd. old_mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x40032000 read(3, ##\n## Example config file for th..., 4096) = 4096 read(3, lamd must be started by root).\n#..., 4096) = 2559 read(3, , 4096) = 0 close(3)= 0 munmap(0x40032000, 4096)= 0 socket(PF_UNIX, SOCK_STREAM, 0) = 3 connect(3, {sin_family=AF_UNIX, path=/var/run/clamd/clamd}, 110) = -1 ENOENT (No such file or directory) close(3)= 0 dup(2) = 3 fcntl64(3, F_GETFL) = 0x8002 (flags O_RDWR|O_LARGEFILE) fstat64(3, {st_mode=S_IFCHR|0620, st_rdev=makedev(136, 0), ...}) = 0 old_mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x40032000 _llseek(3, 0, 0xbfffe6f4, SEEK_CUR) = -1 ESPIPE (Illegal seek) write(3, connect(): No such file or direc..., 37connect(): No such file or directory ) = 37 close(3)= 0 munmap(0x40032000, 4096)= 0 write(2, ERROR: , 7ERROR: ) = 7 write(2, Can\'t connect to clamd.\n, 24Can't connect to clamd. ) = 24 gettimeofday({1078754942, 300805}, {0, 0}) = 0 write(2, \n--- SCAN SUMMARY --..., 38 --- SCAN SUMMARY --- ) = 38 write(2, Infected files: 0\n, 18Infected files: 0 ) = 18 write(2, Time: 0.038 sec (0 m 0 s)\n, 26Time: 0.038 sec (0 m 0 s) ) = 26 _exit(2)= ? I have tried using an ip address and port and a local file but both fail. The same config file works fine on my gentoo box. Has anyone any ideas? Ta Robin --- This SF.Net email is sponsored by: IBM Linux Tutorials Free Linux tutorial presented by Daniel Robbins, President and CEO of GenToo technologies. Learn everything from fundamentals to system administration.http://ads.osdn.com/?ad_id=1470alloc_id=3638op=click ___ Clamav-users mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/clamav-users
Re: [Clamav-users] problem starting clamd
I am having trouble starting clamd ... connect(): No such file or directory ERROR: Can't connect to clamd. --- SCAN SUMMARY --- Infected files: 0 Time: 0.007 sec (0 m 0 s) This looks like an error from clamdscan, not clamd. What's the full command line you are using that produces this error? JohnV --- This SF.Net email is sponsored by: IBM Linux Tutorials Free Linux tutorial presented by Daniel Robbins, President and CEO of GenToo technologies. Learn everything from fundamentals to system administration.http://ads.osdn.com/?ad_id=1470alloc_id=3638op=click ___ Clamav-users mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/clamav-users
Re: [Clamav-users] problem starting clamd
I am starting it with clamd, nothing more, nothing less! I also get the same if I run clamdscan. does that help diagnosis? I am having trouble starting clamd ... connect(): No such file or directory ERROR: Can't connect to clamd. --- SCAN SUMMARY --- Infected files: 0 Time: 0.007 sec (0 m 0 s) This looks like an error from clamdscan, not clamd. What's the full command line you are using that produces this error? JohnV
Re: [clamav-users] Problem with clamd...
* Nigel Horne [EMAIL PROTECTED] [20030618 10:47]: wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Did I read that --enable-bigstack is only meant for BSD systems because of the mbox code??? No. --enable-bigstack is needed for all uses of clamav on FreeBSD. Thanks. I am going to install the latest snapshot now. -Wash -- Odhiambo Washington [EMAIL PROTECTED] The box said 'Requires Wananchi Online Ltd. www.wananchi.com Windows 95, NT, or better,' Tel: +254 2 313985-9 +254 2 313922 so I installed FreeBSD. GSM: +254 72 743223 +254 733 744121 This sig is McQ! :-) The student in question is performing minimally for his peer group and is an emerging underachiever. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
[clamav-users] Problem with clamd...
Dear all, I tested the latest snapshot on my debian box, but it don't work too( like the snapshot before) Here are my versions: Clamav-milter : Clamd : Clamav-milter works fine Clamd after about a day of using became DEFUNCT like this: clamav 31425 0.0 2.4 Jun17 0:00 /usr/local/sbin/clamd clamav 31426 0.0 2.4 Jun17 0:00 /usr/local/sbin/clamdDefunct clamav 31427 0.0 2.4 Jun17 0:00 /usr/local/sbin/clamd I compiled all with this option: ./configure --enable-milter --disable-bzip2 --disable-urandom --enable-id-check --disable-clamuko --enable-debug --enable-bigstack clamav-milter has this log: recv: Connection reset by peer clamfi_close clamfi_eom: read nothing from clamd clamfi_abort clamav-milter: clamav-milter.c:1029: clamfi_cleanup: Assertion `privdata != ((void *)0)' failed. My clamd.conf is: LogFile /var/log/clamd.log LogSyslog LogVerbose PidFile /var/clamav/clamd.pid DataDirectory /var/lib/clamav LocalSocket /var/clamav/clamd.sock StreamSaveToDisk MaxThreads 10 ThreadTimeout 86400 # Timeout is so big because 128K/s Max:Very Slow MaxDirectoryRecursion 15 User clamav ScanMail ScanArchive ArchiveMaxFileSize 10M ArchiveMaxRecursion 5 ArchiveMaxFiles 1000 Could any one help? Why clamd crash after hours of using? (in the three last snapshot) NB: during using time, clamav works very fine.. I will be very happy to do it work all the time. Thanks in advance, DUBOIS David. Ps: sorry for my lacks of language, i'm french. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: [clamav-users] Problem with clamd...
I compiled all with this option: ./configure --enable-milter --disable-bzip2 --disable-urandom --enable-id-check --disable-clamuko --enable-debug --enable-bigstack Did I read that --enable-bigstack is only meant for BSD systems because of the mbox code??? I tried many compilation option, because clamd crash.. I didn't read that. I will remove this option next compilation. LogVerbose PidFile /var/clamav/clamd.pid DataDirectory /var/lib/clamav LocalSocket /var/clamav/clamd.sock Is /var/clamav owned by the clamav_user:clamav_group ??? If not then clamav will not run, because it cannot write its socket to that place. I see that your data directory is /var/lib/clamav. I would change the LocalSocket to point there too.. That may not be the point ofyour problem, but one thing that I realized is that I had to allow clamav to run as the MTA user, so that it has privileges to scan the mail files.. I use it for a sendmail box. /var/clamav is owned by clamav:clamav Clamd starts and works fine but after using time (Milter/Clamd) it crashes... David. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: [clamav-users] Problem with clamd...
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Did I read that --enable-bigstack is only meant for BSD systems because of the mbox code??? No. --enable-bigstack is needed for all uses of clamav on FreeBSD. - -Nigel -BEGIN PGP SIGNATURE- Version: GnuPG v1.2.1 (GNU/Linux) iD8DBQE+8BbpOv/MqfDWaY8RAsNyAKC8tTMhapqOKThYHbLLAzQ5TWxuFQCggzdI 3hbLycGcsgl8mk/5WY8QsjM= =iFl1 -END PGP SIGNATURE- - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: [clamav-users] Problem with clamd
Does anybody have any ideas? Wouter -Oorspronkelijk bericht- Van: Wouter de Vries [mailto:[EMAIL PROTECTED] Verzonden: maandag 28 april 2003 11:24 Aan: [EMAIL PROTECTED] Onderwerp: RE: [clamav-users] Problem with clamd Hello all, After that, nothing happens.. I've looked up the clamd log files, but it doesn't mention anything about e-mails getting scanned :( . I don't see any errors either. Does PS say if it's running? Does your version include the stack size fix for BSD? Wouter de Vries -Nigel (currently in India so please be patient if it takes some time for me to answer messages) Yes, it shows up in ps, and I used the openbsd port which can be found here: http://activeintra.net/openbsd/article.php?id=5 So I guess the fix is in it (the creator said he didn't had any problems). Wouter de Vries - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: [clamav-users] Problem with clamd
Hello all, After that, nothing happens.. I've looked up the clamd log files, but it doesn't mention anything about e-mails getting scanned :( . I don't see any errors either. Does PS say if it's running? Does your version include the stack size fix for BSD? Wouter de Vries -Nigel (currently in India so please be patient if it takes some time for me to answer messages) - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
[clamav-users] Problem starting clamd
Hello, I installed ClamAV-0.54 today, copied the /usr/local/etc/clamav.conf-dist file to /usr/local/etc/clamav.conf, but when I execute clamd, it returns me an error. # clamd ERROR: Please edit the example config file /usr/local/etc/clamav.conf. ERROR: Can't parse the config file /usr/local/etc/clamav.conf I have also edited the clamav.conf file and made some changes but it still give me the same error. I didn't find anything on log files that say me what line of the file is wrong. Any help would be appreciated. Thank's Ronan - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]