determining db version
Nic Bernstein
nic at onlight.com
Sun Nov 30 17:46:46 EST 2008
On 11/30/2008 04:41 PM, Robert Fitzpatrick wrote:
> I am trying to move my config to another server, copied over the
> partition and config files, but the server seems to be complaining of my
> db version. I thought it was 4.3 and with that was what I built imapd.
> Can someone tell me how to determine what version my existing Berkeley
> db files are in and how to confirm the db version used to build imapd?
> Or how can I handle this?
>
> Nov 30 17:40:03 mail ctl_cyrusdb[15862]: DBERROR db4: Unacceptable log file /var/imap/db/log.0000000021: unsupported log version 11
> Nov 30 17:40:03 mail ctl_cyrusdb[15862]: DBERROR db4: Invalid log file: log.0000000021: Invalid argument
> Nov 30 17:40:03 mail ctl_cyrusdb[15862]: DBERROR db4: PANIC: Invalid argument
> Nov 30 17:40:03 mail ctl_cyrusdb[15862]: DBERROR: critical database situation
> Nov 30 17:40:03 mail master[15861]: process 15862 exited, status 75
> Nov 30 17:40:03 mail master[15861]: ready for work
> Nov 30 17:40:03 mail ctl_cyrusdb[15863]: DBERROR db4: PANIC: fatal region error detected; run recovery
>
>
You should be able to determine which version of Berkeley DB your imapd
is linked against with an "ldd `which imapd`" or whatever the equivilent
is in your OS (you didn't mention which OS you are running on). You
should be able to determine the version of db library which created the
files with a "file <db-filename>" command. Most modern version of the
file command and associated data will properly identify Berekely DB file
versions.
Best regards,
-nic
--
Nic Bernstein nic at onlight.com
Onlight llc. www.onlight.com
2266 North Prospect Avenue #610 v. 414.272.4477
Milwaukee, Wisconsin 53202-6306 f. 414.290.0335
More information about the Info-cyrus
mailing list