SOLVED Dovecot Upgrade, Broken Setup

lizolh

Registered
Oct 25, 2016
4
0
1
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
 

Infopro

Well-Known Member
May 20, 2003
17,075
524
613
Pennsylvania
cPanel Access Level
Root Administrator
Twitter

lizolh

Registered
Oct 25, 2016
4
0
1
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.
 

Infopro

Well-Known Member
May 20, 2003
17,075
524
613
Pennsylvania
cPanel Access Level
Root Administrator
Twitter
Any advice would be welcome.
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