Archived

This forum has been archived. Please start a new discussion on GitHub.

Freeze backup demo comment/correction

Hi,

I hope that I am reporting this to the right forum!

I have been trying to run the Freeze backup demo under Ice-2.1.0
and Berkeley BD 4.3 on SunOS 5.9.

The "client" program crashed with the following error message:

[ Berkeley DB: DbEnv "backup": incorrect arguments for name-value pair: set_verbose ]
terminate called after throwing an instance of 'Freeze::DatabaseException'
Abort

When I checked the SleepyCat Berkeley DB website, I found out that Berkeley DB no longer supports the "set_verbose" method flag DB_VERB_CHKPOINT as of the 4.3 release. (http://www.sleepycat.com/docs/ref/upgrade.4.3/verb.html)

This flag does appear in the DB_CONFIG file in the "db" directory in this demo.
Once it is commented out, the demo runs correctly.

Comments

  • bernard
    bernard Jupiter, FL
    Thanks for the bug report! It will be fixed in the next release.

    Bernard
  • Another problem

    I should also mention that I could not run the "backup" script under
    the bourne shell. The "$1${i#db}" expression caused the script
    to abend -- apparently this kind of variable manipulation is valid only
    under ksh or bash. When I switched from "sh" to "ksh", the script ran.