I'm using the unified imap tree (with some assistance from Ken Murchison) to have 3 servers use the same filesystem on a SAN with GPFS.
When I start cyrus on either the master or the slaves, I get the errors shown below. I think I just need to specify the database format(s) in my imapd.conf file.
My questions are
(1) What DB file format is best for my configuration
(2) Why didn't I get these errors until I configured MUPDATE. Does mupdate expect Berkeley DB files?
(3) Can I fix this just by using cvt_cyrusdb?
I don't think this is your problem. See below.
Feb 17 11:22:27 pdb-mail-2 imap[7097]: DBERROR db4: mmap: Invalid argument
Feb 17 11:22:27 pdb-mail-2 imaps[7098]: DBERROR db4: mmap: Invalid argument
Feb 17 11:22:27 pdb-mail-2 pop3[7099]: DBERROR db4: mmap: Invalid argument
Feb 17 11:22:27 pdb-mail-2 pop3s[7100]: DBERROR db4: mmap: Invalid argument
Feb 17 11:22:27 pdb-mail-2 mupdate[7101]: DBERROR db4: mmap: Invalid argument
Feb 17 11:22:27 pdb-mail-2 imap[7097]: DBERROR: dbenv->open '/gpfstest/cyrus/lib
/imap/db' failed: Invalid argument
Feb 17 11:22:27 pdb-mail-2 imaps[7098]: DBERROR: dbenv->open '/gpfstest/cyrus/li
b/imap/db' failed: Invalid argument
Feb 17 11:22:27 pdb-mail-2 pop3[7099]: DBERROR: dbenv->open '/gpfstest/cyrus/lib
/imap/db' failed: Invalid argument
Feb 17 11:22:27 pdb-mail-2 pop3s[7100]: DBERROR: dbenv->open '/gpfstest/cyrus/li
b/imap/db' failed: Invalid argument
Feb 17 11:22:27 pdb-mail-2 mupdate[7101]: DBERROR: dbenv->open '/gpfstest/cyrus/
lib/imap/db' failed: Invalid argument
Feb 17 11:22:27 pdb-mail-2 imap[7097]: DBERROR: init() on berkeley
Feb 17 11:22:27 pdb-mail-2 imaps[7098]: DBERROR: init() on berkeley
Feb 17 11:22:27 pdb-mail-2 pop3[7099]: DBERROR: init() on berkeley
Feb 17 11:22:27 pdb-mail-2 pop3s[7100]: DBERROR: init() on berkeley
Feb 17 11:22:27 pdb-mail-2 mupdate[7101]: DBERROR: init() on berkeley
Feb 17 11:22:27 pdb-mail-2 imap[7097]: executed
Feb 17 11:22:27 pdb-mail-2 imaps[7098]: executed
Feb 17 11:22:27 pdb-mail-2 pop3[7099]: executed
Feb 17 11:22:27 pdb-mail-2 master[5355]: exiting on SIGTERM/SIGINT
It looks to me like you're sharing the BDB environment directory (/gpfstest/cyrus/lib/imap/db). You definitely do not want to do this, each machine should have its own local BDB environment directory.
-- Kenneth Murchison Oceana Matrix Ltd. Software Engineer 21 Princeton Place 716-662-8973 x26 Orchard Park, NY 14127 --PGP Public Key-- http://www.oceana.com/~ken/ksm.pgp --- Home Page: http://asg.web.cmu.edu/cyrus Wiki/FAQ: http://cyruswiki.andrew.cmu.edu List Archives/Info: http://asg.web.cmu.edu/cyrus/mailing-list.html