The problem with qtp-newmodel was on the old server (VERY out of date
... QmailToaster from early 2005 (I don't know which version), and
CentOS 4.2 [yum] upgraded to  4.7) was that it kept errorring out on
building packages for clamav.  When I told it to skip that (later
attempt), it then wanted to install the kernel-smp-devel.  So, after it
fails again, I tried to do a basic 'yum install kernel-smp-devel' and
get "Nothing to do".  I went to DaagWieers and made sure my repos were
up to date and tried again... "Nothing to do".  By then I was just
wanting to get a migration done (to the new, more stable equipment), so
I started a backup in order to follow through with a restore (even
though the versions are years apart).

Backup seemed to work fine on the old server (CentOS 4.7 w/ QMT ~2005),
but when I went to restore it to the new load of CentOS 5.2 and the
latest QMT (loaded last month...recent qtp-newmodel), it got caught in a
loop looking for something that it though didn't exist.  After it
showing this error repeatedly (didn't write it down) for :30, I killed
it, restored a snapshot, and tried a manual migration.

Thank you,
Patrick Ring

-----Original Message-----
From: news [mailto:n...@ger.gmane.org] On Behalf Of Eric Shubert
Sent: 2009-05-03 13:38
To: qmailtoaster-list@qmailtoaster.com
Subject: Re: [qmailtoaster] Big problems after old-to-new qmt migrate

Patrick Ring wrote:
> I've had a qmail toaster running problem-free (in a VMWare server) 
> since early 2005.  However, since the older machine it has been on was

> having recent problems I decided it would be good to migrate to a new 
> server (with a new qmailtoaster and OS).
> 
> So, I loaded up a new CentOS 5.3 server on a ESXi host (mostly what I 
> run now), and successfully installed the latest Qmail-Toaster along 
> with Qmail-Toaster-Plus.
> 
> I read that it is possible to copy over the configs/mysql/data from 
> old to new,  and should have no problems,

If you hadn't upgraded the old toaster at all, I doubt that this would
work. Certainly not the safest way to go.

> but I also read it was best to upgrade (qtp-newmodel) before doing so.

It's always a good idea to run the latest release.

> After pulling my hair out with several unsuccessful qtp-newmodel 
> attempts,

What were the problems? qtp-newmodel is pretty solid, and has run many
times on COS5.3, on virtual machines (VMware Server, but not ESXi that I
know of, although that should be transparent).

In addition, since you had built a fresh toaster, there should have been
nothing for qtp-newmodel to do.

> I decided to extract and copy over the following to the new
> server:
> /var/lib/squirrelmail/prefs/
> /usr/share/squirrelmail/plugins/
> /var/qmail/control/
> /usr/share/toaster/include/admin.pass
> /usr/share/toaster/include/admin.htpasswd
> /home/vpopmail/  (all dirs/subdirs)
> Mysqldump of vpopmail
> /var/qmail/users/assign
> /var/qmail/users/cdb

I would definitely not try to piecemeal a migration. qtp-backup and
qtp-restore make migration pretty trivial.

> I figured out that I needed to mod a couple of permissions and the
"cdb"
> file turned out to be important too, then I could easily log into the 
> admin-toaster web interface, and I could read mail via IMAP and/or 
> squirrelmail.  Currently POP3 is not authenticating, but the bigger 
> problem is that mail seems to be stacking up in the queue and not 
> going to the respective inboxes.
> 
> I've found that I also cannot "Read user mail" in the Webmin Qmail 
> interface (something I have been able to do as a diagnostic before). 
> It gives "You are not allowed to read email for any users on this
system."
> 
> I'm not really sure what to look at next.  Help would be greatly 
> appreciated.

I'd start over, and use qtp-backup and qtp-restore to migrate the data
over. That's the only way you'll know you have a stock (and stable)
toaster.

> Thank you,
> Patrick Ring
> 


--
-Eric 'shubes'


------------------------------------------------------------------------
---------
                 Managed Qmailtoaster servers are now available
       Visit http://qmailtoaster.com/QMTManaged.html to order yours
today!

Qmailtoaster is sponsored by Vickers Consulting Group
(www.vickersconsulting.com)

     Please visit qmailtoaster.com for the latest news, updates, and
packages.


          To unsubscribe, e-mail: testing-unsubscr...@qmailtoaster.com
         For additional commands, e-mail: testing-h...@qmailtoaster.com



---------------------------------------------------------------------------------
                 Managed Qmailtoaster servers are now available
       Visit http://qmailtoaster.com/QMTManaged.html to order yours today!

Qmailtoaster is sponsored by Vickers Consulting Group 
(www.vickersconsulting.com)

     Please visit qmailtoaster.com for the latest news, updates, and packages.


          To unsubscribe, e-mail: testing-unsubscr...@qmailtoaster.com
         For additional commands, e-mail: testing-h...@qmailtoaster.com


Reply via email to