db.spec.patch not successful :-(
eddie at omegaware.com
Thu Feb 19 00:47:37 EST 2004
Skiplist is Cyrus' own DB format that is better for certain types of
data access.. (mailbox lists is one of them)..
Is the /imap/conf/db directory created? Does it have the correct
permissions? (owned by cyrus, group mail)?
And you may need to run the cvt_cyrusdb or cvt_cyrusdb_all programs to
convert the databases if you had used different formats for the various
databases? (ie.. DB4 for the mailboxes instead of skiplist). You need to
run these programs as the user cyrus (su - cyrus -c).
This is what Simon Matter's start up script does in his RPM package..
echo -n $"preparing databases... "
su - cyrus -c "umask 166 ; /usr/lib/cyrus-imapd/cvt_cyrusdb_all >
On Wed, 2004-02-18 at 16:44, Ruth Ivimey-Cook wrote:
> I applied the db.spec.patch for FC1 db4 to the FC1 source RPM spec file,
> rebuilt db4, installed all 3 components (rpm -Uhv), reconfigured and rebuilt
> imapd 2.2.3 and installed that on top of my first attempt. I then tried:
> % ctl_mboxlist -d /imap/conf/mailboxes.db
> fatal error: can't read mailboxes file
> In the imapd.log, I get
> Feb 18 22:36:58 gatemaster ctl_mboxlist: DBERROR db4: unable to join the environment
> Feb 18 22:36:58 gatemaster ctl_mboxlist: DBERROR: dbenv->open '/imap/conf/db' failed: Resource temporarily unavailable
> Feb 18 22:36:58 gatemaster ctl_mboxlist: DBERROR: init() on berkeley
> Feb 18 22:36:58 gatemaster ctl_mboxlist: DBERROR: reading /imap/conf/db/skipstamp, assuming the worst: No such file or directory
> Feb 18 22:36:58 gatemaster ctl_mboxlist: skiplist: invalid magic header: /imap/conf/mailboxes.db
> Feb 18 22:36:58 gatemaster ctl_mboxlist: DBERROR: opening /imap/conf/mailboxes.db: cyrusdb error
> What's up? Why is it looking for skiplist stuff when it seems it knows to use
Edward Rudd <eddie at omegaware.com>
Home Page: http://asg.web.cmu.edu/cyrus
List Archives/Info: http://asg.web.cmu.edu/cyrus/mailing-list.html
More information about the Info-cyrus