On 05/21/2010 05:17 PM, Török Edwin wrote: > On 05/21/2010 05:15 PM, Dennis Peterson wrote: >> On 5/21/10 12:16 AM, Török Edwin wrote: >>> On 05/21/2010 08:40 AM, Dennis Peterson wrote: >>>> On 5/20/10 10:27 PM, Dennis Peterson wrote: >>>>> While testing my build of 0.96.1 today I was alerted by a screen >>>>> message >>>>> on starting clamd that I had two bytecode files - compressed and >>>>> uncompressed. I removed the uncompressed file and restarted clamd. >>>>> Later >>>>> I checked the log to see if there was more information I could add to >>>>> logwatch and there was no reference at all of this event. I'm using >>>>> syslog. That is exactly the kind of information I'd expect to find in >>>>> the log and I guess I wonder why it wasn't there. So, why isn't it >>>>> there? >>>> >>>> >>>> And there's more to the story. In tracking down what happened above I >>>> ran freshclam from the command line and got this: >>>> >>>> $ freshclam >>>> ClamAV update process started at Thu May 20 22:39:04 2010 >>>> main.cld is up to date (version: 52, sigs: 704727, f-level: 44, builder: >>>> sven) >>>> daily.cld is up to date (version: 11061, sigs: 81529, f-level: 51, >>>> builder: acab) >>>> Downloading bytecode.cvd [100%] >>>> LibClamAV Error: cli_calloc(): Can't allocate memory (0 bytes). >>>> calloc_problem: Error 0 >>>> LibClamAV Error: Out of memory allocating operands >>> >>> I don't get this error, what OS/arch is this? >>> >>>> ERROR: Failed to load new database: Malformed database >>> >>> This message was in freshclam's log though, right? >> >> This is Solaris 9 on Sparc. > > OK, I'll do some tests on Solaris9/Sparc.
Seems to work here, can you please post the output of your clamconf -n? (I'm interested about everything that comes after 'Software settings'). Here are my settings: Software settings ----------------- Version: devel-clamav-0.96.1 Optional features supported: MEMPOOL IPv6 AUTOIT_EA06 BZIP2 RAR Database directory: /usr/local/share/clamav Platform information -------------------- OS: solaris2.9, ARCH: sparc, CPU: sparc Full OS version: Solaris 9 9/05 HW s9s_u9wos_06b SPARC zlib version: 1.2.4 (1.2.4), compile flags: 55 Build information ----------------- GNU C: 3.4.6 (3.4.6) CPPFLAGS: -I/home/edwin/check/include CFLAGS: -g -O2 CXXFLAGS: LDFLAGS: Configure: 'CC=/opt/csw/gcc3/bin/gcc' 'CPPFLAGS=-I/home/edwin/check/include' > > Is everything OK on Solaris10/Sparc? > >> It was copied from the screen. All that made >> it to the log was "Malformed Database". I removed the database and it >> loaded fine. But - I then downloaded the db with wget and checked it >> with clamscan -d bytecode.cvd and it failed there, too. I deleted the >> bytecode signatures (I'd already had problems with having both a cld and >> cvd file) and then I commented out bytecode support in the clamd and >> freshclam conf files. >> >> dp >> _______________________________________________ >> 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