ClamAV Daemon ubuntu

2

Estou tentando instalar o ClamAV no Ubuntu de acordo com as instruções em

  

blog.dutchcoders.io/installing-clamav-from-source /

Tudo funcionou perfeitamente, exceto o último passo, ou seja,

  

clamd & amp;

Quando eu executo o comando acima, ele está mostrando

  

ERRO: Por favor, defina o tipo de servidor (local e / ou TCP).

Quando eu usei o comando

  

sudo clamdscan -v

Eu tenho a saída como

  

ERRO: Não foi possível procurar: nome do serviço não suportado por ai_socktype

     

----------- RESUMO DA DIGITALIZAÇÃO -----------

     

Arquivos infectados: 0

     

Total de erros: 1

     

Tempo: 0,000 seg (0 m 0 s)

Eu segui todas as soluções em Erro ao iniciar o daemon do ClamAV Mas não há esperança. Existe alguma outra maneira de resolver isso?

    
por Vanns 12.04.2016 / 10:43

1 resposta

0

Editando o clamd.conf como abaixo, o problema resolve

# Log additional information about the infected file, such as its
# size and hash, together with the virus name.
#ExtendedDetectionInfo yes

# This option allows you to save a process identifier of the listening
# daemon (main thread).
# Default: disabled
PidFile /var/run/clamd.pid

# Optional path to the global temporary directory.
# Default: system specific (usually /tmp or /var/tmp).
TemporaryDirectory /var/tmp

# Path to the database directory.
# Default: hardcoded (depends on installation options)
DatabaseDirectory /usr/local/share/clamav

# Only load the official signatures published by the ClamAV project.
# Default: no
#OfficialDatabaseOnly no

# The daemon can work in local mode, network mode or both. 
# Due to security reasons we recommend the local mode.

# Path to a local socket file the daemon will listen on.
# Default: disabled (must be specified by a user)
LocalSocket /tmp/clamd.socket

Agora, se eu digitar 'clamd & amp;' está mostrando

  

[3] 12859

Então 'serviço do sudo clamav-daemon start' mostra

  

[3] Feito clamd

Então 'clamdscan -v' mostra

  

/ usr / local / etc: OK

     

----------- RESUMO DA VERIFICAÇÃO -----------   Arquivos infectados: 0   Tempo: 0,017 seg (0 m 0 s)

Então 'clamdscan -V' mostra

  

ClamAV 0.99.1 / 21490 / Ter 12 de abril 08:04:23 2016

    
por Vanns 12.04.2016 / 12:21