David Suen wrote:

> I got the following message from cron job sometimes:
> 
> ERROR: Parse error at line 1: Unknown option ELF.
> ERROR: Clamd was NOT notified: Can't find or parse configuration file
> /usr/local/sbin/clamd
  ^^^^^^^^^^^^^^^^^^^^^
This is not the configuration file, obvioulsy.

What do you have in your cron command?

> Looks like when the clamd restarted after the virus data is updated :(

No, nothing like that.  It looks like you have messed up your configuration,
something like adding to the crontab "freshclam
--config-file=/usr/local/sbin/clamd" or adding to /etc/freshclam.conf
"OnUpdateExecute /usr/local/sbin/clamd --config-file=/usr/local/sbin/clamd".

Check your configuration.
-- 
René Berber

_______________________________________________
http://lurker.clamav.net/list/clamav-users.html

Reply via email to