redirecting stderr to database/external script

2013-04-29 Thread Ryan Perry
I'm trying to redirect my errors to another script to log them. I have my access log redirected, but errors still go to httpd-error.log. How can I do this? -- *Ryan Perry* Technology Director RestoreHealth 1289 Deming Way Madison, WI 53717 608.833.7046 ext 700 rpe...@restorehc.com

Re: automatically restart httpd

2013-04-23 Thread Ryan Perry
except I use a threaded MPM so I can't use child_terminate. Is there another method similar to that? On Tue, Apr 23, 2013 at 3:42 PM, Torsten Förtsch wrote: > On 23/04/13 17:49, Ryan Perry wrote: > > I've been plagued by some bug that makes a call to LWP stop working: &g

Re: automatically restart httpd

2013-04-23 Thread Ryan Perry
On Tue, Apr 23, 2013 at 2:09 PM, Jim Albert wrote: > On 4/23/2013 2:33 PM, Ryan Perry wrote: > >> >> >> >> On Tue, Apr 23, 2013 at 12:47 PM, Jim Albert > <mailto:j...@netrition.com>> wrote: >> >> On 4/23/2013 1:36 PM, Ryan Perry wrote: &

Re: automatically restart httpd

2013-04-23 Thread Ryan Perry
On Tue, Apr 23, 2013 at 12:47 PM, Jim Albert wrote: > On 4/23/2013 1:36 PM, Ryan Perry wrote: > >> >> >> >> On Tue, Apr 23, 2013 at 12:23 PM, Jim Albert > <mailto:j...@netrition.com>> wrote: >> >> On 4/23/2013 1:08 PM, Ryan Perry wrote:

Re: automatically restart httpd

2013-04-23 Thread Ryan Perry
I've considered doing it daily via cron, but if there's a way to do when I hit this error I'd prefer that. On Tue, Apr 23, 2013 at 12:02 PM, Jim Albert wrote: > On 4/23/2013 11:49 AM, Ryan Perry wrote: > >> I've been plagued by some bug that makes a call to LWP

automatically restart httpd

2013-04-23 Thread Ryan Perry
ndering if there is a way for me to automatically restart httpd whenever the bug hits. Maybe whenever it appears in the httpd-error.log? What are my options? -- *Ryan Perry* Technology Director RestoreHealth 1289 Deming Way Madison, WI 53717 608.833.7046 ext 700 rpe...@restorehc.com

bad hostname errors

2013-03-21 Thread Ryan Perry
down further. Thanks! -- *Ryan Perry* Technology Director RestoreHealth 1289 Deming Way Madison, WI 53717 608.833.7046 ext 700 rpe...@restorehc.com

external process

2012-06-19 Thread Ryan Perry
$pm->finish; # Terminates the child process } $pm->wait_all_children; I'm sure this is "simple". Where have I gone wrong? -- *Ryan Perry* Technology Director RestoreHealth 1289 Deming Way Madison, WI 53717 608.833.7046 ext 700 rpe...@restorehc.com

FreeBSD error

2010-08-17 Thread Ryan Perry
nary (from libperl): Compile-time options: MULTIPLICITY PERL_DONT_CREATE_GVSV PERL_IMPLICIT_CONTEXT PERL_MALLOC_WRAP USE_64_BIT_INT USE_ITHREADS USE_LARGE_FILES USE_PERLIO USE_PERL_ATOF USE_REENTRANT_API Built under freebsd

perl 5.12 / FreeBSD

