Skip to Main Content

Application Development Software

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

question about UpgradeMsg5toMsg7.pl

807574Feb 3 2010 — edited Feb 10 2020
Hi, everyone

I'm going to upgrade my mail server from 5.2p3 to mail07u3.
Before I do, I tested it and I got some error message while running UpgradeMsg5toMsg7.pl script, actually "make_mboxlistdb_changes.sh"
and I'm going to use only this --> "make_mboxlistdb_changes.sh" script.

-- mail5.2p2 --
ep_ms7: /mail07/iplanet/server5/msg-ms7 # ./imsimta version
iPlanet Messaging Server 5.2 Patch 2 (built Jul 14 2004)
libimta.so 5.2 Patch 2 (built 19:30:12, Jul 14 2004)
SunOS ep_ms7 5.9 Generic_122300-13 sun4u sparc SUNW,Sun-Fire

-- mail 7.0 u3 --

root@ep_ms14:/mail14/messaging64/sbin ] ./imsimta version
Sun Java(tm) System Messaging Server 7.3-11.01 64bit (built Sep 1 2009)
libimta.so 7.3-11.01 64bit (built 19:54:45, Sep 1 2009)
Using /mail14/messaging64/config/imta.cnf (compiled)
SunOS ep_ms14 5.10 Generic_141414-10 sun4u sparc SUNW,SPARC-Enterprise


1) I copied mboxlist directory from mail5.2p2 to mail 7.0 u3 and put that in a "/mail14/mailsrv/test" directory.
when I copied mail5.2p2 mboxlist directory, I used both way, after stopped messaging server and while messaging server was running.

root@ep_ms14:/mail14/mailsrv/test/store/mboxlist ] ls
__db_lock.share __db_mpool.share folder.db log.0000000013 quota.db
__db_log.share __db_txn.share folderlock peruser.db subscr.db

2) ran following command as root after stopped mail 7 server.

perl /mail14/messaging64/sbin/UpgradeMsg5toMsg7.pl /mail14/mailsrv/test /mail14/messaging64

3) ran following script

root@ep_ms14:/var/tmp/UpgradeMsg5toMsg7.ScratchDir ] ./make_mboxlistdb_changes.sh
upgrading mboxlist db files...
backing up /mail14/messaging64/data/store/mboxlist/folder.db
backing up /mail14/messaging64/data/store/mboxlist/quota.db
backing up /mail14/messaging64/data/store/mboxlist/subscr.db
backing up /mail14/messaging64/data/store/mboxlist/peruser.db
upgrading /mail14/messaging64/data/store/mboxlist/folder.db
upgrading /mail14/messaging64/data/store/mboxlist/quota.db
upgrading /mail14/messaging64/data/store/mboxlist/subscr.db
upgrading /mail14/messaging64/data/store/mboxlist/peruser.db
verifying /mail14/messaging64/data/store/mboxlist/folder.db
db_verify: folder.db: DB_VERIFY_BAD: Database verification failed
error occured, restoring backup...
cleaning up tmp files...
ERROR: ims_db_upgrade failed, restoring original mboxlist data


anybody who had that error message ?
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Mar 3 2010
Added on Feb 3 2010
2 comments
96 views