Skip Menu |
 

This queue is for tickets about the Moose CPAN distribution.

Report information
The Basics
Id: 121060
Status: rejected
Priority: 0/
Queue: Moose

People
Owner: Nobody in particular
Requestors: andy.newby [...] gmail.com
Cc:
AdminCc:

Bug Information
Severity: (no value)
Broken in: (no value)
Fixed in: (no value)



Subject: Can't locate...
Date: Mon, 10 Apr 2017 12:42:52 +0100
To: bug-Moose [...] rt.cpan.org
From: Andy Newby <andy.newby [...] gmail.com>
Hi, This has been bugging me for ages. My log files get clogged up with this all the time: [Mon Apr 10 10:21:50 2017] -e: Apache2::Reload: Can't locate (set by Moose) [Mon Apr 10 10:21:50 2017] -e: Apache2::Reload: Can't locate (set by Moose) [Mon Apr 10 10:21:50 2017] -e: Apache2::Reload: Can't locate (set by Moose) [Mon Apr 10 10:21:50 2017] -e: Apache2::Reload: Can't locate (set by Moose) [Mon Apr 10 10:21:50 2017] -e: Apache2::Reload: Can't locate (set by Moose) [Mon Apr 10 10:21:50 2017] -e: Apache2::Reload: Can't locate (set by Moose) [Mon Apr 10 10:21:50 2017] -e: Apache2::Reload: Can't locate (set by Moose) [Mon Apr 10 10:21:50 2017] -e: Apache2::Reload: Can't locate (set by Moose) [Mon Apr 10 10:21:50 2017] -e: Apache2::Reload: Can't locate (set by Moose) [Mon Apr 10 10:21:50 2017] -e: Apache2::Reload: Can't locate (set by Moose) About 30-50 times per request. What does it mean? And how can I get rid of it? As far as I can tell the script runs through without any issues, so I'm not even sure what it means! Cheers andy
Download (untitled) / with headers
text/plain 336b
I'm not really sure why this is happening either. Apache::Reload does some disturbing things, and those disturbing things may not play well with Moose. That said, I would very _strongly_ recommend that you not use Apache::Reload in production. It's much better practice to restart the apache w/ mod_perl every time you deploy new code.
Subject: Re: [rt.cpan.org #121060] Can't locate...
Date: Mon, 10 Apr 2017 13:54:34 +0100
To: bug-Moose [...] rt.cpan.org
From: Andy Newby <andy.newby [...] gmail.com>
Download (untitled) / with headers
text/plain 1.2k
Thanks for the quick reply. So how am I supposed to use mod_perl ? This is how I currently have it setup: PerlRequire /srv/www/steampunkjunkies.net/startup.pl PerlModule Apache2::Reload PerlInitHandler Apache2::Reload PerlModule Apache2::RequestRec <Location /cgi-bin> SetHandler perl-script AddHandler cgi-script .cgi PerlResponseHandler ModPerl::Registry PerlOptions +ParseHeaders Options +ExecCGI -MultiViews +SymLinksIfOwnerMatch AllowOverride All Require all granted </Location> It's different to how I used to do it in Apache 2.2, but I assumed that was due to some internal changes. I'm open to suggestions :) Cheers Andy Newby *Email:* andy@ultranerds.co.uk *WWW: *http://www.ultranerds.co.uk *Mobile: * 07769 201 576 On 10 April 2017 at 13:51, Dave Rolsky via RT <bug-Moose@rt.cpan.org> wrote: Show quoted text
> <URL: https://rt.cpan.org/Ticket/Display.html?id=121060 > > > I'm not really sure why this is happening either. Apache::Reload does some > disturbing things, and those disturbing things may not play well with Moose. > > That said, I would very _strongly_ recommend that you not use > Apache::Reload in production. It's much better practice to restart the > apache w/ mod_perl every time you deploy new code. >
Download (untitled) / with headers
text/plain 435b
On 2017-04-10 07:56:12, andy.newby@gmail.com wrote: Show quoted text
> Thanks for the quick reply. So how am I supposed to use mod_perl ? > This is > how I currently have it setup: > > PerlRequire /srv/www/steampunkjunkies.net/startup.pl > PerlModule Apache2::Reload > PerlInitHandler Apache2::Reload
You'd have to remove the Apache2::Reload lines. I'm going to close this ticket since I strongly suspect the bug is with Apache2::Reload, not Moose.


This service is sponsored and maintained by Best Practical Solutions and runs on Perl.org infrastructure.

Please report any issues with rt.cpan.org to rt-cpan-admin@bestpractical.com.