Anonymous Monk has asked for the wisdom of the Perl Monks concerning the following question:

I just added 2 new flags: DB_CREATE and DB_RECOVER. And I am receiving the following error: "Invalid argument (failed to create env)" With this code:
BerkeleyDB::Env->new( -Flags => $flags | DB_CREATE | DB_RECOVER| DB_INIT_MPO +OL | DB_INIT_CDB, -Config => { DB_TMP_DIR => "home/test/workfiles/tmp" }, -Cachesize => 1024*1024, -Home => $env_dir );
What could be causing this error? I checked the docs and it doesn't seem like I am doing anything wrong. Thanks, Monks.

Replies are listed 'Best First'.
Re: BerkeleyDB flags
by PodMaster (Abbot) on Sep 29, 2005 at 23:29 UTC