Re: DBERROR

From: Alain Spineux (no email)
Date: Thu Dec 06 2007 - 11:56:29 EST

  • Next message: Jeff Blaine: "Re: DBERROR"

    On Dec 6, 2007 5:03 PM, Jeff Blaine <> wrote:
    > bash-2.05# ls -l *db
    > -rw------- 1 cyrus mail 144 Dec 5 16:56 annotations.db
    > -rw------- 1 cyrus mail 144 Dec 5 16:56 deliver.db
    > -rw------- 1 cyrus mail 144 Dec 5 16:56 mailboxes.db

    144 bytes ! Not a lot !

    If you have a backup, try to restore from it (make a copy of *.db and
    db/* files) before :-)
    If not try to repair using the log files (in db/*), but db_tools are
    very user unfriendly :-(
    Or remove theses files and recreate your mailboxes using cyradm.

    >
    > db:
    > total 29618
    > -rw------- 1 cyrus mail 8192 Dec 6 10:57 __db.001
    > -rw------- 1 cyrus mail 663552 Dec 5 16:56 __db.002
    > -rw------- 1 cyrus mail 98304 Dec 5 16:56 __db.003
    > -rw------- 1 cyrus mail 21061632 Dec 5 16:56 __db.004
    > -rw------- 1 cyrus mail 32768 Dec 5 16:56 __db.005
    > -rw------- 1 cyrus mail 4 Dec 5 16:56 skipstamp
    > bash-2.05#
    >
    >
    > Alain Spineux wrote:
    > > On Dec 5, 2007 11:38 PM, Jeff Blaine <> wrote:
    > >> This is a brand new install. After running tools/mkimap and
    > >> starting master, I get this. What's the deal?
    > >
    > >
    > >
    > > look for files :
    > >
    > > # ll /var/lib/imap/*.db
    > > -rw------- 1 cyrus mail 144 Nov 28 11:01 /var/lib/imap/annotations.db
    > > -rw-r--r-- 1 cyrus mail 16384 Dec 6 08:01 /var/lib/imap/deliver.db
    > > -rw------- 1 cyrus mail 3760 Nov 28 11:01 /var/lib/imap/mailboxes.db
    > > -rw------- 1 cyrus mail 8192 Dec 6 04:01 /var/lib/imap/tls_sessions.db
    > >
    > > look for access rights.
    > >
    > >> Dec 5 17:26:57 alberta.foo.com ctl_cyrusdb[3713]: DBERROR: error
    > >> listing log files: DB_NOTFOUND: No matching key/data pair found
    > >> Dec 5 17:26:57 alberta.foo.com ctl_cyrusdb[3713]: DBERROR: archive
    > >> /var/imap/db: cyrusdb error
    > >> Dec 5 17:26:57 alberta.foo.com ctl_cyrusdb[3713]: DBERROR: error
    > >> listing log files: DB_NOTFOUND: No matching key/data pair found
    > >> Dec 5 17:26:57 alberta.foo.com ctl_cyrusdb[3713]: DBERROR: archive
    > >> /var/imap/db: cyrusdb error
    > >>
    > >> ----
    > >> Cyrus Home Page: http://cyrusimap.web.cmu.edu/
    > >> Cyrus Wiki/FAQ: http://cyrusimap.web.cmu.edu/twiki
    > >> List Archives/Info: http://asg.web.cmu.edu/cyrus/mailing-list.html
    > >>
    > >
    > >
    > >
    >

    -- 
    Alain Spineux
    aspineux gmail com
    May the sources be with you
    ----
    Cyrus Home Page: http://cyrusimap.web.cmu.edu/
    Cyrus Wiki/FAQ: http://cyrusimap.web.cmu.edu/twiki
    List Archives/Info: http://asg.web.cmu.edu/cyrus/mailing-list.html
    

  • Next message: Jeff Blaine: "Re: DBERROR"





    Hosted Email Solutions

    Invaluement Anti-Spam DNSBLs



    Powered By FreeBSD   Powered By FreeBSD