Thanks Jim.
I am bit novice to mod_perl and apache, below is my httpd.conf configuration. Can you please let me know how to use Apache::ChildExit module if you have free time. <Location /> PerlFixupHandler Apache::Resource </Location> PerlModule Apache::Filter # Actual mod_perl setting. <Files *.pl> Options ExecCGI SetHandler perl-script # PerlHandler Apache::PerlRun PerlSetVar Filter On PerlHandler Apache::RegistryFilter Apache::Compress PerlSendHeader On PerlInitHandler CDARSLog </Files> <Files *top.pl> Options ExecCGI SetHandler perl-script PerlHandler Apache::PerlRun PerlSendHeader On PerlInitHandler CDARSLog </Files> # Actual mod_perl setting. <Files *.mpl> Options +ExecCGI SetHandler perl-script PerlHandler Apache::Registry PerlSendHeader On </Files> <Files *.xpl> Options +ExecCGI SetHandler perl-script PerlHandler Refresh PerlSendHeader On </Files> # watch what mod_perl is doing... <Location /perl-status> SetHandler perl-script PerlHandler Apache::Status order deny,allow deny from all allow from all </Location> <Location /xxxx/gui/> # This is the standard authentication stuff AuthName "CDARS Authentication" AuthType Basic PerlAuthenHandler xxxx_Access require valid-user </Location> Where xxxx is our application name. Thank you once again for your help! --Sudhakar -----Original Message----- From: Jim Schueler [mailto:jschue...@tqis.com] Sent: Sunday, January 02, 2011 7:35 PM To: Peram, Sudhakara Cc: modperl@perl.apache.org; Perrin Harkins Subject: Re: BerkeleyDB error 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 >