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.

Duplicate RPMs, 11.36.0.11, Virtuozzo and what it means to you

Discussion in 'General Discussion' started by Eric, Mar 12, 2013.

  1. Eric

    Eric Administrator
    Staff Member

    Joined:
    Nov 25, 2007
    Messages:
    746
    Likes Received:
    11
    Trophy Points:
    18
    Location:
    Texas
    cPanel Access Level:
    Root Administrator
    Howdy,

    With today’s publication of 11.36.0.11 to the release tier we have seen a few systems running Virtuozzo that have duplicate cPanel RPMs, specifically exim and pure-ftpd.

    Examples look like:

    Code:
    [root@svr01~]cPs# rpm -qa|grep -i pure
    pure-ftpd-1.0.36-3.cp1136
    pure-ftpd-1.0.36-1
    [root@svr01~]cPs# rpm -qa|grep -i exim
    exim-4.80-5
    exim-4.80-4.cp1136
    
    - From inside the virtual container it appears the Virtuozzo host kills off the RPM process and stops the update of the service in question. In some cases this only occurs on one or the other process, often times it’s both.
    
This can be corrected by removing the entries from the rpm database and reinstalling.

    Code:
    rpm -e --nodeps --allmatches --justdb pure-ftpd exim
    /usr/local/cpanel/scripts/check_cpanel_rpms --fix
    
    Internally we have this filed as case 64021 and will update our change log with any proactive auto recovery made on cPanel’s part to mitigate this issue.

    We apologize for any inconvenience this may have caused.

    Thanks!
     
    #1 Eric, Mar 12, 2013
    Last edited by a moderator: Mar 13, 2013
  2. Eric

    Eric Administrator
    Staff Member

    Joined:
    Nov 25, 2007
    Messages:
    746
    Likes Received:
    11
    Trophy Points:
    18
    Location:
    Texas
    cPanel Access Level:
    Root Administrator
    Successful corrections to this will look similar to this:

    Code:
    grimlock ~ # rpm -e --nodeps --allmatches --justdb pure-ftpd exim
    grimlock ~ # /usr/local/cpanel/scripts/check_cpanel_rpms --fix
    [20130312.193831]   
    [20130312.193831]   Problems were detected with cPanel-provided files which are RPM controlled.
    [20130312.193831]   If you did not make these changes intentionally, you can correct them by running:
    [20130312.193831]   
    [20130312.193831]   > /usr/local/cpanel/scripts/check_cpanel_rpms --fix
    [20130312.193831]   The following RPMs are missing from your system:
    [20130312.193831]   pure-ftpd.1.0.36-3.cp1136
    [20130312.193831]   exim.4.80-4.cp1136
    [20130312.193838]   Removing 0 broken rpms: 
    [20130312.193838]   rpm: no packages given for erase
    [20130312.193839]   Downloading http://httpupdate.cpanel.net/RPM/11.36/centos/6/x86_64/rpm.md5
    [20130312.193839]   Downloading http://httpupdate.cpanel.net/RPM/11.36/centos/6/x86_64/pure-ftpd-1.0.36-3.cp1136.x86_64.rpm
    [20130312.193839]   Downloading http://httpupdate.cpanel.net/RPM/11.36/centos/6/x86_64/exim-4.80-4.cp1136.x86_64.rpm
    [20130312.193839]   Hooks system enabled
    [20130312.193839]   Checking for and running RPM::Versions 'pre' hooks for any RPMs about to be installed
    warn [check_cpanel_rpms] program "/scripts/preftpup" is not executable
    warn [check_cpanel_rpms] program "/scripts/preeximup" is not executable
    [20130312.193839]   All required 'pre' hooks have been run
    [20130312.193840]   No RPMS need to be uninstalled
    [20130312.193840]   Installing new rpms: pure-ftpd-1.0.36-3.cp1136.x86_64.rpm exim-4.80-4.cp1136.x86_64.rpm
    [20130312.193840]   Preparing packages for installation...
    [20130312.193840]   Resetting Exim to cPanel Defaults and Installing the Latest Version
    [20130312.193840]   /usr/bin/chattr: Operation not supported while reading flags on /usr/lib/sendmail
    [20130312.193840]   exim-4.80-4.cp1136
    [20130312.193840]   warning: /etc/eximrejects saved as /etc/eximrejects.rpmorig
    [20130312.193840]   warning: /etc/localaliases created as /etc/localaliases.rpmnew
    [20130312.193840]   warning: /etc/localdomains created as /etc/localdomains.rpmnew
    [20130312.193840]   Configuration file passes test!  New configuration file was installed.
    [20130312.193840]   
    [20130312.193840]   /etc/exim.pl.local.build syntax OK
    [20130312.193840]   Enabled system filter options: attachments|spam_rewrite
    [20130312.193840]   Enabled ACL options in block ACL_MAIL_PRE_BLOCK: default_mail_pre
    [20130312.193840]   Enabled ACL options in block ACL_RECIPIENT_POST_BLOCK: default_recipient_post
    [20130312.193840]   Enabled ACL options in block ACL_SPAM_SCAN_CHECK_BLOCK: default_spam_scan_check
    [20130312.193840]   Enabled ACL options in block ACL_CHECK_MESSAGE_PRE_BLOCK: default_check_message_pre
    [20130312.193840]   Enabled ACL options in block ACL_CONNECT_POST_BLOCK: default_connect_post
    [20130312.193840]   Enabled ACL options in block ACL_OUTGOING_NOTSMTP_CHECKALL_BLOCK: resolve_vhost_owner|end_default_outgoing_notsmtp_checkall
    [20130312.193840]   Enabled ACL options in block ACL_CONNECT_BLOCK: ratelimit|slow_fail_block|spammerlist
    [20130312.193840]   Enabled ACL options in block ACL_POST_RECP_VERIFY_BLOCK: dictionary_attack
    [20130312.193840]   Enabled ACL options in block ACL_TRUSTEDLIST_BLOCK: trustedmailhosts
    [20130312.193840]   Enabled ACL options in block ACL_IDENTIFY_SENDER_BLOCK: default_identify_sender|default_message_submission
    [20130312.193840]   Enabled ACL options in block ACL_MAIL_BLOCK: requirehelo|requirehelonoforge|requirehelosyntax
    [20130312.193840]   Enabled ACL options in block ACL_PRE_RECIPIENT_BLOCK: dkim_disable
    [20130312.193840]   Enabled ACL options in block ACL_CHECK_MESSAGE_POST_BLOCK: default_check_message_post
    [20130312.193840]   Enabled ACL options in block ACL_POST_SPAM_SCAN_CHECK_BLOCK: mailproviders
    [20130312.193840]   Enabled ACL options in block ACL_SMTP_QUIT_BLOCK: slow_fail_block
    [20130312.193840]   Enabled ACL options in block ACL_SPAM_SCAN_BLOCK: default_spam_scan
    [20130312.193840]   Enabled ACL options in block ACL_NOTQUIT_BLOCK: ratelimit
    [20130312.193840]   Enabled ACL options in block ACL_RECP_VERIFY_BLOCK: default_recp_verify
    [20130312.193840]   Enabled ACL options in block ACL_PRE_SPAM_SCAN: mailproviders
    [20130312.193840]   Enabled ACL options in block ACL_EXISCAN_BLOCK: default_exiscan
    [20130312.193840]   Enabled ACL options in block ACL_RECIPIENT_MAILMAN_BLOCK: default_recipient_mailman
    [20130312.193840]   Enabled ACL options in block ACL_RECIPIENT_BLOCK: default_recipient
    [20130312.193840]   Enabled ACL options in block ACL_MAIL_POST_BLOCK: default_mail_post
    [20130312.193840]   Detected spam handling in acls, disabling spamassassin in routers & transports!.
    [20130312.193840]   SpamAssassin method remains unchanged
    [20130312.193840]   Configured options list is: disable_ipv6
    [20130312.193840]   ACL: acl_not_smtp is active
    [20130312.193840]   ACL: acl_smtp_connect is active
    [20130312.193840]   ACL: acl_smtp_data is active
    [20130312.193840]   ACL: acl_smtp_mail is active
    [20130312.193840]   ACL: acl_smtp_quit is active
    [20130312.193840]   ACL: acl_smtp_notquit is active
    [20130312.193840]   ACL: acl_smtp_rcpt is active
    [20130312.193840]   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|av_scanner|spamd_address
    [20130312.193840]   Exim Insert Regex is: virtual_userdelivery|virtual_aliases|democheck|check_mail_permissions|remote_smtp|address_pipe|virtual_user|localuser|virtual_sa_user
    [20130312.193840]   Exim Replace Regex is: virtual_sa_user|sa_localuser|virtual_sa_userdelivery|local_sa_delivery|cpanel_archiver|cpanel_archiver_transport|fixed_login|fixed_plain|lookuphost|remote_smtp|secure_login|secure_plain
    [20130312.193840]   Exim Match Insert Regex is: 
    [20130312.193840]   Skipping boxtrapper_autowhitelist entry in check_mail_permissions insert as it requires boxtrapper and it is disabled or unavailable.
    [20130312.193840]   Skipping boxtrapper_verify_dkim_lookuphost entry in lookuphost replace insert as it requires boxtrapper and it is disabled or unavailable.
    [20130312.193840]   Skipping boxtrapper_verify_lookuphost entry in lookuphost replace insert as it requires boxtrapper and it is disabled or unavailable.
    [20130312.193840]   Skipping virtual_boxtrapper_user entry in virtual_user insert as it requires boxtrapper and it is disabled or unavailable.
    [20130312.193840]   Skipping boxtrapper_localuser entry in localuser insert as it requires boxtrapper and it is disabled or unavailable.
    [20130312.193840]   Skipping boxtrapper_autowhitelist entry in virtual_userdelivery insert as it requires boxtrapper and it is disabled or unavailable.
    [20130312.193840]   Skipping local_boxtrapper_delivery entry in virtual_userdelivery insert as it requires boxtrapper and it is disabled or unavailable.
    [20130312.193840]   Skipping virtual_boxtrapper_userdelivery entry in virtual_userdelivery insert as it requires boxtrapper and it is disabled or unavailable.
    [20130312.193840]   Exim version 4.80 #2 built 13-Nov-2012 15:11:39
    [20130312.193840]   Copyright (c) University of Cambridge, 1995 - 2012
    [20130312.193840]   (c) The Exim Maintainers and contributors in ACKNOWLEDGMENTS file, 2007 - 2012
    [20130312.193840]   Berkeley DB: Berkeley DB 4.7.25: (November 12, 2010)
    [20130312.193840]   Support for: crypteq iconv() IPv6 PAM Perl OpenSSL Content_Scanning DKIM Old_Demime Experimental_SPF Experimental_SRS
    [20130312.193840]   Lookups (built-in): lsearch wildlsearch nwildlsearch iplsearch dbm dbmjz dbmnz passwd
    [20130312.193840]   Authenticators: cram_md5 dovecot plaintext spa
    [20130312.193840]   Routers: accept dnslookup ipliteral manualroute queryprogram redirect
    [20130312.193840]   Transports: appendfile/maildir autoreply pipe smtp
    [20130312.193840]   Size of off_t: 8
    [20130312.193840]   
    [20130312.193840]   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|checkspam|z_preload_modules|email_send_limits|identify_local_connection
    [20130312.193840]   /etc/exim.pl.local installed!
    [20130312.193840]   razor2 is not installed, disabling it in SpamAssassin to save memory
    [20130312.193840]   pyzor is not installed, disabling it in SpamAssassin to save memory
    [20130312.193840]   SPF is disabled in exim or unavailable, enabling SPF for SpamAssassin
    [20130312.193841]   Refreshing SMTP Mail protection.
    [20130312.193841]   SMTP Mail protection has been disabled.  All users may make outbound smtp connections.
    [20130312.193842]   
    [20130312.193844]   exim: no process killed
    [20130312.193853]   Waiting for exim to restart...........finished.
    [20130312.193853]   
    [20130312.193853]   exim (/usr/sbin/exim -bd -q60m) running as mailnull with PID 6721 (pidfile check method)
    [20130312.193853]   
    [20130312.193853]   exim started ok
    [20130312.193853]   0 entries written
    [20130312.193853]   0 entries written
    [20130312.193853]   0 entries written
    [20130312.193853]   0 entries written
    [20130312.193905]   Waiting for exim to restart..........finished.
    [20130312.193905]   
    [20130312.193905]   exim (/usr/sbin/exim -bd -q60m) running as mailnull with PID 6843 (process table check method)
    [20130312.193905]   
    [20130312.193905]   exim started ok
    [20130312.193905]   Install Complete
    [20130312.193905]   pure-ftpd-1.0.36-3.cp1136
    [20130312.193905]   warning: /etc/pure-ftpd.conf saved as /etc/pure-ftpd.conf.rpmorig
    [20130312.193911]   Waiting for ftpserver to restart.........finished.
    [20130312.193911]   
    [20130312.193911]   pure-ftpd (pure-ftpd (SERVER)) running as root with PID 6870 (process table check method)
    [20130312.193911]   pure-authd (/usr/sbin/pure-authd -s /var/run/ftpd.sock -r /usr/local/cpanel/bin/pureauth) running as root with PID 6872 (pidfile check method)
    [20130312.193911]   
    [20130312.193911]   ftpserver started ok
    [20130312.193911]   Checking for and running RPM::Versions 'post' hooks for any RPMs just installed
    warn [check_cpanel_rpms] program "/scripts/postftpinstall" is not executable
    warn [check_cpanel_rpms] program "/scripts/postftpup" is not executable
    warn [check_cpanel_rpms] program "/scripts/posteximup" is not executable
    [20130312.193911]   All required 'post' hooks have been run
    
     
Loading...

Share This Page