DB_CONFIG

ocl ocl at arayan.com
Fri Dec 3 21:11:28 EST 2004


Andreas Hasenack wrote on 2004-12-03 14:12:
> On Fri, Dec 03, 2004 at 12:53:13AM -0500, Igor Brezac wrote:
> 
>>You need to run the command from cyrus configdirectory/db or
>>db_stat -m -h configdirectory/db.
> 
> And it has to have a DB environment (aka, those __db* files).

Now, I am really confused. What do you mean by 'DB environment'?

I keep getting these messages in system log

ctl_cyrusdb[5750]: DBERROR db4: /DB_CONFIG: line too long
ctl_cyrusdb[5750]: DBERROR: dbenv->open '/var/lib/imap/db' failed: Invalid argument
ctl_cyrusdb[5750]: DBERROR: init /var/lib/imap/db: cyrusdb error


This is what I see under /var/lib/imap/db

   __db.001
   __db.001
   __db.001
   __db.001
   DB_CONFIG
   log.0000000066
   skipstamp

And this is the 'env' results for 'su cyrus'.

HOSTNAME=mail.myown.net
SHELL=/bin/bash
TERM=xterm
HISTSIZE=1000
QTDIR=/usr/lib/qt-3.1
USER=cyrus
LS_COLORS=<irrelevant>
USERNAME=root
PATH=/usr/kerberos/sbin:/usr/kerberos/bin:/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/X11R6/bin:/root/bin
MAIL=/var/spool/mail/root
PWD=/var/lib/imap/db
INPUTRC=/etc/inputrc
LANG=en_US.UTF-8
HOME=/var/lib/imap
BASH_ENV=/root/.bashrc
LOGNAME=cyrus
LESSOPEN=|/usr/bin/lesspipe.sh %s
G_BROKEN_FILENAMES=1
_=/bin/env

How can I have a 'DB environment' in there?
What am I not doing right?

Cheers,
Ray

---
Cyrus Home Page: http://asg.web.cmu.edu/cyrus
Cyrus Wiki/FAQ: http://cyruswiki.andrew.cmu.edu
List Archives/Info: http://asg.web.cmu.edu/cyrus/mailing-list.html




More information about the Info-cyrus mailing list