Community Forums
Connect with us on LinkedIn
+ Reply to Thread
Results 1 to 6 of 6
  1. #1
    Member
    Join Date
    Sep 2003
    Posts
    158

    Default clamavconnector fails to install clamd on rhel5.5 x64

    On a new server (cPanel 11.25.0-S44718 - WHM 11.25.0 - X 3.9
    REDHAT Enterprise 5.5 x86_64 standard) clamavconnector is failing to actually install clamd. Is anyone else seeing this?

    checking check.h usability... no
    checking check.h presence... no
    checking for check.h... no
    configure: unable to compile/link with check

    ...

    make install-recursive
    make[2]: Entering directory `/usr/local/cpanel/modules-install/clamavconnector-Linux-x86_64/clamav-0.96/libclamav'
    Making install in c++
    make[3]: Entering directory `/usr/local/cpanel/modules-install/clamavconnector-Linux-x86_64/clamav-0.96/libclamav/c++'
    make install-am
    make[4]: Entering directory `/usr/local/cpanel/modules-install/clamavconnector-Linux-x86_64/clamav-0.96/libclamav/c++'
    CXX libclamavcxx_la-bytecode2llvm.lo
    make[4]: Leaving directory `/usr/local/cpanel/modules-install/clamavconnector-Linux-x86_64/clamav-0.96/libclamav/c++'
    make[3]: Leaving directory `/usr/local/cpanel/modules-install/clamavconnector-Linux-x86_64/clamav-0.96/libclamav/c++'
    make[2]: Leaving directory `/usr/local/cpanel/modules-install/clamavconnector-Linux-x86_64/clamav-0.96/libclamav'
    make[1]: Leaving directory `/usr/local/cpanel/modules-install/clamavconnector-Linux-x86_64/clamav-0.96/libclamav'
    Unable to locate clamd
    Configuration file passes test! New configuration file was installed.

    The build from the WHM window is attached.

    WHM/Cpanel now includes it in the menu, but clamd does not actually appear nor freshclam, etc.

    # clamd -V
    -bash: clamd: command not found

    Is there another way to force clamd to install for the whm/cpanel clamavconnector for rhel5.5 x64? Any ideas?
    Attached Files

  2. #2
    Member
    Join Date
    Oct 2003
    Location
    Manchester, UK
    Posts
    56
    cPanel/Enkompass Access Level

    DataCenter Provider

    Default

    I had the same problem with my servers on 5.4

    I had to;

    cd /usr/local/cpanel/modules-install/clamavconnector-Linux-i686/

    ./install
    Nathan Flynn
    Zen Internet
    www.zen.co.uk

  3. #3
    Member
    Join Date
    Oct 2003
    Location
    Manchester, UK
    Posts
    56
    cPanel/Enkompass Access Level

    DataCenter Provider

    Default

    If you don't install it via WHM you don't get the exim config to do virus scanning on inbound mail. I guess you could edit the config or do it via the advanced editor, but we find it best to make the least changes to cPanel where possible.
    Nathan Flynn
    Zen Internet
    www.zen.co.uk

  4. #4
    Member
    Join Date
    Mar 2003
    Location
    Canada
    Posts
    217

    Default

    We normally use clamav from rpmforge .. you should not have any problem installing from there
    Affordable Linux Server Managament Solution
    http://www.linuxnetworkcare.com/services/cpanel.php
    [ Phone: 647-722-5303 MSN : sutha@linuxnetworkcare.com AIM : xerophytev skype:ksutha5]

  5. #5
    Member
    Join Date
    Sep 2003
    Posts
    158

    Default

    Quote Originally Posted by eperdeme View Post
    I had the same problem with my servers on 5.4

    I had to;

    cd /usr/local/cpanel/modules-install/clamavconnector-Linux-i686/

    ./install
    Thank you!

    That worked perfectly.

    On my other servers I've always installed it from whm and it went without any error. On this one for some reason it seemed to complete fine from whm except for the above but didn't actually install. I though about going with the rpm version but wasn't sure how that would mesh or affect future updates. But the above worked fine and now I have clamd, freshclam, etc. and it's working from the cpanel interface without issue.

    Thanks.

  6. #6
    Member
    Join Date
    Sep 2007
    Posts
    29

    Default With 64 Bit

    With a 64bit Centos 5.5 operating system. There is a folder /usr/local/cpanel/modules-install/clamavconnector-Linux-x86_64]

    I just tried to do a ./install from there and it fails.

    cp: cannot stat `html/clamavconnector': No such file or directory
    mkdir: cannot create directory `/usr/local/cpanel/base/frontend/x/cells/': File exists
    cp: cannot stat `cells/clamavconnector.html': No such file or directory
    ln: creating symbolic link `./cells' to `../x/cells': File exists
    cp: cannot stat `whmaddons/clamavconnector': No such file or directory
    cp: cannot stat `addon_clamavconnector.cgi': No such file or directory
    zlib version checking was disabled. zlib versions <= 1.2.1 have a known security vulnerability
    Last edited by wrender; 07-25-2010 at 11:18 AM.

Similar Threads & Tags
Similar threads

  1. No MySQL on RHEL 6 (x64) - Fresh install
    By Pieter Borst in forum Database Discussions
    Replies: 7
    Last Post: 03-07-2011, 02:16 PM
  2. Replies: 13
    Last Post: 04-20-2010, 11:05 AM
  3. CentOS5 x64 install questions
    By fairlylarge in forum cPanel and WHM Discussions
    Replies: 4
    Last Post: 10-18-2007, 08:09 AM
  4. clamavconnector update overwrite clamd.conf?
    By clook in forum cPanel Developers
    Replies: 1
    Last Post: 07-20-2005, 11:49 AM
  5. RPM install fails - dependencies - auto install?
    By rjn in forum cPanel and WHM Discussions
    Replies: 2
    Last Post: 07-07-2003, 01:19 AM
Linkedin       Facebook       Twitter       RSS       Flickr       YouTube