Can't mark messages as read after server crash

Simon Matter simon.matter at ch.sauter-bc.com
Sat Aug 6 04:52:06 EDT 2005


> Hello,
>
> I have Cyrus 2.2.6 and recently had a power-outtage.  Since that
> happened, I have been unable to mark my messages "as read".  That is, I
> can mark them as read in my mail client, but as soon as I restart the
> client, the messages go back to unread state.  I suspect something got
> corrupted on the server during the server crash, but I don't know what.

Maybe the seen database is corrupt. I guess /var/lib/imap/user/o/otis.seen
is skiplist so I don't know what the correct way is to recover. At least
you can try to convert it with cvt_cyrusdb to BDB and back to skiplist
again.

Simon

>
> I've restarted the server, but that hasn't helped.
> When I restart the server I see the following in the log (among a few
> other things):
>
> Aug  5 17:59:04 vis master[30267]: about to exec
> /usr/lib/cyrus-imapd/ctl_cyrusdb
> Aug  5 17:59:04 vis ctl_cyrusdb[30267]: recovering cyrus databases
> Aug  5 17:59:04 vis ctl_cyrusdb[30267]: skiplist: recovered
> /var/lib/imap/mailboxes.db (26 records, 16736 bytes) in 0 secondsAug  5
> 17:59:04 vis ctl_cyrusdb[30267]: done recovering cyrus databases
> Aug  5 17:59:04 vis master[30264]: ready for work
> ....
> Aug  5 17:59:04 vis imap[30269]: skiplist: recovered
> /var/lib/imap/annotations.db (0 records, 144 bytes) in 0 seconds
> ....
>
>
> Also:
>
> /var/lib/imap$ ll
> total 188
> -rw-------  1 cyrus mail   144 Aug  5 17:59 annotations.db
> drwx------  2 cyrus mail  4096 Aug  5 04:02 backup
> drwx------  2 cyrus mail  4096 Aug  5 17:59 db
> drwx------  2 cyrus mail  4096 Aug  5 17:59 db.backup1
> drwx------  2 cyrus mail  4096 Aug  5 17:33 db.backup2
> -rw-------  1 cyrus mail 28672 Aug  5 17:59 deliver.db
> drwx------  4 cyrus mail  4096 Jul  6 00:07 domain
> drwx------  2 cyrus mail  4096 Oct  5  2004 log
> -rw-------  1 cyrus mail 16736 Aug  5 17:59 mailboxes.db
> drwx------  2 cyrus mail  4096 Oct  5  2004 msg
> drwx------  2 cyrus mail  4096 Aug  5 13:35 proc
> drwxr-xr-x  2 cyrus mail  4096 May 15 22:47 ptclient
> drwx------  2 cyrus mail  4096 Oct  5  2004 quota
> drwx------  2 cyrus mail  4096 Aug  5 17:59 rpm
> drwx------  2 cyrus mail  4096 Oct  5  2004 sieve
> drwxr-x---  2 cyrus mail  4096 Aug  5 17:59 socket
> -rw-------  1 cyrus mail  8192 Aug  5 04:03 tls_sessions.db
> drwx------  4 cyrus mail  4096 May 17 16:58 user
>
>
> /var/lib/imap$ ll /var/lib/imap/user/o/
> total 24
> -rw-------  1 cyrus mail 11576 Aug  5 13:15 otis.seen
> -rw-------  1 cyrus mail   221 Jul 31 23:21 otis.sub
>
>
> Does anyone know how I can clean things up, so I can start marking my
> messages as read?
>
> Thanks,
> Otis
> ---
> 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
>
>


---
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