I'm using Apache/2.0.54 (Unix) mod_apreq2-20050712/2.1.3-dev mod_perl/2.0.1 Perl/v5.8.0
After a certain level of usage I get the following error:
failed: Too many connections at /usr/lib/perl5/5.8.0/Habitat/Apache2/DB.pm line 64\n,
When I do a server restart it's fine for a while. What do I ne
I am trying to build mod_perl-2.0.2 on AIX 5.2 using the xlC compiler.
I have successfully compiled a static version of PERL 5.8.7 and Apache
httpd-2.2.0.
First I ran perl Makefile.PL and when prompted entered the path for apxs
(/usr/local/apache2/bin/apxs)
I then ran the make and got an erro
I see a info in the error.log when I access the uri / and works fine,
[Wed Feb 08 13:22:35 2006] [info] [client 10.0.0.1] Module bug?
Request filename is missing for URI /
Is the info reported by modperl2? anything wrong?
--
perl -e 'print unpack(u,"62V5N\"FME;G\!E
You catched my problem, I didn't load debugger before this handler, thanks.
After I changed the order in the httpd config file, my problem is
solved, It stopped at the point I wanted,
my $r = shift;
Thanks again.
On 2/8/06, Perrin Harkins <[EMAIL PROTECTED]> wrote:
> On Tue, 2006-02-07 at 16:1
On Tue, 7 Feb 2006, JupiterHost.Net wrote:
> Date: Tue, 07 Feb 2006 13:09:06 -0600
> From: JupiterHost.Net <[EMAIL PROTECTED]>
> To: modperl@perl.apache.org
> Subject: mod_perl 2 newbie
>
> Hello List!
>
> I'd like to build mod_perl/2.0.2 statically built into apache as per:
>
> http://perl.apa
I don't know about a manual build but some installs put the perl stuff
in file(s) in /usr/local/apache2/conf.d/, so it may not be mentioned in
httpd.conf.
JupiterHost.Net wrote:
grep -i perl /usr/local/apache2/conf/httpd.conf
have no output.
So how do I tell if mod_perl 2 is compiled into
Jonathan Vanasco wrote:
There's no point to build MP2 into apache
there's barely any difference in performance between the static and
module versions
most people i know just run the module version - its far easier to set
up , and you don't have to rebuild everything on every new releas
If it's a late night thing you'll be needing suggestions...
- do ?lang=jp right after restarting the server
- do ?lang=xx where xx is some random (invalid) combination of letters
- clarify "does not run" - does not produce expected output? crashes?
does not execute a certain bit of your code?
- m
Hi
I have a very odd bug here that is making me scratch my head.
Essentially, I have a script which gets executed normally - except when
one particular argument is passed to it. Then it doesn't execute - it
gets spat out as a text document.
My server config is maybe a bit unusual. I have this in
On Feb 7, 2006, at 12:06, Jonathan Vanasco wrote:
I'm trying to get XML::Parser installed on my osx dev box.
First of all, do you have XCode installed? You won't be able to
install any XS modules unless you have a compiler, and gcc comes with
XCode.
Next, do you have libexpat installed?
There's no point to build MP2 into apache
there's barely any difference in performance between the static and
module versions
most people i know just run the module version - its far easier to
set up , and you don't have to rebuild everything on every new release
I'm trying to get XML::Parser installed on my osx dev box.
its not looking good.
i can't find any info on it not compiling on google, except for a
reference to a potential library conflict in libexpat between apache2
and XML::Parser
does anyone know if there's any truth to that? and if s
Thanks Jonathan
Just to be clear - the hash and the method to init it are declared and defined in MyModule like this:
{
my $hash = 0;
sub init
{
# fill in the hash completely
}
sub getValue
{
# get stuff (die if $hash == 0, because not init'd)
}
}
in startup.pl is only
use MyModule ();
M
Hello,
I am trying to set up Apache::RPC::Server (RPC-XML-0.58) under MP2 (MP
2.0.2 + Apache 2.0.55 on Solaris 10 SPARC). This module was written to
the MP1 API, therefore I'm loading Apache2::compat as the first 'use'
statement in my server startup.pl. However, the module makes use of
Apac
Hello List!
I'd like to build mod_perl/2.0.2 statically built into apache as per:
http://perl.apache.org/docs/2.0/user/install/install.html#Static_mod_perl
However instead of making apache2 as part of mod_perl2 I'd like to
1) configure/make/etc mod_perl 2
2) add other modules
3) build apache
On Feb 7, 2006, at 10:43 , Geoffrey Young wrote:
that is part of the interactive config foo that I don't really
understand,
particular like, or use.
I don't blame you, since it's clearly broken. :-)
I guess what I had in mind was the custom which() subroutine and
some stuff
that looks for
MP might work (i'm not sure), but someone was having problems with
libapreq - which i believe doesn't work with 2.2.0
On Feb 7, 2006, at 9:57 AM, JupiterHost.Net wrote:
Didn't see this anywhere for sure and just wanted to verify before
I started a project:
mod_perl 2.0 works on Apache
if it is in the hash at startup, all the children will access that
hash and share it.
if it written to after startup.pl, use memcached
On Feb 7, 2006, at 1:31 PM, Daniel McBrearty wrote:
that any memory that gets written to will be seen as dirty, and
therefore not shared. But if it is only
> Uh, so, if it doesn't have MP_APXS it dies, and if it has it it dies.
> Is that really how it should work?
that is part of the interactive config foo that I don't really understand,
particular like, or use.
I guess what I had in mind was the custom which() subroutine and some stuff
that looks
On Feb 7, 2006, at 10:14 , David Wheeler wrote:
Apache-Test contains some code for digging out httpd when it's not
in your
path - see TestConfig.pm for some stuff you might be able to steal.
Thanks Geoff, I'll do that.
Taking a quick look, I see this:
my $mp2_build = modperl_b
Hi all
I have some multilingual pages running on mysql/modperl.
I'm thinking that certain text will be retrieved again and again from
the db, hence I'm thinking about caching it in a hash. There is
alreaday a specific method I get that retrieves these values so just a
rewrite of that method would
Thanks all. The ENV var is indeed the best way.
On 2/7/06, Frank Wiles <[EMAIL PROTECTED]> wrote:
On Tue, 7 Feb 2006 06:58:24 +0100Daniel McBrearty <[EMAIL PROTECTED]> wrote:> If I have a library which is used for both mod_perl and standard cgi
> processes, and I want to know at runtime which, how
On Feb 7, 2006, at 09:08 , Tom Schindl wrote:
and is it working and how? The first line reads in my case reads
like this:
-8<-
package ModPerl::Config;
use strict;
use Apache2::Build ();
[...]
-8<-
But that's not Apache2::Bui
On Feb 7, 2006, at 09:03 , Geoffrey Young wrote:
Apache-Test contains some code for digging out httpd when it's not
in your
path - see TestConfig.pm for some stuff you might be able to steal.
Thanks Geoff, I'll do that.
Best,
David
On Tue, 2006-02-07 at 08:56 +0100, John Doe wrote:
> Ken Perl am Dienstag, 7. Februar 2006 07.44:
> > when Apache::DB is initialized it will write a line of log into
> > error.log, but without a timestamp,
> > [notice] Apache::DB initialized in child 1957
> > May I add one?
> >
> > --
> > perl -e '
On Tue, 2006-02-07 at 16:10 +0800, Ken Perl wrote:
> hi,
> I'd like to set a breakpoint at the first line in the module's handler,
> sub handler {
> my $r = shift; <-- here
> ... ...
>$r->set_handlers(PerlResponseHandler => \&contentHandler);
> }
>
> So, I tried Per
David Wheeler wrote:
> On Feb 7, 2006, at 08:38 , Tom Schindl wrote:
>
>> Your line works like a charme ;-)
>>
>> -8<-
>> [EMAIL PROTECTED] ~]$ /opt/myperl/bin/perl -MApache2::BuildConfig -le 'print
>> Apache2::BuildConfig->new->MP_APXS, $/'
>> /opt/myapache/bin/apx
David Wheeler wrote:
> On Feb 7, 2006, at 08:38 , Tom Schindl wrote:
>
>> Your line works like a charme ;-)
>>
>> -8<-
>> [EMAIL PROTECTED] ~]$ /opt/myperl/bin/perl -MApache2::BuildConfig -le 'print
>> Apache2::BuildConfig->new->MP_APXS, $/'
>> /opt/myapache/bin/a
On Feb 7, 2006, at 08:38 , Tom Schindl wrote:
Your line works like a charme ;-)
-8<-
[EMAIL PROTECTED] ~]$ /opt/myperl/bin/perl -MApache2::BuildConfig -le 'print
Apache2::BuildConfig->new->MP_APXS, $/'
/opt/myapache/bin/apxs
[EMAIL PROTECTED] ~]$
---
David Wheeler wrote:
> On Feb 7, 2006, at 3:13 AM, Tom Schindl wrote:
>
>> I always thought that could be retrieved from "Apache2::BuildConfig"
>> e.g. to get where you apx is located you could use:
>>
>> print Apache2::BuildConfig->new()->MP_APXS . "\n";
>
>
> Doesn't seem to work for me:
>
>
>> 1. Are the permissions right?
>when launching apache as root, permissions aren't very significant, are they?
... I don't use debian so can't tell if debian does it differently, but I
actually face that error often when I create a new perl module in the perl
lib directory. (since my root's defa
On Feb 7, 2006, at 3:13 AM, Tom Schindl wrote:
I always thought that could be retrieved from "Apache2::BuildConfig"
e.g. to get where you apx is located you could use:
print Apache2::BuildConfig->new()->MP_APXS . "\n";
Doesn't seem to work for me:
geertz% perl -MApache2::BuildConfig -le 'pri
[EMAIL PROTECTED] wrote:
JupiterHost.Net wrote:
Didn't see this anywhere for sure and just wanted to verify before I
started a project:
mod_perl 2.0 works on Apache 2.2.0 (IE the next step up from 2.0)
correct?
TIA!
Hi There ,
Yes it does !
KEv
Thanks Kev :)
On Tue, 7 Feb 2006 16:10:47 +0800
Ken Perl <[EMAIL PROTECTED]> wrote:
> hi,
> I'd like to set a breakpoint at the first line in the module's
> handler, sub handler {
> my $r = shift; <-- here
> ... ...
>$r->set_handlers(PerlResponseHandler => \&contentHandler);
> }
On Tue, 7 Feb 2006 06:58:24 +0100
Daniel McBrearty <[EMAIL PROTECTED]> wrote:
> If I have a library which is used for both mod_perl and standard cgi
> processes, and I want to know at runtime which, how can I do that?
The environment variable $ENV{MOD_PERL} should be set if it is
running unde
Didn't see this anywhere for sure and just wanted to verify before I
started a project:
mod_perl 2.0 works on Apache 2.2.0 (IE the next step up from 2.0) correct?
TIA!
I also turned the debug on, but didn't see any debug message in the
error.log, anyone knows why?
PerlSetVar ReloadDebug On
On 2/7/06, Ken Perl <[EMAIL PROTECTED]> wrote:
> tried adding the two lines to the conf file, didn't work.
>
> On 2/6/06, Sean Davis <[EMAIL PROTECTED]> wrote:
> >
> >
> >
B10m wrote:
> * Peter Klump <[EMAIL PROTECTED]> [2006-02-07 13:44:56+0100]
>
> [POST data not arriving; using reverse proxy, or SSL?]
>
>
>>No - neither SSL nor proxies are involved. I tried my luck anyway in
>>downgraded Apache2 to 2.0.54 - however the error still persists :-(.
>>
>>Any other
* Peter Klump <[EMAIL PROTECTED]> [2006-02-07 13:44:56+0100]
[POST data not arriving; using reverse proxy, or SSL?]
> No - neither SSL nor proxies are involved. I tried my luck anyway in
> downgraded Apache2 to 2.0.54 - however the error still persists :-(.
>
> Any other thoughts on this?
I re
Hi,
No - neither SSL nor proxies are involved. I tried my luck anyway in
downgraded Apache2 to 2.0.54 - however the error still persists :-(.
Any other thoughts on this?
Thanks a lot,
Thomas
-Ursprüngliche Nachricht-
Von: David Wheeler [mailto:[EMAIL PROTECTED]
Gesendet: Dienstag, 7. Fe
On Tue, 2006-02-07 at 07:03 -0500, Mark Galbreath wrote:
> Apache 2.1 does not recognize in httpd.conf. Does this have
> something to do with it's mod_perl autoload feature?
>
> mark
It probably has more to do with the fact that it should be , not
clint
Apache 2.1 does not recognize in httpd.conf. Does this have something to do with it's mod_perl autoload feature?
mark>>> Ken Perl <[EMAIL PROTECTED]> 07-Feb-06 04:04:46 AM >>>
Cool, I guess you mean add these lines into the conf file,use CGI::Carp;Thanks, It works.On 2/7/06, John Doe <[EMAIL
Ken Perl wrote:
No IDE for me too, I am using vi on a Debian terminal too.
warn is easy and good, I also want a more common and more powerful
interactive debugger tool, now I am trying Apache::DB and have this
trouble.
My bad... I was completely unaware of Apache::DB!
John
On 2/7/06, Joh
Hi,
I always thought that could be retrieved from "Apache2::BuildConfig"
e.g. to get where you apx is located you could use:
print Apache2::BuildConfig->new()->MP_APXS . "\n";
Tom
David Wheeler wrote:
> Hi All,
>
> I want to create App::Info::HTTPD::Apache2 to complement
> App::Info::HTTPD::A
Are you sure that you the appropriate perl is used when you called perl
Makefile.PL
Tom
The Doctor wrote:
> I compiled mod perl 2.0.2 using perl 5.8.8 and upon installation
> telnet localhost 80 gives me
>
> Apache/2.0.55 (Unix) DAV/2 mod_ruby/1.2.4 mod_python/3.1.3 Python/2.3.2
> FrontPage/5.
tried adding the two lines to the conf file, didn't work.
On 2/6/06, Sean Davis <[EMAIL PROTECTED]> wrote:
>
>
>
> On 2/6/06 9:06 AM, "Ken Perl" <[EMAIL PROTECTED]> wrote:
>
> > Yes, I am using Apache2, the doc is very useful.
> > in httpd.conf file, I use PerlInitHandler example.pm's handler() as
Cool, I guess you mean add these lines into the conf file,
use CGI::Carp;
Thanks, It works.
On 2/7/06, John Doe <[EMAIL PROTECTED]> wrote:
> Ken Perl am Dienstag, 7. Februar 2006 07.44:
> > when Apache::DB is initialized it will write a line of log into
> > error.log, but without a timestamp,
No IDE for me too, I am using vi on a Debian terminal too.
warn is easy and good, I also want a more common and more powerful
interactive debugger tool, now I am trying Apache::DB and have this
trouble.
On 2/7/06, John ORourke <[EMAIL PROTECTED]> wrote:
> What sort of IDE, debugger, and platform a
What sort of IDE, debugger, and platform are you using?
Personally for debugging handlers I find it easier to just stick a line
like: warn "got here, r=$r\n"
then just tail -f the error_log. Proper old school. Then again I
develop with vi on an 80x24 terminal, am I missing out on something?
hi,
I'd like to set a breakpoint at the first line in the module's handler,
sub handler {
my $r = shift; <-- here
... ...
$r->set_handlers(PerlResponseHandler => \&contentHandler);
}
So, I tried PerFixupHandler, PerlHandler and PerlInitHander
respectively in below L
50 matches
Mail list logo