The Community Forums

Interact with an entire community of cPanel & WHM users!
  1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Virus Scanning

Discussion in 'General Discussion' started by kamranalilakhna, Feb 7, 2008.

Thread Status:
Not open for further replies.
  1. kamranalilakhna

    kamranalilakhna Active Member

    Joined:
    Dec 21, 2004
    Messages:
    29
    Likes Received:
    0
    Trophy Points:
    1
    Hello Everyone,
    I am having strange issue with ClamAv scanner. It is working from console with either users root and normal but it is not scanning from Cpanel. It just stop and display following message.

    Scanning for Virii

    Scanning:
    ... connecting to clamd service ...

    File: / Data: / M

    Any suggestion would be highly appreciated.
     
  2. presoonjohn

    presoonjohn Member

    Joined:
    Jun 25, 2007
    Messages:
    5
    Likes Received:
    0
    Trophy Points:
    1
    remove clamavconnector.

    from WHM > Cpanel > Manage Plugins

    First uninstall clamavconnector and then reinstall clamavconnector..That should fix your issue.

    If you have Mailscanner installed, it uses separate clamd service (not the cPanel one). This will cause issues for VIrus scanner in cPanel.

    Thanks,
    Presoon John
    presoon.com/blog
     
  3. ckh

    ckh Well-Known Member

    Joined:
    Dec 6, 2003
    Messages:
    356
    Likes Received:
    1
    Trophy Points:
    18
    Location:
    Phoenix, AZ
    cPanel Access Level:
    DataCenter Provider
    If you are running cPanel 11.25.0, it's a known bug and cPanel is aware of the problem.
     
  4. rone

    rone Well-Known Member

    Joined:
    Jan 14, 2007
    Messages:
    179
    Likes Received:
    0
    Trophy Points:
    16
    Location:
    The Netherlands
    cPanel Access Level:
    Root Administrator
    This is the solution from cPanel Tech. to fix this problem.


    edit: /usr/local/cpanel/Cpanel/ClamScanner.pm and find the following section:


    use SafeFile ();
    use Cpanel::SafeFind ();
    use Cpanel::OSSys ();
    use Cpanel::Encoder ();
    use Cpanel::Branding ();
    use vars qw(@ISA @EXPORT $VERSION);
    require Exporter;


    Just below "require Exporter;" he added the following line:


    require File::Scan::ClamAV;


    This module can be overwritten any time cPanel updates, so this cannot be considered a permanent fix, but this may help you
     
  5. cPanelDon

    cPanelDon cPanel Quality Assurance Analyst
    Staff Member

    Joined:
    Nov 5, 2008
    Messages:
    2,557
    Likes Received:
    7
    Trophy Points:
    38
    Location:
    Houston, Texas, U.S.A.
    cPanel Access Level:
    DataCenter Provider
    Twitter:
    Please note this thread is nearly 2 years old, from February of 2008. Please do not resurrect very old threads as the circumstances and software versions involved can change significantly over time.

    There is more than one cause to the reported symptoms and a single fix will not apply the same to all circumstances. The original poster in this thread could not have been using cPanel version 11.25 because it was not yet available at the time of writing in February 2008.

    In cPanel version 11.25 there have been further corrections and reliability improvements of the aforementioned integration with ClamAV; I recommend having automatic updates enabled to ensure that you receive the latest fixes and enhancements as they are released for availability to your configured cPanel build tree.
     
Loading...
Thread Status:
Not open for further replies.

Share This Page