Red Hat / Fedora :: ClamAV - Error "message Output: Script: Clamav-cron V. 0.6 - Copyright 2009, Stefano Stagnaro Scanned: /"
Mar 19, 2010
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: /
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.
I'm getting an md5 checksum error during updating. Using the update manager. I'll post a snapshot. Screenshot-Changes applied.png (38.46 KiB) Viewed 219 times
I am trying to install clamav from synaptic manager and returns this error: Quote: E: /var/cache/apt/archives/libclamav6_0.96.5+dfsg-1ubuntu1.10.10.1_i386.deb: el subproceso dpkg-deb -fsys-tarfile devolvi el cdigo de salida de error 2
System is Fedora 13 64 bit. Today, an update dropped for all of the clamav packages. After they finished installing, I ran freshclam, and this is just part of the output of tail /var/log/messages:
[Code]...
I checked my DNS settings, my DNS server, and everything was good to go. I even removed all files from /var/lib/clamav, including the mirrors.dat file, and still no go, got the same errors. I downgraded all the packages, and still got the same thing... Is anyone else having this problem?
Is set up a postfix, dovecot + clamav server as described in the wiki. I also use the freshclam update script in /etc/cron.daily/freshclam. But my problem is i get this error message every day:
/etc/cron.daily/freshclam:
ERROR: Problem with internal logger (UpdateLogFile = /var/log/clamav/freshclam.log). ERROR: /var/log/clamav/freshclam.log is locked by another process
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 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 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?
after upgrading ClamAV to version 0.97.1 and run the command Code: clamscan -r -i / --exclude-dir=^/sys --exclude-dir=^/dev --exclude-dir=^/proc | mail -s "clamav scan report XYSERVER" xy@mail.com the following errors appeared:
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 have added some executable scripts to /etc/cron.daily but don't get the stdout/stderr output from them as mail (or anywhere else I have found). At least one of them is running (because I can see that it has added a file to the disk).
The peculiar thing is that I do get the output from /etc/cron.daily/0logwatch (part of the logwatch package) as an email each day.
The MAILTO line in /etc/crontab is "MAILTO=root" (unchanged from default). Same for /etc/anacrontab.
I do have an alias at the end of /etc/aliases which redirects root's mail to my own account, but this alias works fine for mail I send manually. (It also appears to work fine for the output from the file /etc/cron.daily/0logwatch.)
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.
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.