These forums are locked and archived, but all topics have been migrated to the new forum. You can search for this topic on the new forum: Search for Getting error from Cron Deamon on the new forum.
I get an email message sent to my server admin email everyday.
It says:
ERROR: Please edit the example config file /etc/freshclam.conf. ERROR: Can't parse the config file /etc/clamd.conf
The subject of the message is:
"Cron <root@heavyhoster> usr/share/clamav/freshclam-sleep"
Any idea what I need to do to this "freshclam.conf" file ?
Thanks
You have clamav packages from some source other than us. We don't really recommend that, but if you're going to do so, you'll need to edit those files and remove the Example line.
--
Check out the forum guidelines!
I didn't know what these clamav packages were for,
so I googled it - seems it is antivirus sw.
I don't know where they came from !!
Quite likely they were on the VirtualMin Optional Package
list.
I notice that right now on my control panel I have 7
updates that I should implement and interestingly, the
first is this:
<div class='quote'>clamav End-user tools for the Clam Antivirus scanner 0.95.1-1.vm.el5
</div>
So - the question is - do you suggest that I somehow ( how ?)
remove this software ?
If so - what av protection will I have ?
Thanks for your help.
They <i>should</i> come from us, if you want them to work without hassle. But, I'm guessing you got them from somewhere else (since our packages have the "Example" line removed)...What clam packages are currently installed?
rpm -q clamav
--
Check out the forum guidelines!
I get:
clamav-0.94-3vm.el5
Is that from yourselves ?
I certainly have not downloaded it from anywhere else.
Thanks
Yes, that's ours. I have no idea how you ended up with an "Example" line, though. All of our packages have that line removed.
Note also that 0.95.1 is in our repos, and has been for a couple of weeks. You'll want to upgrade.
It probably won't fix the freshclam.conf issue, though, since RPM doesn't always replace configuration files (if any changes have been made to them they won't be replaced, and since the Example line exists, the file doesn't match what shipped with our earlier package, so it's unlikely to be changed automatically be RPM). Confused yet?
Just edit /etc/freshclam.conf and get rid of the line that says, "Example".
Also, the /etc/clamd.conf file should never be used for anything...it's a dummy file, intended to be copied and modified for service-specific clamd instances. Virtualmin creates a clamd-virtualmin service, and a clamd-virtualmin.conf file should exist, if you've turned on clamd in Virtualmin.
--
Check out the forum guidelines!
OK
I have edited the file,
I put a hash ( # ) in front of the word "example".
Is that all that was necassary ?
I have also updated the packages.
Checked the package and got this answer:
[root@heavyhoster ~]# rpm -q clamav
clamav-0.95.1-1.vm.el5
So - it should be OK now ?
Seems likely. Any more errors?
--
Check out the forum guidelines!
I noticed the same thing with a fresh download of vmpro just this month to replace a server. This on a Centos 5.3 machine.
rpm -q clamav reports clamav-0.95.1-1.vm.el5
Example was not commented out.
Egads. You're right. That's unbelievable. The EPEL repo version of clamav ships out with a broken config. Doesn't even make sense.
Fixing it now.
--
Check out the forum guidelines!