checkpointing failed on production server
Nicolas Schmitz
Nicolas.Schmitz at ec-nantes.fr
Thu Oct 14 08:25:44 EDT 2004
Hello again,
24h after the crash, the checkpointing was ok again ... I didn't do
anything, and the dberror disappeared between 2 checkpointing ... ?
log entry at 15h18 :
Oct 13 15:18:30 faramir master[2022]: about to exec
/usr/cyrus/bin/ctl_cyrusdb
Oct 13 15:18:30 faramir ctl_cyrusdb[2022]: checkpointing cyrus databases
Oct 13 15:18:30 faramir ctl_cyrusdb[2022]: archiving database file:
/user/varimap/annotations.db
Oct 13 15:18:30 faramir ctl_cyrusdb[2022]: DBERROR db4:
DB_ENV->log_flush: LSN of 25/7166991 past current end-of-log of 1/3160504
Oct 13 15:18:30 faramir ctl_cyrusdb[2022]: DBERROR db4: Database
environment corrupt; the wrong log files may have been removed or
incompatible database files imported from another environment
Oct 13 15:18:30 faramir ctl_cyrusdb[2022]: DBERROR db4:
/user/varimap/tls_sessions.db: unable to flush page: 0
Oct 13 15:18:30 faramir ctl_cyrusdb[2022]: DBERROR db4: txn_checkpoint:
failed to flush the buffer cache Invalid argument
Oct 13 15:18:30 faramir ctl_cyrusdb[2022]: DBERROR: couldn't checkpoint:
Invalid argument
Oct 13 15:18:30 faramir ctl_cyrusdb[2022]: DBERROR: sync
/user/varimap/db: cyrusdb error
Oct 13 15:18:30 faramir ctl_cyrusdb[2022]: archiving log file:
/user/varimap/db/log.0000000001
Oct 13 15:18:30 faramir ctl_cyrusdb[2022]: archiving database file:
/user/varimap/mailboxes.db
Oct 13 15:18:30 faramir ctl_cyrusdb[2022]: DBERROR db4:
DB_ENV->log_flush: LSN of 25/7166991 past current end-of-log of 1/3160504
Oct 13 15:18:30 faramir ctl_cyrusdb[2022]: DBERROR db4: Database
environment corrupt; the wrong log files may have been removed or
incompatible database files imported from another environment
Oct 13 15:18:30 faramir ctl_cyrusdb[2022]: DBERROR db4:
/user/varimap/tls_sessions.db: unable to flush page: 0
Oct 13 15:18:30 faramir ctl_cyrusdb[2022]: DBERROR db4: txn_checkpoint:
failed to flush the buffer cache Invalid argument
Oct 13 15:18:30 faramir ctl_cyrusdb[2022]: DBERROR: couldn't checkpoint:
Invalid argument
Oct 13 15:18:30 faramir ctl_cyrusdb[2022]: DBERROR: sync
/user/varimap/db: cyrusdb error
Oct 13 15:18:30 faramir ctl_cyrusdb[2022]: archiving log file:
/user/varimap/db/log.0000000001
Oct 13 15:18:30 faramir ctl_cyrusdb[2022]: done checkpointing cyrus
databases
log entry at 15h48 :
Oct 13 15:48:30 faramir master[5143]: about to exec
/usr/cyrus/bin/ctl_cyrusdb
Oct 13 15:48:30 faramir ctl_cyrusdb[5143]: checkpointing cyrus databases
Oct 13 15:48:30 faramir ctl_cyrusdb[5143]: archiving database file:
/user/varimap/annotations.db
Oct 13 15:48:30 faramir ctl_cyrusdb[5143]: archiving log file:
/user/varimap/db/log.0000000001
Oct 13 15:48:30 faramir ctl_cyrusdb[5143]: archiving database file:
/user/varimap/mailboxes.db
Oct 13 15:48:30 faramir ctl_cyrusdb[5143]: archiving log file:
/user/varimap/db/log.0000000001
Oct 13 15:48:30 faramir ctl_cyrusdb[5143]: done checkpointing cyrus
databases
How can I be sure that all is good ?
Thanks in advance.
Nicolas Schmitz
Ecole Centrale de Nantes
www.ec-nantes.fr
Nicolas Schmitz wrote:
> 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
---
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