Re: ctl_cyrusdb DBERROR on NetBSD 1.6

2003-01-08 Thread Avtar Gill
Chris Gilbert <[EMAIL PROTECTED]> wrote:

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

Thanks Chris, the latest patch did the trick. I haven't seen that error
in the logs now..

Jan  8 23:58:59 kompressor master[3079]: process started
Jan  8 23:58:59 kompressor ctl_cyrusdb[3081]: recovering cyrus databases
Jan  8 23:59:00 kompressor ctl_cyrusdb[3081]: done recovering cyrus
databases
Jan  8 23:59:01 kompressor master[3079]: ready for work
Jan  8 23:59:01 kompressor ctl_cyrusdb[3082]: checkpointing cyrus
databases
Jan  8 23:59:01 kompressor ctl_cyrusdb[3082]: done checkpointing cyrus
databases




Re: ctl_cyrusdb DBERROR on NetBSD 1.6

2003-01-08 Thread Chris Gilbert
On Tue, 17 Dec 2002 13:16:38 -0500 (EST)
Avtar Gill <[EMAIL PROTECTED]> 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.01
> 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



ctl_cyrusdb DBERROR on NetBSD 1.6

2002-12-17 Thread Avtar Gill
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.01
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

These errors keep showing up in the logs every 30 minutes. Here are the
contents of the /var/imap/db directory..
drwxr-xr-x   2 cyrus  mail   512 Dec 17 04:21 .
drwxr-x---  10 cyrus  mail   512 Dec 17 12:51 ..
-rw---   1 cyrus  mail  8192 Dec 17 04:21 __db.001
-rw---   1 cyrus  mail270336 Dec 17 04:21 __db.002
-rw---   1 cyrus  mail 98304 Dec 17 04:21 __db.003
-rw---   1 cyrus  mail  17063936 Dec 17 04:21 __db.004
-rw---   1 cyrus  mail 32768 Dec 17 04:21 __db.005
-rw---   1 cyrus  mail 17497 Dec 17 04:21 log.01

>From browsing the mailing list archives I noticed two other people are
experiencing this problem.
http://asg.web.cmu.edu/archive/message.php?mailbox=archive.info-cyrus&searchterm=DBERROR&msg=19541
http://asg.web.cmu.edu/archive/message.php?mailbox=archive.info-cyrus&searchterm=DBERROR&msg=19579

This is a brand new server so no imap user accounts have been created
yet. Is there any reason to be concerned about these errors?