> Well I have now tried using the Berkeley DB installed by default
> 4.1.25 and after compiling everything I now get this error in logs
> 
> archiving database file: /var/imap/annotations.db
> Jun  7 12:23:07 lb01-s06 ctl_cyrusdb[22289]: DBERROR db4:
> txn_checkpoint interface requires an environment configured for the
> transaction subsystem
> Jun  7 12:23:07 lb01-s06 ctl_cyrusdb[22289]: DBERROR: couldn't
> checkpoint: Invalid argument
> Jun  7 12:23:07 lb01-s06 ctl_cyrusdb[22289]: DBERROR: sync
> /var/imap/db: cyrusdb error
> Jun  7 12:23:07 lb01-s06 ctl_cyrusdb[22289]: DBERROR db4:
> DB_ENV->log_archive interface requires an environment configured for
> the logging subsystem

[...]
 
> ON investigating I have come to know that this version of Berkeley DB
> has got problems with it. as listed here
> 
> https://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=91933#c0
> 
> So the solution is to use an alternate version :(
> 
> So I am back to square 1.
> 
> Now should I upgrade my existing RPM and risk crashing dependencies
> like Apache or install a separate verion of Berkeley DB on an
> alternate location and try using that?

nope, do the following:
stop cyrus 
remove /var/imap /var/spool/imap /usr/sieve
then from the howto:

cd /var
mkdir imap
chown cyrus:mail imap
chmod 750 imap
cd /var/spool
mkdir imap
chown cyrus:mail imap
chmod 750 imap
cd /usr
mkdir sieve
chown cyrus:mail sieve
chmod 750 sieve

"su" to cyrus and excute the mkimap script from imapd source.

then start all again ..
_______________________________________________
This mailing list is hosted and supported
by bit-heads GmbH | http://www.bit-heads.ch

_______________________________________________
Web-cyradm mailing list
[email protected]
http://www.web-cyradm.org/mailman/listinfo/web-cyradm

Reply via email to