DB_CONFIG

Michael Loftis mloftis at wgops.com
Fri Dec 3 22:09:35 EST 2004



--On Saturday, December 04, 2004 04:11 +0200 ocl <ocl at arayan.com> wrote:

> 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

There's your answer.  Take a look at DB_CONFIG.  It's a plain text 
configuration file.

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

By 'env' it means the DB Environment *NOT* the environment variables/shell 
variables.  Totally separate concepts.
---
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