Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl Monk, Perl Meditation
 
PerlMonks  

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

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.


Comment on Re: Cache::BerkeleyDB Problems
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
Node Status?
node history
Node Type: note [id://548533]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others perusing the Monastery: (18)
As of 2014-08-22 16:39 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The best computer themed movie is:











    Results (161 votes), past polls