Red Hat / Fedora :: Trying To Upgrade ClamAV - RPM?
May 26, 2010
I am trying to upgrade my clam AV to latest 0.9.6.1. Last times I just uploaded to the server and used RPM command and it was installing. Now I cant find RPM for this ver. So I guess I need to prepare one.
I used the guide here:
Packaging software with RPM, Part 1: Building and distributing packages
by IBM
Changing all wget -> clamav
But when run this I got:
# rpmbuild -v -bb --clean clamav.spec
Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.74542
+ umask 022
+ cd /home/myclamav/BUILD
+ cd /home/myclamav/BUILD
+ rm -rf clamav-0.96.1
+ /bin/gzip -dc /home/myclamav/SOURCES/clamav-0.96.1.tar.gz
+ tar -xf -
+ STATUS=0
+ '[' 0 -ne 0 ']'
+ cd clamav-0.96.1
++ /usr/bin/id -u
+ '[' 0 = 0 ']'
+ /bin/chown -Rhf root .
++ /usr/bin/id -u
+ '[' 0 = 0 ']'
+ /bin/chgrp -Rhf root .
+ /bin/chmod -Rf a+rX,u+w,g-w,o-w .
+ $'
'
: command not found542: line 35:
error: Bad exit status from /var/tmp/rpm-tmp.74542 (%prep)
RPM build errors:
Bad exit status from /var/tmp/rpm-tmp.74542 (%prep)
Is there a better way to create RPMs? or Where do I get RPM for this version? I couldn't find it through their site.
I have a server im trying to use with clamAV to scan it all and with cron job. it worked fine for few days, sending me emails with reports, i was happy. now i get ERR emails and when running manually i get the follwing message output: Script: clamav-cron v. 0.6 - Copyright 2009, Stefano Stagnaro Scanned: /
what a horrendous piece of software. Ive been at it 3 days trying to do something that ought to be simple and everytime i solve one problem another problem arises. at first I removed the old clamav 9.5 or something. I got the latest ubuntu release btw, and Clamav used to work when i first installed it in the previous ubuntu release. anyway, it asked me to upgrade, so since synaptic doesnt have the latest, i downloaded from sourceforge. I did the whole ./configure gave me errors like need build-essentials-- which i then did, error: need zlib.dv--- I did that one too. Now two more errors that i need to fix so I can compile it.
I am running Zimbra 5.0.2 with ClamAV and I need to upgrade clam anti virus. It's for a Centos 5.4, Dell PE 2950 machine. On their Wiki for upgrades at [URL]. They recommended either of the Red hat versions - Redhat 5.x 32-bit or the Redhat 5.x 64-bit. Are there any known problems using either of these two versions on my Centos machine? Also, want to make sure, I am assuming I need the 32 bit version, is this correct? I am asking because in the past I have learned sometimes it's better to not go with the RH versions on Centos, can't remember where I heard that, so I want to make sure before I do the install.
I am semi new to UBUNTU worked a bit with it in the passed on vps and that. but i am currentaly tring to make a module for *Zpanel* i am making an anti virus module and am going to be using clamav. up to now everything has been going smoothly but i have hit massive problem.
I am tring to do this:
Code:
And i get this in return
Code:
Some packages could not be installed. This may mean that you have requested an impossible situation or if you are using the unstable distribution that some required packages have not yet been created or been moved out of Incoming.
The following information may resolve the situation:
The following packages have unmet dependencies.
I dont get any install. and the information i have collect from people say that and install should not be stopped becuase of an depend
So as any one who is semi new would do i then tried installing the depend
Code:
And i get this in return
Code:
E: Package 'phpapi-20060613+lfs' has no installation candidate
So it look like problem after problem
Does any one know why i can not install php5-clamavlib
I have UBUNTU 11.04 desktop (with zpanel installed on it)
*zpanel an open source web hosting panel for windows and NOW LINUX (zpanel has just been release on UBUNTU ONLY ).
This started happening sometime yesterday afternoon on a server that's been trouble free for years.
My Ubuntu update is scheduled to run every month on the 5th, so this was roughly 10 days after that. So it seems to me it's not update related. The only thing I've done on the server lately is update a spamassassin rule which required an amavis restart. That was done earlier in the week.
I've already reviewed issues at [url] and all the conditions are correct for the more recent How to.
I can also confirm that, in fact, /var/run/clamav/clamd.ctl does not exist.
When i run $ sudo freshclam I get this message ClamAV update process started at Sat Oct 9 12:21:22 2010 WARNING: Your ClamAV installation is OUTDATED! WARNING: Local version: 0.96 Recommended version: 0.96.3 DON'T PANIC! Read http://www.clamav.net/support/faq main.cvd is up to date (version: 52, sigs: 704727, f-level: 44, builder: sven) daily.cvd is up to date (version: 12114, sigs: 138436, f-level: 53, builder: sven) bytecode.cvd is up to date (version: 80, sigs: 10, f-level: 53, builder: edwin) Since I am a beginner i don't know how to upgrade freshclam as $ sudo apt-get upgrade doesn't work. Guessing I may have to download the package and install manually just thought I'd ask before doing that.
I have installed CLAMAV in Fedora 11 and when I try to update it says update failed I have tried to find a reason why but unfortunately I am lost. Sony VAIO VGN TXHP1 laptop Fedora 11 Gnome i1568 Wireless connection seems fine.
i was using mandriva before and fedora is new i have installed clamav antivirus but clamav won update i must change clamd.d and maybe freshlam.conf but how do i that under mandriva clamav-freshclam does the job but here it is different
In short, I've written a bash script (available from github) for configuring and removing instances of clamav-server on Fedora (clamd). It lets you create and remove individual instances with a specific user and port (if you specify them) and will install the required packages if not already present on the system and remove them if you want to. In long, we use Clam AntiVirus as our antivirus protection for Digital Preservation Recorder and talk to it over the default port, 3310 (clamd). Installing the clamav-server package under Fedora however, doesn't actually set up an instance. In fact, it doesn't copy any system configuration files into place at all. This means that the system is left without any working ClamAV server out of the box.
Under Fedora, ClamAV server is configured on a per user basis. This is actually quite important (unless you run as root) because the daemon needs at minimum read access (and we've found also write) on the files/directory being passed for scanning. The instructions on how to configure it are located under /usr/share/doc/clamav-server-[version]/ but I have taken these instructions and written a bash script to configure all of this for you. The script is available from github. It can create or remove an individual instance of clamav-server using a specific username and/or port (if you want to specify them, else it defaults to clamav on port 3310). The script will also install any required packages, if you don't already have them on the system. You also have the option of removing the required packages when you remove an instance. The script now also configures freshclam for you (the definitions updater), which needs to run as your user too.
I have installed clamav antivirus,and while scanning it shows the following warning
LibClamAV Warning: ************************************************** LibClamAV Warning: *** The virus database is older than 7 days! *** LibClamAV Warning: *** Please update it as soon as possible. *** LibClamAV Warning: **************************************************
And so i have tried to update the virus database as root,using this command
# freshclam bash: freshclam: command not found
but i cant,can you pls say me how to update the virus database...
Still trying to get that elusive simple mail server. Have install Centos 5 (20 time!) and updated software. Have got the system to see www and now about to do the mailserver thing. One of the first steps is to install Clamav yet this does not show on the package list for the program add delete gui. Tried yum install clamav and got message back that it wasn't available.
Google advises that I must first install rpmforge but at the same time has a warning from the maker of yum that this is dangerous to do Clamav is clearly a very popular antivirus scanner yet Centos 5 does not include it or allow you to install it?
How to determine what type of files clamav can scan? For example, if there is no unrar installed it can't scan files in it. So is there any way to find out all types of files that clamav can't scan?
The mail server keeps getting locked up with tens of thousands of spam emails.So, i followed some instructions similar to this : [URL]I can clear the queue spams, easy, but after an hour or so the server is dead again.. not receiving emails and not sending out emails.
Code:
Received: (qmail 356 invoked by uid 509); 4 Mar 2011 21:39:10 +0800 Received: from 125.110.124.51 by host1.wemotor.com (envelope-from <oiazfkdvd@yahoo.com.tw>, uid 508) with qmail-scanner-1.25-st-qms Received: from unknown (HELO 202.46.116.119) (125.110.124.51)
I am addressing the staff that maintains the clamav anti virus software release and distributes it via the fedora repositories: Would you update to the newest clamav version? This is what I get using the installed version:
I don't know why clamav antivirus is not update even if I try using "freshclam". In Terminal, it say up to date. But in ISPConfig 3 Interface, it is not.
I tried to upgrade from Fedora 8 to Fedora 12, but after preupgrade got everything ready I rebooted. Anaconda searched for storage devices and then said "No upgrade root found". What can i do to continue the upgrade manually?
My probles consists in that i have no idea on how update the clamav. I downloaded it throu center of software. Butt when i try to upgrade it from the gui the upgrading bar reaches only 15% and desapears. I tried do type freshclam from root command line but it just writes that there is not such command. May be i use incorrectly the command line.
I find it incredible that installing and running reputable software such as Clamav on my system should be a major problem. I have openSUSE 11.3 with kde 4.5.2 desktop and when I try and install clamav using Yast the files are downloaded into old kde3 directory and nothing works.
I have installed Clamav using the install/remove software utility but it doesn't show up in the Applications menu. I tired to run it from usr/bin folder but still no go.