#1 (permalink)  
Old 01-07-2005, 11:08 AM
Registered User
 
Join Date: Aug 2001
Posts: 125
Wallaby is on a distinguished road
Virus scan in Cpanel

On one of our servers, with clamavconnector installed, when using the virus scan icon in CPanel the screen just says "loading ..." and never completes the scan.

Background: this server had Mailscanner on, which I uninstalled before installing clamavconnector. I've verified that email is being virus scanned OK by using the eicar test site and doing a tail on the exim logfile. So I know that ClamAv is working OK. It's just the CPanel scan that is not working. Cpanel is 9.9.9-RELEASE 70.

Anyone got any ideas? Cheers.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #2 (permalink)  
Old 01-07-2005, 12:04 PM
Registered User
 
Join Date: Apr 2003
Posts: 17
kacsa
Hello,

you modify LocalSocket entry in /etc/clamd.conf to: LocalSocket /var/clamd then restart clamd.

Sorry my english
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #3 (permalink)  
Old 01-07-2005, 02:28 PM
Registered User
 
Join Date: Aug 2001
Posts: 125
Wallaby is on a distinguished road
My clamav.conf had that entry already.

What is the correct command(s) to reatart clamd?
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #4 (permalink)  
Old 01-07-2005, 03:13 PM
Registered User
 
Join Date: Apr 2003
Posts: 17
kacsa
clamav.conf not equal clamd.conf!!!!

The restart command the following: /etc/init.d/exim restart
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #5 (permalink)  
Old 01-07-2005, 04:56 PM
Registered User
 
Join Date: Aug 2001
Posts: 125
Wallaby is on a distinguished road
Magic, thanks very much, that did the trick!

Hope you don't mind me just clarifying the info for the benefit of others reading this thread in future:

Problem: After uninstalling mailscanner and installing clamavconnector, mail is virus scanned but cpanel's virus scanning of files does not work.

Solution:

1. Edit /etc/clamav.conf:
Code:
pico /etc/clamav.conf
2. Look for the line
Code:
LocalSocket xxx
where
Code:
xxx
might be
Code:
/tmp/clamd
3. Change the line to:
Code:
LocalSocket /var/clamd
4. Save the file

5. Restart exim (which will also restart clamd) using:
Code:
/etc/init.d/exim restart
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #6 (permalink)  
Old 01-08-2005, 02:37 AM
Registered User
 
Join Date: Apr 2003
Posts: 17
kacsa
The process following:

Edit /etc/clamd.conf (NOT clamav.conf):
Code:
pico /etc/clamd.conf
2. Look for the line
Code:
LocalSocket xxx
3. Change the line to:
Code:
LocalSocket /var/clamd
4. Save the file

5. Restart exim (which will also restart clamd) using:
Code:
/etc/init.d/exim restart
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #7 (permalink)  
Old 01-08-2005, 03:01 AM
Registered User
 
Join Date: Aug 2001
Posts: 125
Wallaby is on a distinguished road
It was editing clamav.conf that did the trick for me.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #8 (permalink)  
Old 01-24-2005, 12:45 PM
Registered User
 
Join Date: Jan 2002
Posts: 51
Elliot
good post, editing clamav.conf did the trick
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #9 (permalink)  
Old 09-13-2005, 08:45 PM
Registered User
 
Join Date: Nov 2002
Posts: 10
MianoVision
Same issue, ClamAV addon stuck at loading, in Cpanel

I edited the clamav.conf file and restarted exim, and voila. Worked like a charm. Thanks for the assist!
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #10 (permalink)  
Old 02-11-2006, 04:30 AM
Registered User
 
Join Date: Apr 2004
Posts: 605
ispro is on a distinguished road
Guys, first of all I need to tell you that in the case you have installed cPanel ClamAV connector you need just SINGLE file - /etc/clamd.conf !

E.g. for Virus Scan to work you need to REMOVE /etc/clamav.conf - it is not used by cPanel in any way.

We have tested this on all servers of us and know what we are talking about.
__________________
Reliable web-hosting, good resellers plans, web-design.
ISProHosting.com
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #11 (permalink)  
Old 04-07-2006, 08:53 PM
Registered User
 
Join Date: Aug 2005
Posts: 130
oulzac is on a distinguished road
I am having this same issue, scanning in cpanel is not longer working, but the clamd file is set exactly the way it should be, so that is not a solution. Anyone else ever have this issue and was able to actually fix it?
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT -5. The time now is 02:24 AM.


Powered by vBulletin® Version 3.8.2
Copyright ©2000 - 2010, Jelsoft Enterprises Ltd.
© cPanel Inc