I've been running the 4.5.8 edition on ubuntu 6.06 for a while, and I thought it was time to upgrade to 5.0.2. So after taking a copy of the /opt/zimbra folder, I ran the install script from 5.0.2.

I chose to do an upgrade, and the script seemed to go fine until initializing documents, where it seemed to hang. Meanwhile, according to zimbra.log, everything else was going fine. Mail was being received. But there are several problems.

I can't connect via imap, or the web interface, telnet'ing to localhost 7025 doesn't produce the mail header (although it connects) and there are entries like this in zimbra.log:

Mar 10 12:42:39 mail postfix/lmtp[6132]: 5C855DD9F0: to=, relay=mail.domain.tld[a.b.c.d]:7025, delay=5212, delays=4911/0.51/300/0, dsn=4.4.2, status=deferred (conversation with mail.domain.tld[a.b.c.d] timed out while receiving the initial server greeting)
(I've removed hostnames and ip addresses).

What can I do to troubleshoot this?