ClamWin Free Antivirus Forum Index
ClamWin Free Antivirus
Support and Discussion Forums
Reply to topic
ClamAV Centos7 Run as user
PascalSc


Joined: 27 Sep 2017
Posts: 1
Reply with quote
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
View user's profileSend private message
GuitarBob


Joined: 09 Jul 2006
Posts: 4279
Location: USA
Reply with quote
If you are using Clam AV for Linux, we can not help you here. These forums are devoted to the use of ClamWin for Windows. ClamWin uses the Clam AV scan engine (via a Windows port of the Linux source code) and virus signatures, but it is a different project. I suggest you contact Clam AV and/or a Clam AV user group for assistance--check on the web.

Regards,
View user's profileSend private message
ClamAV Centos7 Run as user
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
All times are GMT  
Page 1 of 1  

  
  
 Reply to topic