再構築後、サービス類などを確認していると

以下のエラーを発見しました

ClamAV Daemon を起動中: LibClamAV Error: cli_loaddbdir(): No supported database files found in /var/lib/clamav
ERROR: Can't open file or directory

 

調査すると Clamdウィルス定義 が更新していないと

表示するエラーらしいです

ウィルス定義の更新方法

①.freshclam -v

freshclam -v と入力すると自動的に更新します。

更新すると違うエラーが表示しました

ERROR: Please edit the example config file /etc/freshclam.conf
ERROR: Can't open/parse the config file /etc/freshclam.conf

 

解決方法

①.vi /etc/freshclam.conf

freshclam.conf を修正します。

②.以下の内容をコメントアウトします。

# Comment or remove the line below.
# Example

Example をコメントアウトします。

③.freshclam -v

ウィルス定義ファイルが更新される事を確認します。

④./etc/init.d/clamd restart

Clamd を再起動します。