When I run the following command:
sudo freshclam
If there are found to be updates to the virus definitions etc then at the end of the output comes this error message
ERROR: NotifyClamd: Can't find or parse configuration file /etc/clamav/clamd.conf
But if I run the command when there are no new updates available, then I don't receive this error message. Why am I getting this error message (as I have not got it before when running the same operations)? And can I fix the problem (if it needs fixing)?
I am running Ubuntu 14.10 and ClamAV (the latest version).
Information update:
This command:
ls -al /var/log/clamav/
Outputs:
total 124
drwxr-xr-x 2 clamav clamav 4096 Feb 22 11:14 .
drwxrwxr-x 15 root syslog 4096 Feb 24 18:26 ..
-rw-r----- 1 clamav adm 46790 Feb 24 18:31 freshclam.log
-rw-r----- 1 clamav adm 59109 Feb 22 11:14 freshclam.log.1
And this command:
more /etc/clamav/clamd.conf
Outputs:
/etc/clamav/clamd.conf: No such file or directory
I have also tried reinstalling clamav
, but I still get the same error when running sudo freshclam
.