Get your server issues fixed by our experts for a price starting at just 25 USD/Hour. Click here to register and open a ticket with us now!

Author Topic: Resolve ClamAV Database update error in cPanel  (Read 1983 times)

0 Members and 1 Guest are viewing this topic.

aneeshs

  • Guest
Resolve ClamAV Database update error in cPanel
« on: September 29, 2017, 02:32:48 am »

ClamAV is an open source email scanning program that has an antivirus engine for detecting trojans, viruses, malware & other malicious threats in emails. ClamAV databases are updated with the ‘freshclam’ tool and in certain cases of its ailure or if ClamAV database update is restricted in the server, a waring is generated as follows:
Code: [Select]
WARNING: update of clamav database is disabled; please see
‘/etc/sysconfig/freshclam’
for information how to enable the periodic update resp.

The resolve this issue, edit the freshclam configuration file (/etc/sysconfig/freshclam) and remove the last line (REMOVE ME)
Code: [Select]
# vi /etc/sysconfig/freshclam

Code: [Select]
## ‘disabled-warn’  …  disables the automatic freshclam update and
##                         gives out a warning
## ‘disabled’       …  disables the automatic freshclam silently
# FRESHCLAM_DELAY=
### !!!!! REMOVE ME !!!!!!
### REMOVE ME: By default, the freshclam update is disabled to avoid
### REMOVE ME: network access without prior activation
FRESHCLAM_DELAY=disabled-warn   
# REMOVE ME

Once it is done, performing a manual update will fix the issue once and for all.

:)