[clamav-users] Help With clamscan vs clamdscan

Maarten Broekman maarten.broekman at gmail.com
Mon Aug 20 11:04:01 UTC 2018


Check the logs and config files.
Clamscan loads the databases itself before running. It does not need clamd to be running in order to work.

Clamdscan attempts to use a socket to talk with clamd for the scanning of files. If there is an error, one of two things is happening:
Either the permissions on the socket aren’t allow clamdscan (as you) to use it,
Or clamd isn’t listening on it.

Maarten

Sent from a tiny keyboard

> On Aug 20, 2018, at 06:55, Michael Newman <mgnewman at mac.com> wrote:
> 
> Mac 10.13.6
> 
> clamd is running:
> 
> MrMuscle:~ mnewman$ ps -A | grep -m1 clamd
> 31610 ??         0:10.14 clamd
> 
> When I run clamscan it works and detects a known problem.
> 
> But, when I run clamdscan on the same directory, it just instantly stops without scanning.
> 
> What have I done wrong?
> 
> MrMuscle:~ mnewman$ clamscan -i ~/bin
> /Users/mnewman/bin/wacaw: Osx.Malware.Agent-1760787 FOUND
> 
> ----------- SCAN SUMMARY -----------
> Known viruses: 6615382
> Engine version: 0.100.1
> Scanned directories: 1
> Scanned files: 58
> Infected files: 1
> Data scanned: 0.24 MB
> Data read: 0.18 MB (ratio 1.30:1)
> Time: 10.544 sec (0 m 10 s)
> 
> MrMuscle:~ mnewman$ clamdscan -i ~/bin
> 
> ----------- SCAN SUMMARY -----------
> Infected files: 0
> Total errors: 1
> Time: 0.000 sec (0 m 0 s)
> _______________________________________________
> clamav-users mailing list
> clamav-users at lists.clamav.net
> http://lists.clamav.net/cgi-bin/mailman/listinfo/clamav-users
> 
> 
> Help us build a comprehensive ClamAV guide:
> https://github.com/vrtadmin/clamav-faq
> 
> http://www.clamav.net/contact.html#ml



More information about the clamav-users mailing list