Koozali.org: home of the SME Server

Clamav install bug?

Andy

Clam AV Install bug
« Reply #15 on: October 28, 2004, 10:16:49 PM »
After installing this I got the error when trying to make changes in the server panel. I also found that when trying to do a "service clamd restart" it reported that there was no service of that name. I found that the file /etc/rc.d/init.d/clamd was not set to be an executable. I made the changes and now clam functioned correctly.

Andy Parkinson

Offline compdoc

  • *
  • 225
  • +0/-0
Clamav install bug?
« Reply #16 on: October 29, 2004, 12:42:09 AM »
Whenever I make a change in the panel and get the error, a clamd stop, clamd start, and clamd --config-file=/etc/clamd.conf  gets it going again for me...

Offline mrjhb3

  • *
  • 1,188
  • +0/-0
    • John Bennett Services
Clamav install bug?
« Reply #17 on: October 29, 2004, 02:42:34 AM »
Quote from: "compdoc"

The error occurs when I change scan incoming mail or scan outgoing mail to yes or no. Also when changing Scheduled filesystem scanning.

Then emails start being quarantined again...

Think its pretty much any change except releasing/deleting quarantined mail that causes the Operation status report error...



I can confirm as well.  Here is the deal.

In /etc/rc.d/init.d  clamd is set to 644 I changed it to 755 to match the majority of the other files in that directory and it works fine now.

Do this as root - chmod 755 /etc/rc.d/init.d/clamd
then go back to server manager and make your changes, and you should be good to go.

I will re-install on a fresh system yet again just to be sure.  If I don't post anything new, then I got the same results.

JB
......

Offline mrjhb3

  • *
  • 1,188
  • +0/-0
    • John Bennett Services
Clamav install bug?
« Reply #18 on: October 29, 2004, 03:46:37 AM »
Just did a new install again.  Knuddi, you tried to throw me a fast one, didn't you.  Changing the script mid-test  :-) .

Found the last issue.

clamav-es installs etc/rc.d/ini.d/clamd.  It has the proper rights.  The most latest install has this:
# fix a little bug until I release a new ame-antivirus RPM
sed -e "s/clamav/clamd/" /etc/rc.d/init.d/clamd > new_clamd
mv -f new_clamd /etc/rc.d/init.d/clamd

If you add this line next:
chmod 755 /etc/rc.d/init.d/clamd

Then everything is all good.

Jesper, thanks for your efforts once again.

JB
......

Offline compdoc

  • *
  • 225
  • +0/-0
Clamav install bug?
« Reply #19 on: November 02, 2004, 02:59:55 AM »
The good folks (folk?) at sme.swerts-knudsen.dk have fixed all the problems with a new version of the install.

It will remove the existing, install the new, and fix all the problems...