Beefy Boxes and Bandwidth Generously Provided by pair Networks
"be consistent"

Re: Cache::BerkeleyDB Problems

by PodMaster (Abbot)
on May 10, 2006 at 18:08 UTC ( #548533=note: print w/replies, xml ) Need Help??

in reply to Cache::BerkeleyDB Problems

  Berkeley DB Reference Guide: Error returns to applications


There exists a class of errors that Berkeley DB considers fatal to an entire Berkeley DB environment. An example of this type of error is a corrupted database page. The only way to recover from these failures is to have all threads of control exit the Berkeley DB environment, run recovery of the environment, and re-enter Berkeley DB. (It is not strictly necessary that the processes exit, although that is the only way to recover system resources, such as file descriptors and memory, allocated by Berkeley DB.)

The log files ought to be able to tell you more about the cause of the error. Recovery procedures can help you recover your database.

MJD says "you can't just make shit up and expect the computer to know what you mean, retardo!"
I run a Win32 PPM repository for perl 5.6.x and 5.8.x -- I take requests (README).
** The third rule of perl club is a statement of fact: pod is sexy.

Replies are listed 'Best First'.
Re^2: Cache::BerkeleyDB Problems
by glwtta (Hermit) on May 10, 2006 at 22:57 UTC
    Yes, I understand how to recover the database, I'm trying to make it not break in the first place :)

    Logging doesn't seem to be turned on, any idea how I can do that with Cache::BerkeleyDB?


Log In?

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://548533]
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others chilling in the Monastery: (4)
As of 2022-11-30 20:11 GMT
Find Nodes?
    Voting Booth?