Re: Cyrus DB Errors "DBERROR: error fetching user.username" even after reconstructs

2009-02-12 Thread Bron Gondwana
On Thu, Feb 12, 2009 at 09:45:58AM -0600, Josh Whitver wrote: > It's actually possible we are using BDB - earlier in the mail server's > life we moved it from a PowerPC G5 Xserve to the Intel Xserve, and we > needed to work around the endian issues inherent in some part of the > mail server,

Re: Cyrus DB Errors "DBERROR: error fetching user.username" even after reconstructs

2009-02-12 Thread Josh Whitver
It's actually possible we are using BDB - earlier in the mail server's life we moved it from a PowerPC G5 Xserve to the Intel Xserve, and we needed to work around the endian issues inherent in some part of the mail server, so I recall converting a database in some direction, either from BDB

Re: Cyrus DB Errors "DBERROR: error fetching user.username" even after reconstructs

2009-02-11 Thread Bron Gondwana
On Tue, 10 Feb 2009 15:59:09 -0600, "Josh Whitver" said: > Whenever an IMAP connection is attempted, I see this in the log: > Feb 10 09:14:17 urbandale imap[34508]: DBERROR: error fetching user. > [username]: cyrusdb error OK - there are two spots in the code that can produce exactly that erro

Re: Cyrus DB Errors "DBERROR: error fetching user.username" even after reconstructs

2009-02-11 Thread Dan White
Dan White wrote: > > imapcmd="proxyd -U 30" listen="1.2.3.4:imap" > prefork=0 maxchild=200 > imaplh cmd="imapd -U 30 -D" listen="127.0.0.1:imap" > prefork=0 maxchild=200 > > Typo. That's what I get for cutting and pasting from different systems. Both cmds

Re: Cyrus DB Errors "DBERROR: error fetching user.username" even after reconstructs

2009-02-11 Thread Dan White
Josh Whitver wrote: > Thanks, but I've already gone in via cyradm and deleted the mailboxes > and recreated them, and following the steps above, completely rebuilt > the mailboxes.db file last night - same problems. Thank you Mario, > but I think my princess is in another castle! :) > Jos

Re: Cyrus DB Errors "DBERROR: error fetching user.username" even after reconstructs

2009-02-11 Thread Josh Whitver
On Feb 11, 2009, at 1:49 PM, Blake Hudson wrote: >> On Feb 10, 2009, at 9:52 PM, Josh Whitver wrote: >> >> Yeah, you have a broken mailboxes.db I'd say! >> >> Here's what I would do: >> >> # stop cyrus >> cyr_dbtool /var/imap/mailboxes.db skiplist show > mailboxes.dump >

Re: Cyrus DB Errors "DBERROR: error fetching user.username" even after reconstructs

2009-02-11 Thread Blake Hudson
Original Message Subject: Re: Cyrus DB Errors "DBERROR: error fetching user.username" evenafter reconstructs From: Josh Whitver To: info-cyrus@lists.andrew.cmu.edu Date: Wednesday, February 11, 2009 1:32:52 PM > On Feb 10, 2009, at 9:52 PM, Josh

Re: Cyrus DB Errors "DBERROR: error fetching user.username" even after reconstructs

2009-02-11 Thread Josh Whitver
On Feb 10, 2009, at 9:52 PM, Josh Whitver wrote: Yeah, you have a broken mailboxes.db I'd say! Here's what I would do: # stop cyrus cyr_dbtool /var/imap/mailboxes.db skiplist show > mailboxes.dump cyr_dbtool -n /var/lib/mailboxes_new.db skiplist set < mailbox

Re: Cyrus DB Errors "DBERROR: error fetching user.username" even after reconstructs

2009-02-10 Thread Josh Whitver
On Feb 10, 2009, at 6:11 PM, Bron Gondwana wrote: > On Tue, Feb 10, 2009 at 05:20:42PM -0600, Josh Whitver wrote: >> On Feb 10, 2009, at 5:08 PM, Bron Gondwana wrote: >>> >>> Yeah, you have a broken mailboxes.db I'd say! >>> >>> Here's what I would do: >>> >>> # stop cyrus >>> cyr_dbtool /var

Re: Cyrus DB Errors "DBERROR: error fetching user.username" even after reconstructs

2009-02-10 Thread Bron Gondwana
On Tue, Feb 10, 2009 at 05:20:42PM -0600, Josh Whitver wrote: > On Feb 10, 2009, at 5:08 PM, Bron Gondwana wrote: >>> >> >> Yeah, you have a broken mailboxes.db I'd say! >> >> Here's what I would do: >> >> # stop cyrus >> cyr_dbtool /var/imap/mailboxes.db skiplist show > mailboxes.dump >> cyr_dbtoo

Re: Cyrus DB Errors "DBERROR: error fetching user.username" even after reconstructs

2009-02-10 Thread Josh Whitver
On Feb 10, 2009, at 5:08 PM, Bron Gondwana wrote: >> > > Yeah, you have a broken mailboxes.db I'd say! > > Here's what I would do: > > # stop cyrus > cyr_dbtool /var/imap/mailboxes.db skiplist show > mailboxes.dump > cyr_dbtool -n /var/lib/mailboxes_new.db skiplist set < mailboxes.dump > mv /var/im

Re: Cyrus DB Errors "DBERROR: error fetching user.username" even after reconstructs

2009-02-10 Thread Bron Gondwana
On Tue, Feb 10, 2009 at 03:59:09PM -0600, Josh Whitver wrote: > Hello all, > > I've got one user on my mail system that Cyrus seems to have it in > for. IMAP connections stall out, mail messages to her get stuck in > the Postfix queue indefinitely, and things just generally aren't > working

Cyrus DB Errors "DBERROR: error fetching user.username" even after reconstructs

2009-02-10 Thread Josh Whitver
Hello all, I've got one user on my mail system that Cyrus seems to have it in for. IMAP connections stall out, mail messages to her get stuck in the Postfix queue indefinitely, and things just generally aren't working for her. Server is an Intel Xserve running Mac OS X 10.5.5 Server, cli