Problem with perl-status memory usage

2007-09-12 Thread Richard Jones
Have setup perl-status according to the information in Practical mod_perl (Ch9.4), and am using Apache/2.2.3 mod_perl/2.0.2 on a Linux system running the XAMPP package. All perl-status functions seem to work OK, except memory usage which generates a 500 error: [Wed Sep 12 11:45:59 2007] [error

Re: Problem with perl-status memory usage

2007-09-12 Thread Perrin Harkins
On 9/12/07, Richard Jones <[EMAIL PROTECTED]> wrote: > Both packages referred to in the error message are installed and up to date Do you have more than one perl on this system? Maybe XAMPP installs a separate one. - Perrin

Re: Problem with perl-status memory usage

2007-09-12 Thread Richard Jones
Perrin Harkins wrote: On 9/12/07, Richard Jones <[EMAIL PROTECTED]> wrote: Both packages referred to in the error message are installed and up to date Do you have more than one perl on this system? Maybe XAMPP installs a separate one. Yes, XAMPP has its own Perl, but I ensure I install pack

Re: Problem with perl-status memory usage

2007-09-12 Thread Perrin Harkins
On 9/12/07, Richard Jones <[EMAIL PROTECTED]> wrote: > I'm pretty sure the XAMPP Apache server is using its own Perl rather > than the default /usr/bin/perl as I have a large number of dependencies > for my mod_perl web apps which do not exist under the default perl lib > path. Check it by finding

Re: Problem with perl-status memory usage

2007-09-12 Thread Richard Jones
Perrin Harkins wrote: On 9/12/07, Richard Jones <[EMAIL PROTECTED]> wrote: I'm pretty sure the XAMPP Apache server is using its own Perl rather than the default /usr/bin/perl as I have a large number of dependencies for my mod_perl web apps which do not exist under the default perl lib path. C

Re: Problem with perl-status memory usage

2007-09-13 Thread Perrin Harkins
On 9/12/07, Richard Jones <[EMAIL PROTECTED]> wrote: > /opt/lampp/bin/perl -e 'print join "\n", @INC': No, print @INC from mod_perl, not from the command line. - Perrin

Re: Problem with perl-status memory usage

2007-09-13 Thread Richard Jones
Perrin Harkins wrote: On 9/12/07, Richard Jones <[EMAIL PROTECTED]> wrote: /opt/lampp/bin/perl -e 'print join "\n", @INC': No, print @INC from mod_perl, not from the command line. Sorry, yes that was silly. From an equivalent script inside the /perl directory (which is set in perl.conf to

Re: Problem with perl-status memory usage

2007-09-13 Thread Perrin Harkins
On 9/13/07, Richard Jones <[EMAIL PROTECTED]> wrote: > /opt/lampp/lib/perl5/site_perl/5.8.7/Devel/Symdump.pm Ok, the next thing to try is a permissions check. Become the user who you run your web server as (often "nobody", but I don't know what XAMPP does) and try to read this file. - Perrin

Re: Problem with perl-status memory usage

2007-09-14 Thread RA Jones
Perrin Harkins wrote: On 9/13/07, Richard Jones <[EMAIL PROTECTED]> wrote: /opt/lampp/lib/perl5/site_perl/5.8.7/Devel/Symdump.pm Ok, the next thing to try is a permissions check. Become the user who you run your web server as (often "nobody", but I don't know what XAMPP does) and try

Re: Problem with perl-status memory usage

2007-09-14 Thread Perrin Harkins
On 9/14/07, RA Jones <[EMAIL PROTECTED]> wrote: > Yes, user 'nobody' gets a display on 'cat > /opt/lampp/lib/perl5/site_perl/5.8.7/Devel/Symdump.pm' Okay, can you try making your own mod_perl handler that loads Devel::Symdump and see if it works? - Perrin

Re: Problem with perl-status memory usage

2007-09-19 Thread Richard Jones
Perrin Harkins wrote: On 9/14/07, RA Jones <[EMAIL PROTECTED]> wrote: Yes, user 'nobody' gets a display on 'cat /opt/lampp/lib/perl5/site_perl/5.8.7/Devel/Symdump.pm' Okay, can you try making your own mod_perl handler that loads Devel::Symdump and see if it works? Sorry it's taken a while.

Re: Problem with perl-status memory usage

2007-09-19 Thread Michael Peters
Richard Jones wrote: > gives me a nice Data::Dumper data structure in the browser window. It > probably doesn't make much sense as programming logic as I don't > normally use Devel::Symdump, but I guess it shows the module is OK? The original error message was this: [Wed Sep 12 11:45:59 2007] [e