PDA

View Full Version : Upgrade to clamav 0.90


carolus555
02-18-2007, 11:27 PM
Did anyone get this error too in maillog "clamdscan: corrupt or unknown clamd scanner error or memory/resource/perms problem - exit status 40" when update to clamav 0.90 ??
Please help me to solve this problem. Thanks

DrKillPatient
02-19-2007, 12:34 PM
Server=fedora 6 latest patches
I have the followign clam packages installed (not .90), but....


rpm -q -a | grep clam
clamav-data-0.88.7-1.fc6
clamav-server-sysv-0.88.7-1.fc6
clamav-0.88.7-1.fc6
clamav-update-0.88.7-1.fc6
clamav-devel-0.88.7-1.fc6
clamav-server-0.88.7-1.fc6
clamav-lib-0.88.7-1.fc6


Another user, Neural, posted the following, which solved my problem


Neural posted this. It worked for me.

"I had the same problem and figured it out. After upgrading ClamAV I forgot to run a key step in Step 14

mv /usr/bin/clamdscan /usr/bin/clamdscan.orig

ln -s /usr/bin/clamscan /usr/bin/clamdscan

After doing that the test installation script worked fine."

carolus555
02-19-2007, 11:44 PM
Server=fedora 6 latest patches
I have the followign clam packages installed (not .90), but....


rpm -q -a | grep clam
clamav-data-0.88.7-1.fc6
clamav-server-sysv-0.88.7-1.fc6
clamav-0.88.7-1.fc6
clamav-update-0.88.7-1.fc6
clamav-devel-0.88.7-1.fc6
clamav-server-0.88.7-1.fc6
clamav-lib-0.88.7-1.fc6


Another user, Neural, posted the following, which solved my problem


Neural posted this. It worked for me.

"I had the same problem and figured it out. After upgrading ClamAV I forgot to run a key step in Step 14

mv /usr/bin/clamdscan /usr/bin/clamdscan.orig

ln -s /usr/bin/clamscan /usr/bin/clamdscan

After doing that the test installation script worked fine."
Additional information, I use Slack 10 and when upgrading clamav I already run all step in step 14, but the error still show up.

hal9000
02-20-2007, 11:46 AM
I had this problem too, once, and it was due to wrong permissions.

in /etc/clamd.conf, there is a line User: xxx. make sure the binary is executable by whatever user you set there.

also, the database files must be readable by that user, so e.g. if the user is qscand, chown -R qscand:qscand /var/lib/clamav.

also note that the qmailrocks install instructions for clamav on slackware seem to be a little odd: use the clamscan utility, which is the non-daemonized version of Clam Antivirus. The most thorough way to ensure that clamdscan is 100% bypassed it to simple remove the real clamdscan and replace it with a simply symlink to clamscan. this is pretty stupid. see http://qmail.jms1.net/clamav-qms.shtml on how to fix this.

carolus555
02-28-2007, 09:54 PM
I had this problem too, once, and it was due to wrong permissions.

in /etc/clamd.conf, there is a line User: xxx. make sure the binary is executable by whatever user you set there.

also, the database files must be readable by that user, so e.g. if the user is qscand, chown -R qscand:qscand /var/lib/clamav.

also note that the qmailrocks install instructions for clamav on slackware seem to be a little odd: this is pretty stupid. see http://qmail.jms1.net/clamav-qms.shtml on how to fix this.
Thank you. But I still confused cause I'm newbie and using qmailrocks installation. Do you use qmailrocks installation too? If yes, can you give the step by step to solve this problem? Thanks again.

w0ls0n
02-28-2007, 11:08 PM
That message shows up hundreds of times both in google and the forums

http://www.goodcleanemail.com/kb.php?ToDo=view&questId=27&catId=4

its more than likely clamav

lalu
03-02-2007, 03:36 AM
after i upgrade my qmailrock with clamav 0.90, my email work well but every night i get this error.
--------------------- clam-update Begin ------------------------

