Ubuntu :: ClamAV-clamd - Can't Connect To UNIX Socket /var/run/clamav/clamd.ctl
Apr 16, 2010
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.
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 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 ).
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 try to start clamd service since I found "PROCS CRITICAL: 0 processes with command name 'clamd'" from nagios. so I check at its log file at "tail /home/clamav/logs/clamd.log" it said that log file exceeding maximum limit so I try to rotate log by
Clamd on my CentOS latest stable box takes an age to start.s in, well over half an hour.Two clamd processes get started, each of which has a VIRT of about 220m. Load average goes through the roof, values from 6-8+.The server is a bit weedy (190MB RAM, processor I forgot), but I didn't have these problems before. They seemed to arise after running freshclam to update definitions.
I can install clamav from SBo no problem, but the version is outdated. I downloaded the newer source code from clamav's site, edited the slackbuild to reflect the new version number, and rebuilt the package. But I get this following error when building.
Config files are installed in the proper places (except the file /etc/clamd.conf.rej referred to below which doesn't exist). But the binaries clamd and freshclam aren't installed anywhere.
Code: make[2]: Leaving directory `/tmp/SBo/clamav-0.96.5/test' Making all in clamdtop make[2]: Entering directory `/tmp/SBo/clamav-0.96.5/clamdtop' CC optparser.o
I have problem starting clamd. It's unable to execute setgroups() /etc/group , /etc/password files are world readable Here is output after starting clamd: sudo clamd ERROR: setgroups() failed.
I'm getting this error when restarting clamav-daemon:clamd libClamAV Error: cli_dbgets: Line too long for provided bufferThis happened on two systems today after I upgraded via apt. Versions used: Debian Lenny w/ clamav-daemon 0.96.3+dfsg-1~volatile1Has anyone seen this and know what to do? clamd seems to be running, and the
Using clamav and its finding like 20 virus however, its not quarantining them because of permissions. Help part of kde is missing and I cant find it in synaptic package manager. I would like to find a solution with how permissions can be sanctioned for kde.
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 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 Windows Installation is infected even with Eset installed! I don't know how to clean it. Already tried safe mode scan, but that doesn't even clean it. The only reason I installed ubuntu was so that I could download infected files without any conserns of my windows parition being infected. When ever I download a file, I move it to the NTFS partition from where windows can access it. But just about a week ago when I booted into Windows, my whole drive was infected, not only windows installed partition but also all my NTFS partition. Can anyone please tell me how can I CLEAN the files rather than qurantine all the files which CLAMAV does!
Also, what steps should I take in advance before downloading a virus infected file? I know the virus could've have gotten in when I disable eset for some software installation but it should clean after boot or after being booted.But there should be a way to clean all my NTFS partition .... how? I don't know how to used CLAMAV properly because whenever I try to scan anything, it always returns with '0 files scan' because I think the directory scan doesn't work the way it should!
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.
have two ubuntu 10.10 installations both have the same update state both have the same settings in software packet sources[code]....
Still the synaptic has different version of clamav in it, one has 0.96.4 and the other has 0.96.5.Even one other installation of 10.04 has the 0.96.5 in the repository. Why can one installation show different version then the other?
I uses the Googles to search for an AntiVirus to install on Ubuntu, to check for viruses that attack windows. The only thing I could find resembling an antivirus is Clam Av, does it work well?
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 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
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.