[bug-notifications] [amavisd_new 0004138]: Upgrade to 2.6.3, REV=2009.04.23: postinstall fails to upgrade bdb databases
Mantis Bug Tracker
noreply at opencsw.org
Fri Jan 29 23:13:38 CET 2010
A NOTE has been added to this issue.
======================================================================
http://www.opencsw.org/mantis/view.php?id=4138
======================================================================
Reported By: skayser
Assigned To: ihsan
======================================================================
Project: amavisd_new
Issue ID: 4138
Category: upgrade
Reproducibility: have not tried
Severity: major
Priority: normal
Status: resolved
Resolution: fixed
Fixed in Version:
======================================================================
Date Submitted: 2010-01-10 23:37 CET
Last Modified: 2010-01-29 23:13 CET
======================================================================
Summary: Upgrade to 2.6.3,REV=2009.04.23: postinstall fails
to upgrade bdb databases
Description:
Reported by user "yurda" on #opencsw and observed on an OpenSolaris
installation. amavisd_new was working before the upgrade. Will have the
user add himself to the bug so that you can communicate with him in case it
is required.
/opt/csw/var/amavisn/install-20100110231645 says:
Running db_verify (before upgrade) on /opt/csw/var/amavisn/db
db_verify: /opt/csw/var/amavisn/db/cache.db: unsupported hash version: 9
db_verify: Page 0: unsupported DB version 9; extraneous errors may result
db_verify: page 1: illegal page type or format
db_verify: PANIC: Invalid argument
db_verify: cache.db: pgin failed for page 1
db_verify: cache.db: DB_RUNRECOVERY: Fatal error, run database recovery
db_verify: PANIC: fatal region error detected; run recovery
db_verify: dbenv->close: DB_RUNRECOVERY: Fatal error, run database
recovery
db_verify: /opt/csw/var/amavisn/db/nanny.db: unsupported hash version: 9
db_verify: Page 0: unsupported DB version 9; extraneous errors may result
db_verify: page 1: illegal page type or format
db_verify: PANIC: Invalid argument
db_verify: nanny.db: pgin failed for page 1
db_verify: nanny.db: DB_RUNRECOVERY: Fatal error, run database recovery
db_verify: PANIC: fatal region error detected; run recovery
db_verify: dbenv->close: DB_RUNRECOVERY: Fatal error, run database
recovery
db_verify: /opt/csw/var/amavisn/db/snmp.db: unsupported hash version: 9
db_verify: Page 0: unsupported DB version 9; extraneous errors may result
db_verify: page 1: illegal page type or format
db_verify: PANIC: Invalid argument
db_verify: snmp.db: pgin failed for page 1
db_verify: snmp.db: DB_RUNRECOVERY: Fatal error, run database recovery
db_verify: PANIC: fatal region error detected; run recovery
db_verify: dbenv->close: DB_RUNRECOVERY: Fatal error, run database
recovery
Running db_recover on /opt/csw/var/amavisn/db
Running db_upgrade on /opt/csw/var/amavisn/db
db_upgrade: /opt/csw/var/amavisn/db/cache.db: unsupported hash version: 9
db_upgrade: DB->upgrade: cache.db: DB_OLDVERSION: Database requires a
version upgrade
db_upgrade: /opt/csw/var/amavisn/db/nanny.db: unsupported hash version: 9
db_upgrade: DB->upgrade: nanny.db: DB_OLDVERSION: Database requires a
version upgrade
db_upgrade: /opt/csw/var/amavisn/db/snmp.db: unsupported hash version: 9
db_upgrade: DB->upgrade: snmp.db: DB_OLDVERSION: Database requires a
version upgrade
Running db_verify (after upgrade) on /opt/csw/var/amavisn/db
db_verify: /opt/csw/var/amavisn/db/cache.db: unsupported hash version: 9
db_verify: Page 0: unsupported DB version 9; extraneous errors may result
db_verify: page 1: illegal page type or format
db_verify: PANIC: Invalid argument
db_verify: cache.db: pgin failed for page 1
db_verify: cache.db: DB_RUNRECOVERY: Fatal error, run database recovery
db_verify: PANIC: fatal region error detected; run recovery
db_verify: dbenv->close: DB_RUNRECOVERY: Fatal error, run database
recovery
db_verify: /opt/csw/var/amavisn/db/nanny.db: unsupported hash version: 9
db_verify: Page 0: unsupported DB version 9; extraneous errors may result
db_verify: page 1: illegal page type or format
db_verify: PANIC: Invalid argument
db_verify: nanny.db: pgin failed for page 1
db_verify: nanny.db: DB_RUNRECOVERY: Fatal error, run database recovery
db_verify: PANIC: fatal region error detected; run recovery
db_verify: dbenv->close: DB_RUNRECOVERY: Fatal error, run database
recovery
db_verify: /opt/csw/var/amavisn/db/snmp.db: unsupported hash version: 9
db_verify: Page 0: unsupported DB version 9; extraneous errors may result
db_verify: page 1: illegal page type or format
db_verify: PANIC: Invalid argument
db_verify: snmp.db: pgin failed for page 1
db_verify: snmp.db: DB_RUNRECOVERY: Fatal error, run database recovery
db_verify: PANIC: fatal region error detected; run recovery
db_verify: dbenv->close: DB_RUNRECOVERY: Fatal error, run database
recovery
======================================================================
----------------------------------------------------------------------
(0007366) ihsan (manager) - 2010-01-29 23:13
http://www.opencsw.org/mantis/view.php?id=4138#c7366
----------------------------------------------------------------------
The postinstall script supposed to the care of libdb upgrades, but it was
using still the old 4.4 tools while the BerkeleyDB Perl module was using
already 4.7.
More information about the bug-notifications
mailing list