over, how does one go about wiping them off first?
TIA
Tim
--
Reporting bugs: http://perl.apache.org/bugs/
Mail list info: http://perl.apache.org/maillist/modperl.html
le to find. I got it at http://www.apache.org/~gozer/mp2/
-Tim
need to uninstall the
RPMs before I build from source? I'm also running Cacti/MySQL on this
server (also installed from RPMs), are they going to break if I build
from source? Thank you very much for your help!
-Tim
--
Report problems: http://perl.apache.org/bugs/
Mail list info: http://pe
I've just installed Apache2 and mod_perl2. I'm not quite sure what I
need to add to my httpd.conf to enable mod_perl on a directory. I'm not
doing anything fancy--I just want to have a directory where scripts are
executed with mod_perl rather than traditional CGI. I've read the docs
and configur
I've seen conflicting information in docs, websites, lists archives,
etc. Is there currently a way to do database connection pooling with
mod_perl2? I have tried using Apache::DBI with a use statement in my
startup.pl but that doesn't seem to work. Using PerlModule Apache::DBI
in my httpd.conf d
Sorry for the off-topic post, but I'm having some trouble subscribing to
the mod_ssl list and thought someone here might have additional
information.
Does the mod_ssl list still exist? I've tried subscribing both from the
web and by sending an email to [EMAIL PROTECTED] but after fifteen
hoursI h
I've got several applications running under mod_perl 1.99. Two of my
scripts need to be secured using mod_ssl. I think that I have things
mostly setup correctly, and my server now allows me to request any
document/script that was previously available over either a regular or
secure connection. I
Philippe M. Chiasson wrote:
: Tim Howell wrote:
:: I've got several applications running under mod_perl 1.99. Two of my
:: scripts need to be secured using mod_ssl. I think that I have things
:: mostly setup correctly, and my server now allows me to request any
:: document/script tha
] [notice] child pid 28732 exit signal Segmentation
fault (11)
Rebuilding apache w/o mod_perl allows Apache to return pages.
--
Tim Evans, TKEvans.com, Inc.|5 Chestnut Court
[EMAIL PROTECTED] |Owings Mills, MD 21117
http://www.tkevans.com/ |443-394-3864
http
, (index.lori.html) croaks mod_perl;
the second (anlgform.html) does not.
If I remove the bogus 'mm:layoutgroup="true"' element, the first file serves
fine. With it, apache seg faults.
Tim Evans, TKEvans.com, Inc.|5 Chestnut Court
[EMAIL PROTECTED]
(argc=1, argv=0xb974) at http_main.c:5574
#2 0x0807940f in parse_byterange (r=0x1, start=0xb974, end=0xb97c)
at http_protocol.c:152
#3 0x40098777 in ?? ()
--
Tim Evans, TKEvans.com, Inc.|5 Chestnut Court
[EMAIL PROTECTED] |Owings Mills, MD 21117
http://w
apache--no other non-default modules.
BTW, I have reproduced this on a more modern Linux, RedHat Enterprise WS,
kernel
2.4.21-20.EL
--
Tim Evans, TKEvans.com, Inc.|5 Chestnut Court
[EMAIL PROTECTED] |Owings Mills, MD 21117
http://www.tkevans.com/ |443-394-
able-rule=EXPAT" \
"--enable-shared=perl" \
>Also, take a look at:
>http://perl.apache.org/docs/1.0/guide/install.html#mod_perl_and_mod_php
>to see if it makes any difference.
Later today.
--
Tim Evans, TKEvans.com, Inc.|5 Chestnut Court
[EMAIL PROTECTED]
Here's something more of interest (more than a year old, but the described
symptons are spot-on:
http://www.phpbuilder.com/lists/php-install/2003092/0018.php
--
Tim Evans, TKEvans.com, Inc.|5 Chestnut Court
[EMAIL PROTECTED] |Owings Mills, MD 21117
ad this as an either redo perl as above or do this, but not both.
--
Tim Evans, TKEvans.com, Inc.|5 Chestnut Court
[EMAIL PROTECTED] |Owings Mills, MD 21117
http://www.tkevans.com/ |443-394-3864
http://www.come-here.com/News/ |
--
Report problems: http://
in ?? ()
Cannot access memory at address 0xc000
(gdb)
At this point, my client has instructed me to stop burning billable hours on
this project--initial goal was to get an application called Request Tracker
(http://www.bestpractical.com/rt/) running. I cannot disable PHP for this
pro
Static or
dynamic makes no difference.
--
Tim Evans, TKEvans.com, Inc.|5 Chestnut Court
[EMAIL PROTECTED] |Owings Mills, MD 21117
http://www.tkevans.com/ |443-394-3864
http://www.come-here.com/News/ |
--
Report problems: http://perl.apache.org/bugs/
Mai
log wasn't created, start the
server in the debug mode)
make: *** [run_tests] Error 143
I haven't had much success finding previous threads about this problem and
would appreciate any help.
Thanks,
Tim
I'm not exactly sure how to do
that for this situation. If you could give me an exact statement that would
be helpful.
Thanks for your help,
Tim
2. Used Components and their Configuration:
*** mod_perl version 1.9910
*** using lib/Apache/BuildConfig.pm
*** Makefile.PL opti
I built it like this
(with MP_USE_STATIC) -
perl Makefile.PL MP_INST_APACHE2=1 MP_AP_PREFIX=/usr/local/apache2
MP_USE_STATIC=1
The results of t/TEST -trace=debug -config
==> unable to locate mod_perl.so (could be a static build)
So it would appear that I want to build mod_perl without the
MP_USE_STATIC=1, is that correct?
Thanks again,
Tim
That did it! Thanks for all your help.
-Original Message-
From: Stas Bekman [mailto:[EMAIL PROTECTED]
Sent: Friday, October 17, 2003 1:31 PM
To: Tim Smith
Cc: [EMAIL PROTECTED]
Subject: Re: [mp2] message about Invalid command 'PerlSwitches' during
make test
Tim S
ions
over. I am already using IPC::Shareable in the authentication handler
and would prefer to not use that mechanism. Is there a way to have the
data persist across the authenticate/authorize parts of the module?
Thanks!
Tim
--
Report problems: http://perl.apache.org/bugs/
Mail list
Perrin Harkins wrote:
Hi Tim,
Welcome to mod_perl!
Thanks Perrin!
I would like to cache this information somehow so
that the authorization handler doesn't need to perform these operations
over.
Put it in $r->pnotes() and it will be available in later phases.
Could I not ju
tiple db's to reduce lock
contention. To really be honest, I have never really used shared memory
much (in any programming language) so I don't really understand the main
issues - but I thought locking (in the perl module) was done with
semaphores...
Thanks,
Tim
--
Report problems: htt
d telling IPC::Shareable to not bother serializing it (I
thought I read that this module could do that, but perhaps I was
mistaken (maybe I was incorrectly thinking of Cache::FastMmap).
Thanks,
Tim
--
Report problems: http://perl.apache.org/bugs/
Mail list info: http://perl.apache.org/maillist/m
must come after the 'set' subroutine as they call it.
We are therefore in a situation where on FreeBSD if we use mod_perl as a
DSO the server crashes and if we compile it in with Apache data gets
corrupted. We have tested this on vanilla and FreeBSD ports builds. None
of
these bugs are
0x1 [req 1 child 2]
0x2 [req 2 child 1]
0x2 [req 2 child 2]
...
So I was wondering wether or not this is normal behaviour.
(The Apache2::RequestRec is only re-new()ed every n-hits,
n being the number of apache children)
And where I could find out more about why it's doing this.
;s
> not freed) that's why you should not use fileuploads with mod_perl.
I see, so it might not be such a good idea to use Cache::Cache or does
it's purge method really deallocate the memory?
> Tom
--
kind regards,
Tim
ALAR(0x922937c)
26700 Apache2::RequestRec=SCALAR(0x922937c)
26702 Apache2::RequestRec=SCALAR(0x922937c)
26704 Apache2::RequestRec=SCALAR(0x922937c)
- my apache has 10 children at the moment
26687 Apache2::RequestRec=SCALAR(0x9193884)
- stays the same for another 9 hits, then changes again
> Tom
--
kind regards,
Tim Esselens
return 0
}
If I change the "hello world" string, the module gets reloaded ok, but I
presume the $coderef is pointing to the wrong piece of code?
I've also tried:
if(my $coderef = eval { $mod->can($sub) }) { ... }
but with no difference.
--
kind regards,
Tim Esselens
s or use a
> method name instead of a code ref.
> if ($mod->can($sub)) {
> $r->set_handlers(PerlResponseHandler => join '::', $mod, $sub);
> }
The init handlers were in the right order, but your suggestion of using a
method name worked like a charm. Thanks!
--
kind regards,
Tim Esselens
es of $r start to change in a more random fashion.
--
kind regards,
Tim Esselens
ed? AFAIK $_[0] will never be a reference.
kind regards,
Tim Esselens
ew";
$self = $self->new;
}
}
And I've never seen a situation where 'self was a ref'
could you please enlighten me.
> --Geoff
--
kind regards,
Tim Essselens
ever seen it used in real life like that - certainly not by me. but
> maybe ask or someone else has :)
OK, one more mystery solved.
On a sidenote, I've bought mod_perl cookbook, very nice to be talking to one
of the people involved, your work is very much appreciated!
> --Geoff
--
kind regards,
Tim Esselens
special I need to do when I'm in my Dispatcher's handler?
(ie: return DECLINED or something similar to force processing of other
handlers maybe? I'm clueless)
--
kind regards,
Tim Esselens
really solve my problem since my Dispatcher gets hit too
early in the chain, the code behind it (CGI::Builder::Magic) doesn't get
the template name (index.phtml). I'm presuming this is because the uri (/)
isn't translated to the directoryindex (/index.phtml) yet.
I'll report back If I have any more clues.
> --Geoff
--
kind regards.
Tim Esselens
sume that since the
Dispatcher is called from PerlInitHandler, $r->filename is still pointing
to / ?
--
kind regards,
Tim Esselens
his and add it to the documentation?
(including the error message)
Then send me an updated patch.
Thanks Philip!
Tim.
tant again. It's already loaded by
DBI::Profile and the perl compiler can use constants to completely
eliminate code for statements like if(){} blocks it knows won't be entered.
I also tweaked the $ENV{MOD_PERL_API_VERSION} test to avoid undef warnings.
Thanks.
Tim.
> I tweaked this to be s
tter, way is to use prepare_cached() along with connect_cached().
http://search.cpan.org/src/TIMB/DBI_AdvancedTalk_2004/sld029.htm and later
slides.
Tim.
s loaded before DBI, or if you do
$DBI::connect_via = "Apache::DBI::connect";
Tim.
s my PerlPostConfigHandler:
> [...]
> - use this as my PerlPreConnectionHandler:
> [...]
Seems like hack without actually identifying the source of any problem
in the existing DBI or Apache::DBI code.
With a little more digging I'm sure you could identify _why_
Apache::DBI::connect
is giving you back a dead handle. Fixing that would 'help save the world' for
countless other users. Can you try that?
Tim.
be reasonable for Apache::DBI to provide a way for applications
to call disconnect() and have it actually disconnect.
> Yeah, I ditched Apache::DBI early in diagnosing this problem. Then I
> wrote that hack to solve it, which is what has started this whole thread. I
> was happy just posting the hack and leaving it at that, but you guys keep
> egging me on ;-)
Like detectives egging on the chief witness :)
Tim.
l level of security provided by those
steps ..
Tim
on a CentOS 5.1 box.
Thanks!
Tim Gustafson
SOE Webmaster
UC Santa Cruz
[EMAIL PROTECTED]
(831) 459-5354
Hrmm, that doesn't seem to work. In my code, I have:
print $fh $r->body . "\n";
And in my error log, I get:
Can't locate object method "body" via package "Apache2::RequestRec" at
/var/www/lib/Log.pm line 31.
Tim Gustafson
SOE Webmaster
UC
uot;.
I can use $s->next (after require Apache2::ServerRec) to iterate over
the vhosts but I can't see a way to find "my" vhost.
Is there one?
What I'm looking for is some way for *a specific vhost perl interpreter*
to run code at PerlChildExitHandler *in that interprete
On Wed, Apr 28, 2010 at 11:25:14PM -0400, Adam Prime wrote:
> Maybe you could try doing the push_handler for the ChildExitHandler
> when the ChildInitHandler executes? Just a shot in the dark.
Umm, but how to I get the ChildInitHandler handle to use the right perl
interpreter?
Tim.
On Thu, Apr 29, 2010 at 04:02:05PM -0700, Fred Moyer wrote:
> On Thu, Apr 29, 2010 at 4:39 AM, Tim Bunce wrote:
> > On Wed, Apr 28, 2010 at 11:25:14PM -0400, Adam Prime wrote:
> >> Maybe you could try doing the push_handler for the ChildExitHandler
> >> when the ChildIn
ay.
When there are no more items in the main array it would copy
the items back again (av_make() is handy for that).
Tim.
On Wed, Jun 30, 2010 at 09:24:42AM -0600, Alex Hunsaker wrote:
> On Wed, Jun 30, 2010 at 02:49, Tim Bunce wrote:
> > On Tue, Jun 29, 2010 at 09:50:00PM -0700, Fred Moyer wrote:
> >> I think getting rid of the segfault is a good thing. But if the main
> >> problem is i
er on Apache 2.2 *between*
mod_proxy and mod_cache?
Or am I going to have to implement a filter that includes proxying
and/or caching?
Many thanks for any advice,
Cheers,
Tim
--
Tim Watts
Personal Blog: http://www.dionic.net/tim/
cat as a little, rather
inefficient, black box and try to fixup on the apache front ends, hence
the direction of my original idea...
Cheers,
Tim
--
Tim Watts
Personal Blog: http://www.dionic.net/tim/
On 14/07/11 11:52, "Alex J. G. Burzyński" wrote:
Hi Tim,
If you are after caching the responses, maybe an easier solution would
be to use a reverse proxy - like Varnish?
You would be then in complete control over the incoming and outgoing
headers and could cache responses based
ption.
And it is certainly a good tool to have in one's toolcase.
I agree - I'll have a look at that after I play with Alex's suggestion
of Varnish :)
Thanks very much for your time :)
all the best,
Tim
--
Tim Watts
Personal Blog: http://www.dionic.net/tim/
On 14/07/11 14:38, André Warnier wrote:
Tim Watts wrote:
...
"I think for this problem, I have to treat tomcat as a little, rather
inefficient, black box .."
They liked that quote then? ;->>>>
I'm sure it's a lovely development environment (there mu
"output filter" should always run /after/ any modules which
generate content.
So, it is probably difficult to have a filter which runs /in-between/
other Apache modules.
I'm still going to have a look at mod_perl filters - I have a feeling
they could be useful here and there.
Thanks :)
Tim
--
Tim Watts
Personal Blog: http://www.dionic.net/tim/
=> $ENV{MOD_PERL}\n";
warn "MOD_PERL_API_VERSION => $ENV{MOD_PERL_API_VERSION}\n\n";
$r->content_type("text/plain");
return Apache2::Const::OK;
}
1;
--
Tim Retout
Development Manager, CV-Library
ariables that might be needed by DBI/mysql and
> might not get passed through to the child process?
>
> On Thu, Oct 10, 2024 at 11:02 AM Tim Lank wrote:
>
>> Thanks Ed. I'll add it and see if it helps. My load testing phase is
>> already completed, but I may get a chan
=mysql_native_password
Ref:
https://dev.mysql.com/blog-archive/upgrading-to-mysql-8-0-default-authentication-plugin-considerations/
On Mon, Oct 7, 2024 at 7:28 PM Tim Lank wrote:
> Good point. I’ll try to ratchet up the debugs on those to see if anything
> pops out
>
> On Mon, Oct 7, 2024 at 6:58 P
; Without the ability to consistently reproduce the issue all we can really
> do is look at the code and make educated guesses.
>
> Adam
>
> On Oct 7, 2024, at 5:56 PM, Tim Lank wrote:
>
>
>
> You don't often get email from timl...@timlank.com. Lear
-not-loaded
>
> On Mon, Oct 7, 2024, 4:56 PM Tim Lank wrote:
>
>> Apache::DBI experts:
>>
>> I have the following in my startup.pl:
>>
>> use CGI qw(:all);
>> use CGI::Carp 'fatalsToBrowser', 'carpout';
>> use List::Util
n
the log.
Can someone clue me in on what to do in order to try and eliminate any of
the errors from happening when doing a load test like this?
Server Version: Apache/2.4.57 (AlmaLinux) OpenSSL/3.0.7 mod_perl/2.0.12
Perl/v5.32.1Server MPM: eventServer version: 8.0.39 MySQL Community Server
- GPL
Thanks,Tim
Thanks Ed. I'll add it and see if it helps. My load testing phase is
already completed, but I may get a chance to retest next year.
On Thu, Oct 10, 2024 at 6:32 AM Edward J. Sabol
wrote:
> On Oct 7, 2024, at 5:55 PM, Tim Lank wrote:
>
> I have the following in my startup.pl:
65 matches
Mail list logo