[clamav-users] Version 0.98.3 fails on Solaris
Martin Preen
preen at informatik.uni-freiburg.de
Thu May 8 15:52:52 UTC 2014
Shawn Webb wrote:
> On Thu, May 8, 2014 at 11:13 AM, Martin Preen <
> preen at 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.
It is OpenSSL 1.0.1g
and Sun C 5.11 SunOS_sparc 2010/08/13
with CFLAGS='-xtarget=ultra -xO4'.
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 preen at informatik.uni-freiburg.de
fax: ++49 761 203-8242 swt.informatik.uni-freiburg.de/staff/preen
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 4879 bytes
Desc: S/MIME Cryptographic Signature
URL: <https://lists.clamav.net/pipermail/clamav-users/attachments/20140508/36a8bd61/attachment.bin>
More information about the clamav-users
mailing list