Shawn Webb wrote:
On Thu, May 8, 2014 at 11:13 AM, Martin Preen < pr...@informatik.uni-freiburg.de> wrote:Hello, after building 0.98.3 on Solaris 10 (Sparc) I got some error messages from freshclam. The first run: ERROR: Corrupted database file /var/clamav/main.cvd: Can't allocate memory Corrupted database file renamed to /var/clamav/main.cvd.broken ERROR: Corrupted database file /var/clamav/daily.cld: Malformed database Corrupted database file renamed to /var/clamav/daily.cld.broken ERROR: Corrupted database file /var/clamav/bytecode.cld: Malformed database Corrupted database file renamed to /var/clamav/bytecode.cld.broken Any subsequent run: Downloading main.cvd [100%] LibClamAV debug: Initialized 0.98.3 engine LibClamAV debug: in cli_cvdload() LibClamAV debug: cli_cvdverify: Cannot generate hash, out of memory LibClamAV debug: Cleaning up phishcheck LibClamAV debug: Phishcheck cleaned up ERROR: Verification: Can't allocate memory There is enough memory and up to version 0.98 there was never any memory problem or similar messages. How can one resolve this ? Regards, MartinHey Martin, Is there a way you can get to me main.cvd.broken? I'm wondering if the change to OpenSSL for hashing has somehow changed parsing CVDs and CLDs on big-endian machines running Solaris. I thoroughly tested the code on a sparc64 machine (an old SunFire 280r) running FreeBSD 9.2 successfully. To help me debug the issue: what version of OpenSSL do you have installed? Can you give me the output of the clamdconf command (preferably to a pastebin service)? Can you give me (again, pastebin) the output of your config.log? I can install Solaris on this sparc64 machine as early as next week.
I'll send you an URL for downloading main.cvd.broken. Martin ---------------------------------------------------------------------- Martin Preen, Universität Freiburg, Institut für Informatik Georges-Koehler-Allee 52, Raum EG-006, 79110 Freiburg, Germany phone: ++49 761 203-8250 pr...@informatik.uni-freiburg.de fax: ++49 761 203-8242 swt.informatik.uni-freiburg.de/staff/preen
smime.p7s
Description: S/MIME Cryptographic Signature
_______________________________________________ Help us build a comprehensive ClamAV guide: https://github.com/vrtadmin/clamav-faq http://www.clamav.net/support/ml