CLAM ANTIVIRUS installation problem

fly_in_the_sky

Active Member
Nov 3, 2013
35
0
6
Pyrénnée, France
cPanel Access Level
Root Administrator
Hello, i have error with clam instalation :

Code:
[20131113.233339]   
[20131113.233339]   Problems were detected with cPanel-provided files which are RPM controlled.
[20131113.233339]   If you did not make these changes intentionally, you can correct them by running:
[20131113.233339]   
[20131113.233339]   > /usr/local/cpanel/scripts/check_cpanel_rpms --fix
[20131113.233339]   The following RPMs are missing from your system:
[20131113.233339]   cpanel-clamav-0.97.8-3.cp1140
[20131113.233339]   cpanel-clamav-virusdefs-0.97.8-3.cp1140
[20131113.233339]   cpanel-perl-514-File-Scan-ClamAV-1.91-1.cp1136
[20131113.233339]   Removing 0 broken rpms: 
[20131113.233339]   rpm: no packages given for erase
[20131113.233340]   Downloading http://httpupdate.cpanel.net/RPM/11.40/centos/6/i386/rpm.md5
[20131113.233340]   Downloading http://httpupdate.cpanel.net/RPM/11.40/centos/6/i386/cpanel-clamav-virusdefs-0.97.8-3.cp1140.i386.rpm
[20131113.233344]   Downloading http://httpupdate.cpanel.net/RPM/11.40/centos/6/i386/cpanel-perl-514-File-Scan-ClamAV-1.91-1.cp1136.i386.rpm
[20131113.233344]   Downloading http://httpupdate.cpanel.net/RPM/11.40/centos/6/i386/cpanel-clamav-0.97.8-3.cp1140.i386.rpm
[20131113.233346]   Hooks system enabled
[20131113.233346]   Checking for and running RPM::Versions 'pre' hooks for any RPMs about to be installed
[20131113.233346]   All required 'pre' hooks have been run
[20131113.233346]   No RPMS need to be uninstalled
[20131113.233346]   Installing new rpms: cpanel-clamav-virusdefs-0.97.8-3.cp1140.i386.rpm cpanel-perl-514-File-Scan-ClamAV-1.91-1.cp1136.i386.rpm cpanel-clamav-0.97.8-3.cp1140.i386.rpm
[20131113.233346]   Preparing packages for installation...
[20131113.233346]   cpanel-clamav-virusdefs-0.97.8-3.cp1140
[20131113.233350]   groupadd: group 'clamav' already exists
[20131113.233350]   useradd: user 'clamav' already exists
[20131113.233351]   Locking password for user clamav.
[20131113.233351]   passwd: Success
[20131113.233351]   cpanel-clamav-0.97.8-3.cp1140
[20131113.233351]   warning: /etc/chkserv.d/clamd saved as /etc/chkserv.d/clamd.rpmorig
[20131113.233355]   clamd: no process killed
[20131113.233356]   clamd: no process killed
[20131113.233401]   Configuration file passes test!  New configuration file was installed.
[20131113.233401]   
[20131113.233401]   Enabled system filter options: attachments|spam_rewrite
[20131113.233401]   Enabled ACL options in block ACL_MAIL_PRE_BLOCK: default_mail_pre
[20131113.233401]   Enabled ACL options in block ACL_RECIPIENT_POST_BLOCK: default_recipient_post
[20131113.233401]   Enabled ACL options in block ACL_SPAM_SCAN_CHECK_BLOCK: default_spam_scan_check
[20131113.233401]   Enabled ACL options in block ACL_CHECK_MESSAGE_PRE_BLOCK: default_check_message_pre
[20131113.233401]   Enabled ACL options in block ACL_CONNECT_POST_BLOCK: default_connect_post
[20131113.233401]   Enabled ACL options in block ACL_OUTGOING_NOTSMTP_CHECKALL_BLOCK: resolve_vhost_owner|end_default_outgoing_notsmtp_checkall
[20131113.233401]   Enabled ACL options in block ACL_CONNECT_BLOCK: ratelimit|slow_fail_block|spammerlist
[20131113.233401]   Enabled ACL options in block ACL_POST_RECP_VERIFY_BLOCK: dictionary_attack
[20131113.233401]   Enabled ACL options in block ACL_TRUSTEDLIST_BLOCK: trustedmailhosts
[20131113.233401]   Enabled ACL options in block ACL_IDENTIFY_SENDER_BLOCK: default_identify_sender|default_message_submission
[20131113.233401]   Enabled ACL options in block ACL_MAIL_BLOCK: requirehelo|requirehelonoforge|requirehelosyntax
[20131113.233401]   Enabled ACL options in block ACL_PRE_RECIPIENT_BLOCK: dkim_disable
[20131113.233401]   Enabled ACL options in block ACL_CHECK_MESSAGE_POST_BLOCK: default_check_message_post
[20131113.233401]   Enabled ACL options in block ACL_POST_SPAM_SCAN_CHECK_BLOCK: mailproviders
[20131113.233401]   Enabled ACL options in block ACL_SPAM_SCAN_BLOCK: default_spam_scan
[20131113.233401]   Enabled ACL options in block ACL_SMTP_QUIT_BLOCK: slow_fail_block
[20131113.233401]   Enabled ACL options in block ACL_NOTQUIT_BLOCK: ratelimit
[20131113.233401]   Enabled ACL options in block ACL_RECP_VERIFY_BLOCK: default_recp_verify
[20131113.233401]   Enabled ACL options in block ACL_PRE_SPAM_SCAN: mailproviders
[20131113.233401]   Enabled ACL options in block ACL_RECIPIENT_MAILMAN_BLOCK: default_recipient_mailman
[20131113.233401]   Enabled ACL options in block ACL_RECIPIENT_BLOCK: default_recipient
[20131113.233401]   Enabled ACL options in block ACL_MAIL_POST_BLOCK: default_mail_post
[20131113.233401]   Detected spam handling in acls, disabling spamassassin in routers & transports!.
[20131113.233401]   SpamAssassin method remains unchanged
[20131113.233401]   Configured options list is: 
[20131113.233401]   ACL: acl_not_smtp is active
[20131113.233401]   ACL: acl_smtp_connect is active
[20131113.233401]   ACL: acl_smtp_data is active
[20131113.233401]   ACL: acl_smtp_mail is active
[20131113.233401]   ACL: acl_smtp_quit is active
[20131113.233401]   ACL: acl_smtp_notquit is active
[20131113.233401]   ACL: acl_smtp_rcpt is active
[20131113.233401]   Provided options list is: deliver_queue_load_max|queue_only_load|daemon_smtp_ports|tls_on_connect_ports|system_filter_user|system_filter_group|tls_require_ciphers|hostlist loopback|hostlist senderverifybypass_hosts|hostlist skipsmtpcheck_hosts|hostlist spammeripblocks|hostlist backupmx_hosts|hostlist trustedmailhosts|hostlist relay_hosts|domainlist user_domains|smtp_accept_queue_per_connection|remote_max_parallel|smtp_receive_timeout|ignore_bounce_errors_after|rfc1413_query_timeout|timeout_frozen_after|auto_thaw|callout_domain_negative_expire|callout_negative_expire|acl_not_smtp|acl_smtp_connect|acl_smtp_data|acl_smtp_mail|acl_smtp_quit|acl_smtp_notquit|acl_smtp_rcpt|message_body_newlines|deliver_queue_load_max|queue_only_load|daemon_smtp_ports|tls_on_connect_ports|system_filter_user|system_filter_group|tls_require_ciphers|spamd_address
[20131113.233401]   Exim Insert Regex is: virtual_userdelivery|virtual_aliases|democheck|check_mail_permissions|remote_smtp|address_pipe|virtual_user|localuser|virtual_sa_user
[20131113.233401]   Exim Replace Regex is: virtual_sa_user|sa_localuser|virtual_sa_userdelivery|local_sa_delivery|cpanel_archiver|cpanel_archiver_transport|discover_sender_information|fixed_login|fixed_plain|lookuphost|remote_smtp|secure_login|secure_plain
[20131113.233401]   Exim Match Insert Regex is: 
[20131113.233401]   Exim version 4.80.1 #2 built 17-Oct-2013 11:05:42
[20131113.233401]   Copyright (c) University of Cambridge, 1995 - 2012
[20131113.233401]   (c) The Exim Maintainers and contributors in ACKNOWLEDGMENTS file, 2007 - 2012
[20131113.233401]   Berkeley DB: Berkeley DB 4.7.25: (April  4, 2012)
[20131113.233401]   Support for: crypteq iconv() IPv6 PAM Perl OpenSSL Content_Scanning DKIM Old_Demime Experimental_SPF Experimental_SRS
[20131113.233401]   Lookups (built-in): lsearch wildlsearch nwildlsearch iplsearch dbm dbmjz dbmnz passwd
[20131113.233401]   Authenticators: cram_md5 dovecot plaintext spa
[20131113.233401]   Routers: accept dnslookup ipliteral manualroute queryprogram redirect
[20131113.233401]   Transports: appendfile/maildir autoreply pipe smtp
[20131113.233401]   Size of off_t: 8
[20131113.233401]   
[20131113.233401]   Exim Perl Load List is: spamkey|mail_permissions|get_relayhosts_domain|checkuserquota|boxtrapper|fast_checkvalias|email_archiver|fast_isdemo|fast_accountfunc|0_mail_permissions_variables|checkpass_cphulkd|spam_acl_support|encode_string_literal|safefile|cpwrap|checkspam|z_preload_modules|email_send_limits|identify_local_connection
[20131113.233401]   /etc/exim.pl.local installed!
[20131113.233401]   razor2 is installed, enabled in SpamAssassin!
[20131113.233401]   pyzor is not installed, disabling it in SpamAssassin to save memory
[20131113.233401]   SPF is disabled in exim or unavailable, enabling SPF for SpamAssassin
[20131113.233401]   Refreshing SMTP Mail protection.
[20131113.233401]   SMTP Mail protection has been disabled.  All users may make outbound smtp connections.
[20131113.233403]   cpanel-perl-514-File-Scan-ClamAV-1.91-1.cp1136
[20131113.233403]   Prelinking is disabled.
[20131113.233403]   Checking for and running RPM::Versions 'post' hooks for any RPMs just installed
[20131113.233403]   All required 'post' hooks have been run
I try to fix:
/usr/local/cpanel/scripts/check_cpanel_rpms --fix

and after :
root@serveurcasse [~]# freshclam
bash: freshclam : commande introuvable
root@serveurcasse [/home/casse-noisettes]# clamscan -r --remove /
bash: clamscan : commande introuvable
???
 
Last edited:

cPanelMichael

Administrator
Staff member
Apr 11, 2011
47,880
2,267
463
Hello :)

It's possible the symbolic links were not setup if it's a new installation of ClamAV on cPanel 11.40. Try using the following commands:

Code:
/usr/local/cpanel/3rdparty/bin/freshclam
/usr/local/cpanel/3rdparty/bin/clamscan
Thank you.