Check to make sure that the clamd service is running. The ps aux command, piped to grep, should give you something like this:
Code:
# ps aux|grep -i clamd
root 11599 0.0 9.1 115948 93784 ? Ssl Apr08 1:10 /usr/sbin/clamd
If no clamd process is listed, try restarting clamd:
Code:
# /scripts/restartsrv_clamd
# ps aux|grep -i clamd
Are any errors displayed when you run these commands? Also, are any errors logged to /usr/local/cpanel/logs/error_log when you try to start a scan? You can use tail to watch the log while starting a scan:
Code:
# tail -f /usr/local/cpanel/logs/error_log
hi there, when i try check error log
# tail -f /usr/local/cpanel/logs/error_log
================================================
make[4]: *** [libclamavcxx_la-bytecode2llvm.lo] Error 1
make[3]: *** [install] Error 2
make[2]: *** [install-recursive] Error 1
make[1]: *** [install] Error 2
make: *** [install-recursive] Error 1
ln: creating symbolic link `./freshclam' to `../../bin/freshclam': File exists
Can't open /etc/freshclam.conf: No such file or directory.
./install: line 113: /usr/bin/freshclam: No such file or directory
mkdir: cannot create directory `/usr/local/cpanel/base/frontend/x/cells/': File exists
ln: creating symbolic link `./cells' to `../x/cells': File exists
[2010-11-02 21:00:59 +0800] warn [addon_clamavconnector] User file '/var/cpanel/ users/root' is empty or non-existent. at /usr/local/cpanel/Cpanel/Config/LoadCpU serFile.pm line 35
Cpanel::Config::LoadCpUserFile::load('root') called at /usr/local/cpanel /Cpanel/Config/LoadCpUserFile.pm line 158
Cpanel::Config::LoadCpUserFile::loadcpuserfile('root') called at /usr/lo cal/cpanel/Cpanel.pm line 96
Cpanel::initcp('root') called at /usr/local/cpanel/whostmgr/docroot/cgi/ addon_clamavconnector.cgi line 32
[2010-11-02 21:01:08 +0800] warn [addon_clamavconnector] User file '/var/cpanel/ users/root' is empty or non-existent. at /usr/local/cpanel/Cpanel/Config/LoadCpU serFile.pm line 35
Cpanel::Config::LoadCpUserFile::load('root') called at /usr/local/cpanel /Cpanel/Config/LoadCpUserFile.pm line 158
Cpanel::Config::LoadCpUserFile::loadcpuserfile('root') called at /usr/lo cal/cpanel/Cpanel.pm line 96
Cpanel::initcp('root') called at /usr/local/cpanel/whostmgr/docroot/cgi/ addon_clamavconnector.cgi line 32
[2010-11-02 21:01:13 +0800] warn [addon_clamavconnector] User file '/var/cpanel/ users/root' is empty or non-existent. at /usr/local/cpanel/Cpanel/Config/LoadCpU serFile.pm line 35
Cpanel::Config::LoadCpUserFile::load('root') called at /usr/local/cpanel /Cpanel/Config/LoadCpUserFile.pm line 158
Cpanel::Config::LoadCpUserFile::loadcpuserfile('root') called at /usr/lo cal/cpanel/Cpanel.pm line 96
Cpanel::initcp('root') called at /usr/local/cpanel/whostmgr/docroot/cgi/ addon_clamavconnector.cgi line 32
================================================
how can i solve this problem ???