Koozali.org: home of the SME Server

Loosing Bandwidth & ClamAV OUTDATED problem

Offline Luis Noriega

  • *
  • 14
  • +0/-0
Re: Loosing Bandwidth & ClamAV OUTDATED problem
« Reply #15 on: October 15, 2008, 08:14:15 PM »
Stefano!
I've done what you told me.

1) The command:
Code: [Select]
rpm -qa | grep clamreturned nothing.

2) I've ran the antivirus_install.sh maybe 30 min ago, and the server returns
Code: [Select]
Installing ClamAntiVirus on SME Server 6.0 ....A lot of time, no?

3) I'll be waiting more, but I have a doubt: the installer (antivirus_install.sh) insists that the file is an upgrade so it needs to have a previous version installed on the server... and we have uninstalled it by using the command rpm...
Could this causes problems?

Thanks again.

Offline Stefano

  • *
  • 10,894
  • +3/-0
Re: Loosing Bandwidth & ClamAV OUTDATED problem
« Reply #16 on: October 15, 2008, 08:35:48 PM »
Luis..

what kind of connection to internet do you have?

clamav rpms are about 19 mb..

if you have any doubt about what's going on, you can kill the script, delete temporary dir created in /root and then run it again with
Code: [Select]
sh -x antivirus_install.sh

HTH
Ciao
Stefano

Offline CharlieBrady

  • *
  • 6,918
  • +3/-0
Re: Loosing Bandwidth & ClamAV OUTDATED problem
« Reply #17 on: October 16, 2008, 02:52:09 PM »
Stefano!
Right now I've just did what Knudsen says on his page (http://sme.swerts-knudsen.dk/index.html?frame=http%3A//sme.swerts-knudsen.dk/howtos/howto_22.htm)
The screen says:

Code: [Select]
clamav-es-0.80-es02
clamav-es-libs-0.80-es02 being uninstalled to prepare for upgrade....
Shutting down clamd:                        [     [color=green]OK[/color]     ]
warning: /etc/freshclam.conf saved as /etc/freshclam.conf.rpmsave
warning: /etc/clamd.conf saved as /etc/clamd.conf.rpmsave
Uninstall of ClamAV successful...
Downloading RPMs from
/clamav-es-libs-0.92.1-es01.i386.rpm: Unsupported scheme.
/clamav-es-0.92.1-es01.i386.rpm: Unsupported scheme.
/perl-MailTools-1.61-1.i386.rpm: Unsupported scheme.
/amavis-qmail.path: Unsupported scheme.
antivirus_install.sh: amavis-qmail.path: No such file or directory.
/amavis_clamd.path: unsupported scheme.
Antivirus_install.sh: amavis_clamd.path: No such file or directory
Default mirror alredy configured.
MKdir: Cannot create directory '/var/log/clamav': File exists
ERROR: No templates were found for /etc/freshclam.conf.at/sbin/e-smith/expand-template line 49
ERROR: No templates were found for /etc/clamd.conf.at/sbin/e-smith/expand-template line 49
antivirus_install.sh: /etc/init.d/clamd: No such file or directory
updating the Clamd Virus Database - please wait...
Antivirus_install.sh: /usr/bin/freshclam: no such file or directory
updating the automatic update site to new defaults...
Instalation failed, exiting.
All downloaded files are located in /root/antivirus_install

What happened? Did I did something wrong?
What can I do?
Thanks.
Luis.

Quite a lot of things went wrong. It's obvious that that script doesn't check carefully enough for commands which haven't worked. And it also does some thing unnecessarily or wrongly (e.g. creating /var/log/clamav). I'd advise you not to use this script, and to upgrade to SME 7.3 instead.

Offline Luis Noriega

  • *
  • 14
  • +0/-0
Re: Loosing Bandwidth & ClamAV OUTDATED problem
« Reply #18 on: October 16, 2008, 05:26:07 PM »
Stefano!
1) Mi homework is done! All the files are on the server.
2) Finally I met the guy who installed my friend's SME Server. He told me that he will come today to make an upgrade to SME 7.3... But as a good mexican, it is possible that he would come maybe on the next year...
So i'm ready to continue working on the ClamAV upgrading...
3) See you later.
Luis.