its a redhat ES 5.1 box upto date (same as old one). Berkeley DB is also most upto date on both machines.
Main Topics
Browse All TopicsHI I had been using berkeley DB 4.7 for sometime now and it has been working fine. Today, I had to move my code to a different machine. So I first installed BerkeleyDB on the new machine and then compiled my code. all this went fine. However when I try to run the code... i get an error saying...
(46965944827472) DB ENVIRONMENT errMsg: illegal flag specified to DB_ENV->open
terminate called after throwing an instance of 'DbException'
what(): DbEnv::open: Invalid argument
Aborted
Its the exact same code on both machines and is included below
Old Machine details
$ uname -a
Linux gritsbox.rsi.com 2.6.18-92.1.17.el5 #1 SMP Wed Oct 22 04:19:38 EDT 2008 x86_64 x86_64 x86_64 GNU/Linux
$ db_verify -V
Berkeley DB 4.7.25: (May 15, 2008)
New Machine details
$ uname -a
Linux mdguru.rsi.com 2.6.18-92.1.22.el5 #1 SMP Fri Dec 5 09:28:22 EST 2008 x86_64 x86_64 x86_64 GNU/Linux
$db_verify -V
Berkeley DB 4.7.25: (May 15, 2008)
This Question has been solved and asker verified All Experts Exchange premium technology solutions are available to subscription members.
Experts Exchange has been collecting answers to technology questions since 1996…3 million and counting! If you have a question, chances are we already have your answer.
If you can't find the exact answer you're looking for, ask our exclusive community of 50,000 experts. You’ll get a personalized answer from a trusted professional.
Thousands of free tech tips, tricks, how-to’s and tutorials are available in our peer reviewed articles section. See for yourself how smart our experts are, no login required.
Access the answers to your technology questions today.
30-day free trial. Register in 60 seconds.
Members of the expert community talk about why the experience at Experts Exchange is different than what you will find anywhere else.

Try it out and discover for yourself.
30-day free trial. Register in 60 seconds.
Join the community of experts here and help other tech pros by answering question in your area of expertise. You can earn FREE access to all Experts Exchange's premium features and resources.
Not sure...
Go here, on the right there are a lot of links.
http://www.oracle.com/tech
JeffCoachman
Business Accounts
Answer for Membership
by: boag2000Posted on 2009-01-01 at 15:13:43ID: 23276743
wevouch,
Quick Guess?
Make sure you have all you Service Packs, Updates, Patches and Hotfixes installed for your O.S. and Berkeley
JeffCoachman