Problem moving cyrus installation from 32 -> 64 bit system
Palle Girgensohn
girgen at pingpong.net
Fri Dec 10 21:30:46 EST 2004
Hi!
I'm trying to move an entire cyrus installation from FreeBSD 4.10 on IA32
(aka x386) to a new Dell 2850 running FreeBSD 5.3 (amd64, or really EM64T).
I use DB3, 3.3.11, on both machines.
Cyrus imapd 2.2.8 on the old one, 2.2.10 on the new one.
I've dumped/restored /var/imap & /var/spool/imap to the new system. The db3
files, deliver.db and tls_sessions.db, I had to db_dump @ old system &&
db_load back on the new system; it seems db3 uses a native format that
differs between 32 & 64 bit, ctl_cyrusdb -r crashed signal 11 otherwise.
When trying to start cyrus now, I get all sorts of strange problems.
master[38368]: process started
master[38369]: about to exec /usr/local/cyrus/bin/ctl_cyrusdb
ctl_cyrusdb[38369]: DBERROR db3: unable to join the environment
ctl_cyrusdb[38369]: DBERROR db3: Recovery function for LSN 37 4574898 failed
ctl_cyrusdb[38369]: DBERROR db3: warning: /var/imap/deliver.db: No such
file or directory
ctl_cyrusdb[38369]: DBERROR db3: Recovery function for LSN 37 4574898 failed
ctl_cyrusdb[38369]: DBERROR db3: warning: /var/imap/deliver.db: No such
file or directory
ctl_cyrusdb[38369]: DBERROR: dbenv->open '/var/imap/db' failed: No such
file or directory
ctl_cyrusdb[38369]: DBERROR: init() on berkeley
ctl_cyrusdb[38369]: recovering cyrus databases
ctl_cyrusdb[38369]: skiplist: recovered /var/imap/mailboxes.db (1503
records, 281168 bytes) in 0 seconds
ctl_cyrusdb[38369]: skiplist: recovered /var/imap/annotations.db (0
records, 144 bytes) in 0 seconds
ctl_cyrusdb[38369]: done recovering cyrus databases
master[38372]: about to exec /usr/local/cyrus/bin/idled
master[38368]: servname not supported for ai_socktype, disabling sieve
master[38368]: ready for work
master[38374]: about to exec /usr/local/cyrus/bin/ctl_cyrusdb
ctl_cyrusdb[38374]: checkpointing cyrus databases
ctl_cyrusdb[38374]: archiving database file: /var/imap/annotations.db
ctl_cyrusdb[38374]: archiving log file: /var/imap/db/log.0000000037
ctl_cyrusdb[38374]: archiving database file: /var/imap/mailboxes.db
ctl_cyrusdb[38374]: archiving log file: /var/imap/db/log.0000000037
ctl_cyrusdb[38374]: done checkpointing cyrus databases
master[38368]: process 38374 exited, status 0
master[38368]: exiting on SIGTERM/SIGINT
Also tried dumping and restoring some of the skiplist databases, but they
get identical on the new system.
Browing this list, it seems that it is generally recommended not to move
data from one system to another, but instead use something like cyradm's
xfermailbox, or moving everything using IMAP, but this seems really weird
when the versions of almost all stuff is so equal? But perhaps the 32 vs.
64 bits are acting up?
Any tips/help appreciated
/Palle
---
Cyrus Home Page: http://asg.web.cmu.edu/cyrus
Cyrus Wiki/FAQ: http://cyruswiki.andrew.cmu.edu
List Archives/Info: http://asg.web.cmu.edu/cyrus/mailing-list.html
More information about the Info-cyrus
mailing list