checkpointing failed on production server

Nicolas Schmitz Nicolas.Schmitz at ec-nantes.fr
Wed Oct 13 05:31:07 EDT 2004


I forgot to mention that I use cyrus-2.2.3 from source and Berkeley 
4.2.52 with the 2 patchs.


Nicolas Schmitz wrote:

> Hi,
> after a crash and an fsck on the data disk, I moved the content of the 
> db directory and run
> /usr/cyrus/bin/ctl_cyrusdb -r as user cyrus. I also used 
> /usr/cyrus/bin/reconstruct.
>
> Now, cyrus start ok, and people can use imap/pop again (ouf !).
>
> But the checkpointing failed :
>
> Oct 13 10:48:30 faramir master[5434]: about to exec 
> /usr/cyrus/bin/ctl_cyrusdb
> Oct 13 10:48:30 faramir ctl_cyrusdb[5434]: checkpointing cyrus databases
> Oct 13 10:48:30 faramir ctl_cyrusdb[5434]: archiving database file: 
> /user/varimap/annotations.db
> Oct 13 10:48:31 faramir ctl_cyrusdb[5434]: DBERROR db4: 
> DB_ENV->log_flush: LSN of 25/7166991 past current end-of-log of 1/2381902
> Oct 13 10:48:31 faramir ctl_cyrusdb[5434]: DBERROR db4: Database 
> environment corrupt; the wrong log files may have been removed or 
> incompatible database files imported from another environment
> Oct 13 10:48:31 faramir ctl_cyrusdb[5434]: DBERROR db4: 
> /user/varimap/tls_sessions.db: unable to flush page: 0
> Oct 13 10:48:31 faramir ctl_cyrusdb[5434]: DBERROR db4: 
> txn_checkpoint: failed to flush the buffer cache Invalid argument
> Oct 13 10:48:31 faramir ctl_cyrusdb[5434]: DBERROR: couldn't 
> checkpoint: Invalid argument
> Oct 13 10:48:31 faramir ctl_cyrusdb[5434]: DBERROR: sync 
> /user/varimap/db: cyrusdb error
> Oct 13 10:48:31 faramir ctl_cyrusdb[5434]: archiving log file: 
> /user/varimap/db/log.0000000001
> Oct 13 10:48:31 faramir ctl_cyrusdb[5434]: archiving database file: 
> /user/varimap/mailboxes.db
> Oct 13 10:48:31 faramir ctl_cyrusdb[5434]: DBERROR db4: 
> DB_ENV->log_flush: LSN of 25/7166991 past current end-of-log of 1/2381902
> Oct 13 10:48:31 faramir ctl_cyrusdb[5434]: DBERROR db4: Database 
> environment corrupt; the wrong log files may have been removed or 
> incompatible database files imported from another environment
> Oct 13 10:48:31 faramir ctl_cyrusdb[5434]: DBERROR db4: 
> /user/varimap/tls_sessions.db: unable to flush page: 0
> Oct 13 10:48:31 faramir ctl_cyrusdb[5434]: DBERROR db4: 
> txn_checkpoint: failed to flush the buffer cache Invalid argument
> Oct 13 10:48:31 faramir ctl_cyrusdb[5434]: DBERROR: couldn't 
> checkpoint: Invalid argument
> Oct 13 10:48:31 faramir ctl_cyrusdb[5434]: DBERROR: sync 
> /user/varimap/db: cyrusdb error
> Oct 13 10:48:31 faramir ctl_cyrusdb[5434]: archiving log file: 
> /user/varimap/db/log.0000000001
> Oct 13 10:48:31 faramir ctl_cyrusdb[5434]: done checkpointing cyrus 
> databases
>
> What can I do to make checkpointing working again ?
>
> Thanks in advance.
>
> Nicolas Schmitz
> Ecole Centrale de Nantes
> www.ec-nantes.fr
>
> ---
> 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