2010-04-25 Thread Ryan Perry
l5/5.12.0 . *** Packages of interest status: Apache2: - Apache2::Request : - CGI: 3.48 ExtUtils::MakeMaker: 6.56 LWP: 5.834 mod_perl : - mod_perl2 : - 3. This is the core dump trace: (if you get a core dump): [CORE TRACE

content_length

2009-11-24 Thread Ryan Perry
How do I get the content length of the request body? or the equivalent of $ENV{'CONTENT_LENGTH'} ? my $current_read = $r->read($current_buffer, $current_length - $current_remaining, $current_remaining); Thanks!

Re: MP2 on FreeBSD - How often to update Apache/MP/Libapreq/Perl?

2006-02-25 Thread Ryan Perry
one can do that!use a cron job for portsnap, then once a week do:portupgrade -arROn the other hand, you probably don't need to.  If you applications are stable, it's probably only worth your time if there is a major change, security flaw, significant performance increase, important bug fix which af

Re: [OT] modperl vs. Ruby

2006-02-24 Thread Ryan Perry
Ruby is cool because of it integration with javascript. But Ruby developers have told me that it doesn't scale well and you're better off with a different framework like HTML::Mason if you need something serious. I use Mason, if you're looking for JS integration you can either make compon

Re: More on httpd2.2, libapreq2, apr and mod_perl2 not playing nice

2006-02-12 Thread Ryan Perry
API [Ralph Mattes] Add explicit casts for apreq_param_charset_* to keep c++ compilers happy. On Feb 12, 2006, at 9:07 PM, Foo Ji-Haw wrote: Is 2.07 out already? http://theoryx5.uwinnipeg.ca/ppms/ still lists it as 2.06-dev - Original Message - From: "Ryan Perry" <[EMAI

Re: More on httpd2.2, libapreq2, apr and mod_perl2 not playing nice

2006-02-12 Thread Ryan Perry
FYI, Problems I've been having with Apache2 on FreeBSD 6.0 seem to have been resolved by installing the new libapreq2-2.07 Thanks!

Re: More on httpd2.2, libapreq2, apr and mod_perl2 not playing nice

2006-01-31 Thread Ryan Perry
I set up apache 2.055, apreq2 (from SVN as per Philip M. Gollucci), and mod_perl2.02 on FreeBSD 6.0. It works, but if I include 1 site that uses HTML::Mason (and therefore mod_perl2 and apreq2) and restart the server I get: [Tue Jan 31 10:36:58 2006] [notice] SIGHUP received. Attempting t

Re: More on httpd2.2, libapreq2, apr and mod_perl2 not playing nice

2006-01-30 Thread Ryan Perry
On Jan 30, 2006, at 8:10 AM, Mark Galbreath wrote:Apache2 comes with APR built in; you do not need to install it separately.  You are finding what a big PITA that results in.Nonetheless there seems to be a problem here, I've experienced the same problem on FreeBSD 6.0 (but I didn't do anything with

ThreadMutex

2006-01-27 Thread Ryan Perry
Previously I had problems trying to reinstall mod_perl2. So I've upgraded the server to FreeBSD 6.0, new perl (5.8.7), removed /usr/ local/lib/perl5/site_perl/5.8.6 (old modules), then: install httpd (2.2.0) ./configure --with-mpm=prefork --with-expat=/usr/local --enable-so make all install

Re: XSLoader error

2006-01-26 Thread Ryan Perry
Sorry, XSLoader-0.06 just installed via CPAN after I got the error, but didn't help. Could it be because the previous mod_perl2 (2.02) is still around somewhere? Thanks! On Jan 26, 2006, at 10:34 AM, Steven M Peters wrote: On Thu, Jan 26, 2006 at 10:28:59AM -0600, Ryan Perry wrote

XSLoader error

2006-01-26 Thread Ryan Perry
on FreeBSD 5.4 I get: # perl Makefile.PL MP_APXS=/usr/local/apache2/bin/apxs String found where operator expected at /usr/local/lib/perl5/5.8.6/ mach/IO.pm line 11, near "XSLoader::load 'IO'" (Do you need to predeclare XSLoader::load?) syntax error at /usr/local/lib/perl5/5.8.6/mach/IO.

FreeBSD/apreq2

2006-01-25 Thread Ryan Perry
I'm having trouble building svn of apreq2 on FreeBSD 5.4:# perl Makefile.PL --with-apache2-apxs=/usr/local/apache2/bin/apxs --with-expat=/usr/localperl: 5.8.6 okmod_perl: 2.02 okApache::Test: 1.20 okExtUtils::MakeMaker: 6.30 okExtUtils::XSBuilder: 0.27 okTest::More: 0.47 ok./configure --enable-

FreeBSD/mod_apreq2.so

2005-12-13 Thread Ryan Perry
I'm having a problem with apreq2.06: Cannot load /usr/local/apache2/modules/mod_apreq2.so into server: / usr/local/apache2/modules/mod_apreq2.so: Undefined symbol "apreq_hook_find_param" what did I do wrong? Thanks!