Browsing articles tagged with "clamav - Admins Goodies"
Oct 24, 2012
tom

clamd says socket in use by another process but I can’t find one

I’m running CentOS 5.3 (Final) and using rpmforge I installed clamd and prereqs ok. I started clamd and ran a freshclam all ok. But if I run “clamd PING” or clamd /path/to/file I get ERROR: LOCAL: Socket file /var/run/clamav/clamd.sock is in use by another process Further detail below but I’m at a loss where to go from here now, any advice anyone? [root@main ~]# clamd PING ERROR: LOCAL: Socket file /var/run/clamav/clamd.sock is in use by […]

Continue Reading »
Jul 29, 2012
tom

ClamD server Currently Down

I’m getting this error message after install ClamAV from direcadmin message system. OS: CentOs 5. The service ‘clamd’ on server star.tunahost.net is currently down This message has been automatically generated notifying you that the service clamd is currently down. Why can I get this error for each hour? I checked up cron jobs and I couldn’t find any job about it. How to control Clamd service? OS: CentOS with DirectAdmin Asked by RedLEON There was […]

Continue Reading »
Mar 20, 2012
tom

Scan whole system or just user dirs with clamav

I’m in doubt about how to scan my Linux system with Clamav: do I just scan the places where users can upload files (homedirs, their webroots) or do I scan the whole system? The various sites I’ve read vary in opinion, some say you needn’t scan the Linux-only parts, some say to not scan at all. The latter I’ve already discarded as I think it sensible to at least scan webroots for hosted viruses, but […]

Continue Reading »
Jan 8, 2012
tom

Installing ClamAV on Ubuntu

I’d like to install ClamAV on my Ubuntu Servers (LAMP). Is it good to go (as a daemon) out-of-the-box, or does it need some configuration? Do I need to add a line to my crontab to update virus signatures? The defaut /etc/clamd.comnf (or equivalent on your distribution) should be fine. On CentOs, the antivirus (clamav), the update (clamav-db alais freshclam), and the deamon (clamd) are different packages. /etc/freshclam.conf use the default 12 update checks a […]

Continue Reading »
Dec 15, 2011
tom

Downloading large files fails, Squid + c-icap + SquidClamAV

I am building a new proxy server with Squid & SquidClamAV. I am facing problems with downloading large files. I have set a maxsize of 52428800 bytes in squidclamav.conf – which should prevent the scanning of files bigger than 50MB. Downloading anything up to 2GB through the proxy works fine, but files bigger than that produce the following error: ICAP protocol error – The system returned: (32) Broken pipe In c-icap server log i get […]

Continue Reading »
Nov 22, 2011
tom

iRedMail problem with amavis, clamav and freshclam

I have installed iRedMail on Centos and have problem with starting freshclam (after service freshclam start system says that freshclam is already started but service freshclam status says that freshclam is stopped). Freshclam log file is empty. Maillog says that there is also problem with amavis and clamav: amavis[29807]: (29807-06) (!)run_av (ClamAV-clamd) FAILED – unexpected , output=”/var/amavis/tmp/amavis-20110512T130639-29807/parts: lstat() failed: Permission denied. ERRORn” May 12 13:06:39 poczta amavis[29807]: (29807-06) (!)ClamAV-clamd av-scanner FAILED: CODE(0xa14b3bc) unexpected , output=”/var/amavis/tmp/amavis-20110512T130639-29807/parts: […]

Continue Reading »
Nov 9, 2011
tom

How do I specify clamd’s IP address when using clamdscan?

I set up a separate host for clamd to handle virus-scanning, and I want to test it before putting it in production. Now, while MailScanner’s configuration for remote clamd is clear and simple, I can’t find any information on how to do that with clamdscan. Does anyone know? Take a look at the clamdscan.py: $ clamdscan.py -h Usage: clamdscan.py [OPTIONS] file [file , file , ...] -h,–help Show this help -V,–version Show clamd version and […]

Continue Reading »
Aug 21, 2011
tom

System-wide virus scans in Ubuntu?

I installed ClamAV (clamav-daemon and clamav-freshclam) in order to set up a policy of regularly scanning my LTSP thin client setup for Windows viruses. Currently, we have a variety of users, each with their own group. All files in their home directory are owned by each user, and to each user’s group. How can I have clamdscan read all of their files, whether 0700 or not, while not running clamdscan as root? (which is just […]

Continue Reading »
Aug 21, 2011
tom

Most simple, easy to service and update DIY spam/virus filtering SMTP gateway

I run email for several companies, and I want to set up my own SMTP gateway to migrate their domains off hosted spam filtering services. I wanted an opinion from someone who actually runs email operations, what’s to your mind the best setup I could get? I am trying to get a reasonable balance between price and time expenditure running one. I have been considering to setup my own postfix/spamassassin/clamav server, but concerned with complexity. […]

Continue Reading »
Aug 20, 2011
tom

How to monitor ClamAV?

I have a postfix mailserver with amavis as a content_filter setup successfully an now I wonder how I can monitor if clamav is working properly. The clamav logfile is empty and I can not see any trace that it is working. I don’t have any clue that it is not working, I just want to be sure that is working properly. So how can I monitor and test ClamAV to verfiy that it is working […]

Continue Reading »
Pages:12»