Re: how to update BDB

2005-01-22 Thread Jukka Salmi
Andreas Hasenack --> info-cyrus (2005-01-22 10:07:53 -0200): > On Sat, Jan 22, 2005 at 11:33:14AM +0100, Jukka Salmi wrote: > > Yes, this works, even without dumping and loading. > > > > I wonder if I really need to run db_checkpoint and db_recover before > > removing the log file; for me it seems

Re: how to update BDB

2005-01-22 Thread Andreas Hasenack
On Sat, Jan 22, 2005 at 11:33:14AM +0100, Jukka Salmi wrote: > Yes, this works, even without dumping and loading. > > I wonder if I really need to run db_checkpoint and db_recover before > removing the log file; for me it seems that's the same like just > removing /var/imap/db/__db.* and /var/imap

Re: how to update BDB

2005-01-22 Thread Jukka Salmi
Hi, Andreas Hasenack --> info-cyrus (2005-01-21 23:03:54 -0200): > > I guess you will have to get rid of that lone log file. Perhaps this: > - recover > - checkpoint > - dump database with BDB tool > - remove log file > - reload database with new db_load tool [...] > > My experience during the t

Re: how to update BDB

2005-01-21 Thread Andreas Hasenack
On Fri, Jan 21, 2005 at 10:49:46PM +0100, Jukka Salmi wrote: > Hello, > > first of all thanks for the replies. > > Igor Brezac wrote: > > Reset the bdb environment with the old db_recover binary prior to upgrade. > > I do not think that the database format changed between the two BDB > > versions

Re: how to update BDB

2005-01-21 Thread Igor Brezac
On Fri, 21 Jan 2005, Jukka Salmi wrote: Hello, first of all thanks for the replies. Igor Brezac wrote: Reset the bdb environment with the old db_recover binary prior to upgrade. I do not think that the database format changed between the two BDB versions. No, it did not. But the log file format ch

Re: how to update BDB

2005-01-21 Thread Jukka Salmi
Hello, first of all thanks for the replies. Igor Brezac wrote: > Reset the bdb environment with the old db_recover binary prior to upgrade. > I do not think that the database format changed between the two BDB > versions. No, it did not. But the log file format changed. I tried this without suc

Re: how to update BDB

2005-01-21 Thread Andreas Hasenack
On Fri, Jan 21, 2005 at 04:18:09PM +0100, Jukka Salmi wrote: > Hi, > > I is probably a FAQ, but I couldn't find an answer to it... > > On a NetBSD 2.0 system running Cyrus IMAPd 2.2.10 and Berkeley DB 4.2.52 > (both installed from pkgsrc) I updated BDB to 4.3.27. After starting > master the follo

Re: how to update BDB

2005-01-21 Thread Sebastian Hagedorn
Hi, --On 21. Januar 2005 16:18:09 Uhr +0100 Jukka Salmi <[EMAIL PROTECTED]> wrote: But how is it possible to upgrade without deleting the DBs? db_dump and db_restore, perhaps also db_upgrade. Cheers, Sebastian Hagedorn -- Sebastian Hagedorn M.A. - RZKR-R1 (GebÃude 52), Zimmer 18 Zentrum fÃr angew

Re: how to update BDB

2005-01-21 Thread Igor Brezac
On Fri, 21 Jan 2005, Jukka Salmi wrote: Hi, I is probably a FAQ, but I couldn't find an answer to it... On a NetBSD 2.0 system running Cyrus IMAPd 2.2.10 and Berkeley DB 4.2.52 (both installed from pkgsrc) I updated BDB to 4.3.27. After starting master the following was logged: Jan 21 15:47:18 bart

how to update BDB

2005-01-21 Thread Jukka Salmi
Hi, I is probably a FAQ, but I couldn't find an answer to it... On a NetBSD 2.0 system running Cyrus IMAPd 2.2.10 and Berkeley DB 4.2.52 (both installed from pkgsrc) I updated BDB to 4.3.27. After starting master the following was logged: Jan 21 15:47:18 bart master[16978]: process started Jan 2