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, > Martin > Hey 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. Thanks, Shawn _______________________________________________ Help us build a comprehensive ClamAV guide: https://github.com/vrtadmin/clamav-faq http://www.clamav.net/support/ml