Eu não consigo fazer o daemon do ClamAV iniciar no meu servidor Ubuntu 14.04. Aqui está o que eu recebo quando tento iniciar o serviço:
sudo service clamav-daemon start
* Starting ClamAV daemon clamd [fail]
Quando tento executar o clamdscan
, aqui está o que obtenho
clamdscan test.jpg
ERROR: Could not lookup (null): Servname not supported for ai_socktype
----------- SCAN SUMMARY -----------
Infected files: 0
Total errors: 1
Time: 0.000 sec (0 m 0 s)
Quando executo o clamscan
normal no arquivo, tudo está bem:
clamscan test.jpg
test.jpg: OK
----------- SCAN SUMMARY -----------
Known viruses: 3708601
Engine version: 0.98.5
Scanned directories: 0
Scanned files: 1
Infected files: 0
Data scanned: 0.18 MB
Data read: 0.18 MB (ratio 1.02:1)
Time: 9.991 sec (0 m 9 s)
Aqui estão os pacotes que eu instalei relacionados ao ClamAV:
> dpkg -l | grep 'clam'
ii clamav 0.98.5+addedllvm-0ubuntu0.14.04.1 amd64 anti-virus utility for Unix - command-line interface
ii clamav-base 0.98.5+addedllvm-0ubuntu0.14.04.1 all anti-virus utility for Unix - base package
ii clamav-daemon 0.98.5+addedllvm-0ubuntu0.14.04.1 amd64 anti-virus utility for Unix - scanner daemon
ii clamav-freshclam 0.98.5+addedllvm-0ubuntu0.14.04.1 amd64 anti-virus utility for Unix - virus database update utility
ii libclamav6 0.98.5+addedllvm-0ubuntu0.14.04.1 amd64 anti-virus utility for Unix - library
Aqui está o conteúdo do link /etc/clamav/clamd.conf
Este é o conteúdo do link ll /var/run/