Beefy Boxes and Bandwidth Generously Provided by pair Networks
XP is just a number

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.

Comment on Re: Cache::BerkeleyDB Problems
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
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 cooling their heels in the Monastery: (10)
As of 2015-10-13 18:05 GMT
Find Nodes?
    Voting Booth?

    Does Humor Belong in Programming?

    Results (312 votes), past polls