The ClamAV updated process was started 1 time(s)

Last ClamAV update process started at Mon Feb 26 01:25:01 2007

Last Status:
main.cvd is up to date (version: 42, sigs: 83951, f-level: 10, builder: tkojm)
ERROR: chdir_inc: Can't create directory daily.inc
WARNING: Incremental update failed, trying to download daily.cvd
ERROR: getfile: Can't create new file ./clamav-330b5ed83b30c319a662424bb4d724d5
in /var/lib/clamav
Hint: The database directory must be writable for UID 511 or GID 511
ERROR: Can't download daily.cvd from db.id.clamav.net

---------------------- clam-update End -------------------------
and i had tried this but no luck
That message shows up hundreds of times both in google and the forums

http://www.goodcleanemail.com/kb.php...tId=27&catId=4

its more than likely clamav

any suggestion will very appreciate
Thanks

parsec
03-05-2007, 10:27 PM
Simple. Delete any of the "daily" files in /var/lib/clamav and then run the update again.

There is simply a file in there it doesn't like. Note: 90.1 of clamav is out now.

carolus555
03-07-2007, 09:43 PM
Anyone had installed qmail using qmailrocks and slackware (because all the solution given using redhat or fedora / rpm things), that already solve the problem when upgrade to clamav 0.90 or 0.90.1? Please help me with more detail solution to solve the problem. Thanks.

carolus555
04-19-2007, 05:51 AM
Anyone had installed qmail using qmailrocks and slackware (because all the solution given using redhat or fedora / rpm things), that already solve the problem when upgrade to clamav 0.90 or 0.90.1? Please help me with more detail solution to solve the problem. Thanks.

I STILL NEED HELP!!! How to upgrade my clamav from 0.87 to 0.90/0.90.1 :confused: :( :???:

w0ls0n
04-19-2007, 07:11 AM
Hi,

Just download the new clamav source and read the INSTALL or README. That simple.

THX
04-22-2007, 08:48 AM
carolus555, Same trouble here with a standard QMR install. 'upgraded' from 0.88.5 to 0.90.2

Here is what I did:
from the old install directory make uninstall
After installing 0.90.2 from QMR part 14
copy the /etc/clamd.conf and /etc/freshclam.conf from the install directory.
follow the QMR part 14 directions, edit the clamd.conf
from the QMR maintenance page for Slackware: setuidgid qscand /var/qmail/bin/qmail-scanner-queue.pl -z

In /var/qmail/bin/qmail-scanner-queue.pl Remove --mbox from the end of clamscan_options= and clamdscan_options=
mine look like this:
my $clamscan_options="-r -m --unzip --unrar --unzoo --lha --disable-summary --max-recursion=10 --max-space=100000";
my $clamdscan_options="-r --disable-summary --max-recursion=10 --max-space=100000";

qmailctl reload
qmailctl restart

carolus555
05-01-2007, 07:33 AM
carolus555, Same trouble here with a standard QMR install. 'upgraded' from 0.88.5 to 0.90.2

Here is what I did:
from the old install directory make uninstall
After installing 0.90.2 from QMR part 14
copy the /etc/clamd.conf and /etc/freshclam.conf from the install directory.
follow the QMR part 14 directions, edit the clamd.conf
from the QMR maintenance page for Slackware: setuidgid qscand /var/qmail/bin/qmail-scanner-queue.pl -z

In /var/qmail/bin/qmail-scanner-queue.pl Remove --mbox from the end of clamscan_options= and clamdscan_options=
mine look like this:
my $clamscan_options="-r -m --unzip --unrar --unzoo --lha --disable-summary --max-recursion=10 --max-space=100000";
my $clamdscan_options="-r --disable-summary --max-recursion=10 --max-space=100000";

qmailctl reload
qmailctl restart

Thank you very much THX at last. You are my saviour :)