Koozali.org: home of the SME Server

Problem with Clam AV after automatic update

Offline SoundSailor

  • **
  • 22
  • +0/-0
    • http://www.mincocorp.com
Problem with Clam AV after automatic update
« on: June 21, 2005, 01:56:03 PM »
This morning after an automatic update using the
Swerts-Knudsen version, Clam AV isn't working.

Here's the update message:

Quote
The following updates were downloaded and installed:
  - clamav-es-0.86-es01.i386.rpm
  - clamav-es-libs-0.86-es01.i386.rpm

regards,
The Automatic Clam Antivirus updater


I also got this (probably related):

Quote
Shutting down clamd: [   OK   ]
##################################################
#####error: unpacking of archive failed on file /usr/lib/libclamav.so.1.0.14;42b7a061: cpio: read
error: unpacking of archive failed on file /usr/bin/clamscan;42b7a061: cpio: read failed - Bad file descriptor
Starting clamd: clamd: error while loading shared libraries: libclamav.so.1: cannot open shared object file: No such file or directory
[ FAILED ]


Now I'm getting this when Clam tries to update:

Quote
/usr/bin/freshclam: error while loading shared libraries: libclamav.so.1: cannot open shared object file: No such file or directory


All incoming mail is put into the problems folder.

Offline SoundSailor

  • **
  • 22
  • +0/-0
    • http://www.mincocorp.com
Problem with Clam AV after automatic update
« Reply #1 on: June 21, 2005, 01:57:57 PM »
I downloaded the two rpms and installed them manually. Things appear to be better now.

Offline Brenno

  • *****
  • 208
  • +0/-0
Problem with Clam AV after automatic update
« Reply #2 on: June 21, 2005, 03:04:22 PM »
SoundSailor, check this thread out:

http://forums.contribs.org/index.php?topic=27841.msg115372#msg115372

You're not the only one affected, nor is the problem limited to ClamAV.

For now, recommend setting both SpamAssassin and ClamAV updates to "download and warn" instead of "download and install."

Offline stiperstones

  • *
  • 177
  • +0/-0
    • http://www.stiperstones.com
Quick way to reinstall clamav
« Reply #3 on: June 21, 2005, 09:29:59 PM »
This will reinstall clamav
using putty or teminal
log into your server root
Code: [Select]
mkdir clamav
Code: [Select]
cd clamav
issue this command
Code: [Select]
wget http://sme.swerts-knudsen.com/downloads/AntiVirus/antivirus_install.sh
once downloaded issue this command
Code: [Select]
sh antivirus_install.sh
follow instructions as they appear on screen

to be on the safe side open you http://your-server-name/server-manager go to antivirus page and click on save at the bottom of page and this will restart clamav
Stiperstones

http://wiki.contribs.org/Koozali_Foundation
Try the Wiki some great how's there

"My Licence".........

Don't report security issues here - Contact security at contribs dot org
Don't report problems here - Please report bugs @ http://bugs.contribs.org/
Don't ask the same question twice - Please search the forums, your question may have been asked before - Thank You.

Offline SoundSailor

  • **
  • 22
  • +0/-0
    • http://www.mincocorp.com
Problem with Clam AV after automatic update
« Reply #4 on: June 21, 2005, 09:52:55 PM »
Thanks stiperstones.

That's how I installed in the first place. The issue had to do with the automatic updates. I suspect that Jesper's site had its bandwidth saturated when everyone tried to automatically update at once. That caused my download to time out and thus the errors. Perhaps we need to find a way to disperse the timing of automatic updates so we don't get this kind of overload. Or a mirror?

Offline stiperstones

  • *
  • 177
  • +0/-0
    • http://www.stiperstones.com
Problem with Clam AV after automatic update
« Reply #5 on: June 21, 2005, 10:00:20 PM »
yes might be an idea to contact knuddi to make a small change to the server panel as we can choose our own time to install updates.
Stiperstones

http://wiki.contribs.org/Koozali_Foundation
Try the Wiki some great how's there

"My Licence".........

Don't report security issues here - Contact security at contribs dot org
Don't report problems here - Please report bugs @ http://bugs.contribs.org/
Don't ask the same question twice - Please search the forums, your question may have been asked before - Thank You.

Offline william_syd

  • *****
  • 1,608
  • +0/-0
  • Nothing to see here.
    • http://www.magicwilly.info
Re: Problem with Clam AV after automatic update
« Reply #6 on: June 22, 2005, 04:41:32 PM »
Quote from: "SoundSailor"

All incoming mail is put into the problems folder.


How do I get the mail out of the problems folder and delivered to users ?

Thanks,
William.
Regards,
William

IF I give advise.. It's only if it was me....

Offline william_syd

  • *****
  • 1,608
  • +0/-0
  • Nothing to see here.
    • http://www.magicwilly.info
Re: Problem with Clam AV after automatic update
« Reply #7 on: June 22, 2005, 04:56:39 PM »
I may of just found my answer in the antivirus control panel.

If I select deliver all, do they still pass through the spamfilter and procmail?

Regards,
William.


--EDIT--
Just tried it with a few emails and yes they do go through the filters etc.  Now to do the whole lot.
--EDIT--

--EDIT--
Done the lot. They didn't go through the spamfilter but were delivered to the correct folders except junkmail.
--EDIT--



Quote from: "william_syd"
Quote from: "SoundSailor"

All incoming mail is put into the problems folder.


How do I get the mail out of the problems folder and delivered to users ?


Thanks,
William.
Regards,
William

IF I give advise.. It's only if it was me....