dbTalk Databases Forums  

"Operation Not Permitted" error while using Instantiating BerkeleyDBEnv

comp.databases.berkeley-db comp.databases.berkeley-db


Discuss "Operation Not Permitted" error while using Instantiating BerkeleyDBEnv in the comp.databases.berkeley-db forum.



Reply
 
Thread Tools Display Modes
  #1  
Old   
samster1974
 
Posts: n/a

Default "Operation Not Permitted" error while using Instantiating BerkeleyDBEnv - 01-19-2010 , 04:51 PM






Hello Ladies and Gents,

I'm not on expert on the BerkeleyDB Environment, and unfortunately we
do not have any built Utilities for the Berkeley DB here for me to
examine what went wrong.

Anyway we have a very simple PERL program running which "Ties" a data
structure to the Berkeley Database. It's been running smoothly for a
while, recovers nicely, and is maintenance free.

Except recently it just doesn't start up.

Here's the Perl statement:

my $env = BerkeleyDB::Env->new(-Home => $berk_path,
-Flags => DB_INIT_TXN|DB_CREATE|DB_INIT_MPOOL
-ErrFile => *STDOUT)
Quote:
| $logger->logcroak("ERROR - $@ - $BerkeleyDB::Error received
on BerkeleyDB instantiation");


The Error Message simply says "Operation Not Permitted".

This has not really helped me any.

We had a few berkeley environments on the server -- ALL of them spit
out the same error message when instantiating
the environment.

The easiest solution is blow away the environment and start from
scratch. Of course, it kind of stinks as you lose the data (we have
backups of the data in a non-berkeley db form, but the backups are a 1
day delay)

How do i go about debugging this error? Also are there any pre-
compiled berkeley db utilities out there? I don't want to build these
utilities from scratch as that's a project on itself I feel.

Any help is appreciated.

thanks

Reply With Quote
Reply




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.3
Copyright ©2000 - 2010, Jelsoft Enterprises Ltd.