Beefy Boxes and Bandwidth Generously Provided by pair Networks
laziness, impatience, and hubris
 
PerlMonks  

Re: Cache::BerkeleyDB Problems

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


in reply to Cache::BerkeleyDB Problems

BerkeleyDB DB_RUNRECOVERY =>
  Berkeley DB Reference Guide: Error returns to applications

DB_RUNRECOVERY

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?

    Thanks!

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others admiring the Monastery: (3)
As of 2024-04-19 22:10 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found