ctl_cyrusdb DBERROR on NetBSD 1.6

Chris Gilbert chris at dokein.co.uk
Wed Jan 8 17:47:54 EST 2003


On Tue, 17 Dec 2002 13:16:38 -0500 (EST)
Avtar Gill <agill at strand3.com> wrote:

> I'm currently trying to setup cyrus-imapd-2.1.11 on a NetBSD 1.6
> server. For some reason I keep seeing errors in the log files whenever
> the ctl_cyrusdb checkpoint event is issued.
> 
> This is what I saw in the logs when I first started the master
> process..
> 
> Dec 17 04:15:21 kompressor master[1444]: process started
> Dec 17 04:15:21 kompressor ctl_cyrusdb[1446]: recovering cyrus
> databases Dec 17 04:15:23 kompressor ctl_cyrusdb[1446]: done
> recovering cyrus databases
> Dec 17 04:15:23 kompressor master[1444]: ready for work
> 
> Then immediately..
> 
> Dec 17 04:15:23 kompressor ctl_cyrusdb[1447]: checkpointing cyrus
> databases
> Dec 17 04:15:23 kompressor ctl_cyrusdb[1447]: DBERROR: archive
> /var/imap/db: cyrusdb error
> Dec 17 04:15:23 kompressor ctl_cyrusdb[1447]: DBERROR: error archiving
> log file: /var/imap/db/log.0000000001
> Dec 17 04:15:23 kompressor ctl_cyrusdb[1447]: DBERROR: archive
> /var/imap/db: cyrusdb error
> Dec 17 04:15:23 kompressor ctl_cyrusdb[1447]: done checkpointing cyrus
> databases

I'd been meaning to investigate this problem, but hadn't had the time
to, but someone may well have beaten me to it.  Could you try the latest
cyrus from pkgsrc?  patch-ak has been added which may well assist/fix
this problem, the commit message was:

Log Message:
- deal with NetBSD failing on mkdir("foo/"), rmdir("foo/") etc.
- print the correct errors, not from a stale error code.

(yes early NetBSD does not work with /'s in mkdir or rmdir)

Cheers,
Chris




More information about the Info-cyrus mailing list