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.

SOLVED Dovecot Upgrade, Broken Setup

Discussion in 'E-mail Discussions' started by lizolh, Dec 5, 2016.

Tags:
  1. lizolh

    lizolh Registered

    Joined:
    Oct 25, 2016
    Messages:
    4
    Likes Received:
    0
    Trophy Points:
    1
    Location:
    USA
    cPanel Access Level:
    Root Administrator
    Hi all,

    Here's my configuration basics:

    Code:
    /etc/redhat-release:CentOS release 5.11 (Final)
    /usr/local/cpanel/version:11.54.0.33
    /var/cpanel/envtype:standard
    CPANEL=release
    Server version: Apache/2.2.23 (Unix)
    Server built:   Oct 18 2012 14:54:19
    Cpanel::Easy::Apache v3.14.13 rev9999
    PHP 5.3.17 (cli) (built: Oct 18 2012 15:01:48)
    Copyright (c) 1997-2012 The PHP Group
    Zend Engine v2.3.0, Copyright (c) 1998-2012 Zend Technologies
    mysql  Ver 14.12 Distrib 5.0.96, for unknown-linux-gnu (x86_64) using readline 5.1
    
    I had been content to let cpanel automatically upgrade from Courier to Dovecot but this has turned out to be a serious mistake. I got the following email (in the codeblock below), and ever since then, there's been trouble; much of WHM's internal pages are stuck mid-upgrade (eg, I can't access Mailserver Configuration because it just goes to the

    cPanel & WHM Update in Progress

    This functionality is not available until the cPanel update is complete.

    page. I only noticed when I discovered that this server's ListMessenger newsletter mailer is super broken. Not a terribly surprising outcome, but one I'd like to resolve quickly, and settling out this apparently half-finished upgrade seems like the first step.)


    Code:
    The system failed to automatically remove Courier.
    
    Review the log for further details:
    
    WARNING: Courier is deprecated. If you switch away from Courier, you cannot switch back.
    
    The system configured the new mailserver in the cpanel.config file as dovecot
    
    Disabling chksrvd monitoring...
    Waiting for “tailwatchd” to restart ………waiting for “tailwatchd” to initialize ……
    …finished.
    
    Service Status
            tailwatchd (tailwatchd) is running as root with PID 7398 (pidfile check method).
    
    Startup Log
            [Sun Dec  4 01:04:06 2016] Starting /usr/local/cpanel/libexec/tailwatch/tailwatchd daemon
            Log is at /usr/local/cpanel/logs/tailwatchd_log
    
    tailwatchd restarted successfully.
    
    Halting Courier...
    
    Disabling the Courier service in the init system...
    
    Checking that Dovecot is up-to-date...
    [2016-12-04 01:04:08 -0600]   Downloading http://httpupdate.cpanel.net/RPM/11.48/centos/5/x86_64/rpm.sha512
    [2016-12-04 01:04:08 -0600]   Successfully verified signature for cpanel (key types: release).
    [2016-12-04 01:04:08 -0600]   Downloading http://httpupdate.cpanel.net/RPM/11.48/centos/5/x86_64/dovecot-2.2.19-1.cp1148.x86_64.rpm
    [2016-12-04 01:04:09 -0600]   Disabling service monitoring.
    [2016-12-04 01:04:11 -0600]   Hooks system enabled.
    [2016-12-04 01:04:11 -0600]   Checking for and running RPM::Versions 'pre' hooks for any RPMs about to be installed
    [2016-12-04 01:04:11 -0600]   All required 'pre' hooks have been run
    [2016-12-04 01:04:11 -0600]   Uninstalling unneeded rpms: courier-authlib-pipe courier-authlib courier-authlib-userdb courier-authlib-devel courier-imap courier-unicode courier-unicode-devel
    [2016-12-04 01:04:24 -0600]   Installing new rpms: dovecot-2.2.19-1.cp1148.x86_64.rpm
    [2016-12-04 01:04:24 -0600]   Preparing packages for installation...
    [2016-12-04 01:04:25 -0600]   dovecot-2.2.19-1.cp1148
    [2016-12-04 01:04:33 -0600]   Prelinking is disabled.
    [2016-12-04 01:04:33 -0600]   Hooks system enabled.
    [2016-12-04 01:04:33 -0600]   Checking for and running RPM::Versions 'post' hooks for any RPMs about to be installed
    [2016-12-04 01:04:33 -0600]   All required 'post' hooks have been run
    [2016-12-04 01:04:33 -0600]   Restoring service monitoring.
    
    Converting user maildirs to the Dovecot format...
    Converting /home/neoadmin/mail...ok
    Converting /home/neoadmin/mail/REDACTED.com/william...ok
    Converting /home/monster/mail...failed
    Converting /home/mispack/mail...ok
    Converting /home/widowers/mail...ok
    
    Some failures were encountered during maildir conversion process.
    Full log available at: /var/cpanel/logs/imap_conversion.log.1480835075
    
    Checking SSL certificates...Done.
    
    Checking for expired SSL certificates...Done.
    
    Enabling the Dovecot service in the init system...
    
    Starting Dovecot...
    
    Enabling Chksrvd monitoring...
    Waiting for “tailwatchd” to restart ………waiting for “tailwatchd” to initialize ……
    …finished.
    
    Service Status
            tailwatchd (tailwatchd) is running as root with PID 7795 (pidfile check method).
    
    Startup Log
            [Sun Dec  4 01:04:49 2016] Starting /usr/local/cpanel/libexec/tailwatch/tailwatchd daemon
            Log is at /usr/local/cpanel/logs/tailwatchd_log
    
    tailwatchd restarted successfully.
    
    Reconfiguring Exim for the new mailserver...
    
    Restarting Exim...
    
    WARNING: The system encountered errors during the conversion process.
    If anyone has any advice, I'd really appreciate it!

    Thanks,
    Liz
     
  2. Infopro

    Infopro cPanel Sr. Product Evangelist
    Staff Member

    Joined:
    May 20, 2003
    Messages:
    15,618
    Likes Received:
    296
    Trophy Points:
    433
    Location:
    Pennsylvania
    cPanel Access Level:
    Root Administrator
    Twitter:
  3. lizolh

    lizolh Registered

    Joined:
    Oct 25, 2016
    Messages:
    4
    Likes Received:
    0
    Trophy Points:
    1
    Location:
    USA
    cPanel Access Level:
    Root Administrator
    Hey there,

    I appreciate that, but unfortunately there's a Drupal 6 installation that is very incompatible with PHP 5.4+, and in general this server is so full of old, outdated website codes that I'm extremely reluctant to upgrade without taking great caution. I only inherited responsibility for it five weeks ago, so I'm still coming up with my full plan for that upgrade.

    Any advice would be welcome.
     
  4. Infopro

    Infopro cPanel Sr. Product Evangelist
    Staff Member

    Joined:
    May 20, 2003
    Messages:
    15,618
    Likes Received:
    296
    Trophy Points:
    433
    Location:
    Pennsylvania
    cPanel Access Level:
    Root Administrator
    Twitter:
    I don't want to sound too harsh here, but as many things that are out of date on that server, you've also got out of date scripts on your server that really, really, should be managed ASAP. Don't take my word for it though, have a look:
    cvedetails.com/vulnerability-list/vendor_id-1367/product_id-2387/Drupal-Drupal.html

    Not sure what Hosting Company you're with, doesn't matter here, but there are Hosting Providers that offer managed hosting and will move you to a new server. Lots of options to find a respected cPanel Partner here:
    cPanel Hosting Partner Directory
     
  5. lizolh

    lizolh Registered

    Joined:
    Oct 25, 2016
    Messages:
    4
    Likes Received:
    0
    Trophy Points:
    1
    Location:
    USA
    cPanel Access Level:
    Root Administrator
    Thank you!

    Best,
    Liz
     
  6. Infopro

    Infopro cPanel Sr. Product Evangelist
    Staff Member

    Joined:
    May 20, 2003
    Messages:
    15,618
    Likes Received:
    296
    Trophy Points:
    433
    Location:
    Pennsylvania
    cPanel Access Level:
    Root Administrator
    Twitter:
    Happy to help. GL!
     
Loading...

Share This Page