[CentOS-devel] db4 in Xen domU (was: CentOS5 virtual machine image)

Nils Toedtmann centos-mail at nils.toedtmann.net
Wed Jan 31 19:35:40 UTC 2007


Am Samstag, den 27.01.2007, 00:15 -0700 schrieb Bernard Johnson:
> Nils Toedtmann wrote:
> > And the db4-prob ist still
> > there: install and start cyrus-imapd on C4 under xen/FC6. If the maillog
> > does not fill up with DBERROR, i owe you a beer.
> 
> xen host: FC6, guest: CentOS 4.4
> 
> verified - no problem

That is interesting. What kernels do you use? Or do you use HVM (that
would not really count ...)? I tested cyrus-imapd in three different
scenarios:

* CPU:  intel P4
  Xen:  3.0.2 x86_32 (self built)
  Dom0: CentOS-4.4/2.6.16.29 (self built) 
  DomU: CentOS-4.4/2.6.16.29 (self built) 

* CPU:  intel core 2 duo
  Xen:  3.0.3 x86_32p (from FC6)
  Dom0: FC6/2.6.18-1.*.fc6xen 
  DomU: CentOS-4.4/2.6.18-1.*.fc6xen (from FC6, rebuilt) 

* CPU:  intel P3
  Xen:  3.0.3 x86_32p (from FC6)
  Dom0: FC6/2.6.19-1.*.fc6xen 
  DomU: CentOS-4.4/2.6.9-44.ELxenU (from Jason Baron)

and in each case cyrus-imapd fills up the maillog with 

  DBERROR db4: Berkeley DB library configured to support only DB_PRIVATE
    environments
  DBERROR: dbenv->open '/var/lib/imap/db' failed: Invalid argument
  DBERROR: init() on berkeley executed
  DBERROR db4: environment not yet opened
  DBERROR: opening /var/lib/imap/deliver.db: Invalid argument
  DBERROR: opening /var/lib/imap/deliver.db: cyrusdb error
  FATAL: lmtpd: unable to init duplicate delivery database

Yes, i removed /lib/tls and /usr/lib/tls. The only workaround i found
yet was rebuilding db4. 


> I will let you off easy on the beer.  Instead of sending across the
> ocean, you can send it to my hotel in Switzerland in 2 weeks ;)

Ok, send me the hotel's address! I'll send you my favorite beer from
northern Germany. It is a bit austere - if that is the correct word - is
that ok4u?

/nils.




More information about the CentOS-devel mailing list