Re: Apache::DBI connection lost contact error

2013-06-03 Thread Xinhuan Zheng
Hi Perrin, Does Apache::DBI work right with Apache2+mod_perl2? Yes, but there may be a bug in how it checks to see if the server is restarting. What is the check to see if the server is restarting? Is that new child processes spawning? If there is a bug in how it checks to see if the server

Install Question

2013-06-03 Thread Tracy Kukuselis
  Hello, I am trying to install modperl 2.0.3 with httpd 2.4.2 (also tried 2.4.4), but am getting the following error: Failed to obtain the MPM name. Please specify MP_APXS=/full/path/to/apxs to solve this problem. make:*** [path] Error 255 Using the following configure command configure

Re: Install Question

2013-06-03 Thread Fred Moyer
On Mon, Jun 3, 2013 at 8:42 AM, Tracy Kukuselis tkukuse...@verizon.net wrote: I am trying to install modperl 2.0.3 with httpd 2.4.2 (also tried 2.4.4), but am getting the following error: 2.4 isn't officially supported yet, although there are a couple builds on the list you might try. See the

Re: Install Question

2013-06-03 Thread Fred Moyer
Please cc the list on your responses so that you can get support from any of the thousands of mod_perl users on this list :) On Mon, Jun 3, 2013 at 10:52 AM, Tracy Kukuselis tkukuse...@verizon.net wrote: And this one From: Fred Moyer f...@redhotpenguin.com To: Tracy Kukuselis

Apache::DBI connection lost contact error

2013-06-03 Thread Perrin Harkins
On Monday, June 3, 2013, Xinhuan Zheng wrote: What is the check to see if the server is restarting? Is that new child processes spawning? It's a test for whether or not we're running in the parent process, used to skip caching connections during startup. It's this, line 128: if

Re: Apache::DBI connection lost contact error

2013-06-03 Thread Dave Morgan
On 06/03/2013 03:14 PM, Perrin Harkins wrote: On Monday, June 3, 2013, Xinhuan Zheng wrote: What is the check to see if the server is restarting? Is that new child processes spawning? I always found the best way to run/test Apache::DBI was to run a mod-perl enabled http server without

Re: Install Question

2013-06-03 Thread Eugene Toropov
Hi Tracy, As far as I remember must be something like perl Makefile.PL MP_APXS=/usr/bin/apxs Cheers Eugene On Jun 3, 2013, at 7:42 PM, Tracy Kukuselis tkukuse...@verizon.net wrote: Hello, I am trying to install modperl 2.0.3 with httpd 2.4.2 (also tried 2.4.4), but am getting the

Re: Apache::DBI connection lost contact error

2013-06-03 Thread Fred Moyer
On Mon, Jun 3, 2013 at 2:36 PM, Dave Morgan dave.mor...@100.com wrote: On 06/03/2013 03:14 PM, Perrin Harkins wrote: DO NOT USE Apache::DBI with DBI::Connector or any other database caching technique. This requires knowledge of the code!!! DBIx::Class monkey patches Apache::DBI so that