I wrote the module Apache::ChildExit specifically to resolve the incompatibility between BerkeleyDB and Apache::Registry
http://search.cpan.org/~tqisjim/ChildExit_0-1/ -Jim > Subject: Re: BerkeleyDB error > From: Perrin Harkins <per...@elem.com> > To: "Peram, Sudhakara" <sudhakara.pe...@pfizer.com> > Cc: modperl@perl.apache.org > Content-Type: text/plain; charset=ISO-8859-1 > > Hi, > > > I am able to execute that perl script > > successfully few times (less than 5 times) after every restart of Apache web > > server. After that I am getting following BerkeleyDB error message in log > > file of that script (i.e., run_command). > > Are you using Apache::Registry for this? > > It sounds as if your requests fail on the second attempt to run the > script in a process. If you start apache with the -X option, do they > fail on the second request? > > - Perrin >