Dear sir/madam,
I have installed clamav on my centos 7 server with directadmin.
When i use the command: clamscan -r /home/admin on the user root everything works perfect.
But when i login as the admin user i get the following errors.
How can i use ClamAV on user level.
[admin@s01 /]$ clamscan -r /home/admin
LibClamAV Error: mpool_malloc(): Can't allocate memory (262144 bytes).
LibClamAV Error: hm_addhash_bin: failed to grow hash array to 104 entries
LibClamAV Error: cli_loadhash: Malformed hash string at line 900776
LibClamAV Error: cli_loadhash: Problem parsing database at line 900776
LibClamAV Error: Can't load daily.hsb: Can't allocate memory
LibClamAV Error: cli_tgzload: Can't load daily.hsb
LibClamAV Error: Can't load /var/lib/clamav/daily.cld: Malformed database
ERROR: Malformed database
----------- SCAN SUMMARY -----------
Known viruses: 3798
Engine version: 0.99.2
Scanned directories: 0
Scanned files: 0
Infected files: 0
Data scanned: 0.00 MB
Data read: 0.00 MB (ratio 0.00:1)
Time: 0.932 sec (0 m 0 s)
Regards Pascal
I have installed clamav on my centos 7 server with directadmin.
When i use the command: clamscan -r /home/admin on the user root everything works perfect.
But when i login as the admin user i get the following errors.
How can i use ClamAV on user level.
[admin@s01 /]$ clamscan -r /home/admin
LibClamAV Error: mpool_malloc(): Can't allocate memory (262144 bytes).
LibClamAV Error: hm_addhash_bin: failed to grow hash array to 104 entries
LibClamAV Error: cli_loadhash: Malformed hash string at line 900776
LibClamAV Error: cli_loadhash: Problem parsing database at line 900776
LibClamAV Error: Can't load daily.hsb: Can't allocate memory
LibClamAV Error: cli_tgzload: Can't load daily.hsb
LibClamAV Error: Can't load /var/lib/clamav/daily.cld: Malformed database
ERROR: Malformed database
----------- SCAN SUMMARY -----------
Known viruses: 3798
Engine version: 0.99.2
Scanned directories: 0
Scanned files: 0
Infected files: 0
Data scanned: 0.00 MB
Data read: 0.00 MB (ratio 0.00:1)
Time: 0.932 sec (0 m 0 s)
Regards Pascal