Re: support for Apache 2.4

2014-02-16 Thread Carl Brewer
On 16/02/2014 1:16 PM, Fred Moyer wrote: After a quick chat with Jie, I've updated perl.apache.org and removed the links to the snapshots directory which was broken. Apache.org is no longer supporting snapshot releases, which is why they are no longer available. If you have trouble viewing the

Re: tracking a coredump problem

2009-03-03 Thread Carl Brewer
I've got some coredumps now, after starting apache mp with apachectl not the init script. gdb shows this : Core was generated by `/usr/local/apache/2.2.11/bin/httpd -f /etc/httpd/conf/httpd-2.2.11-perl.conf -k'. Program terminated with signal 11, Segmentation fault. #0 0x0030a039 in

Re: tracking a coredump problem

2009-03-02 Thread Carl Brewer
eric.b...@barclayscapital.com wrote: Carl, I may have missed it, but did you say at what point you were seeing the segfault? I assume you mean at startup, but can you confirm? Not at startup, it happens after 'a while'. It's very hard to track, and I am stumped at trying to get a core file

Re: tracking a coredump problem

2009-01-28 Thread Carl Brewer
Philippe M. Chiasson wrote: Selinux enabled ? Good question, I don't think so, but will double-check.

Re: tracking a coredump problem

2009-01-28 Thread Carl Brewer
Carl Brewer wrote: Philippe M. Chiasson wrote: Selinux enabled ? Good question, I don't think so, but will double-check. Nope, selinux is disabled on /etc/selinux/config

Re: tracking a coredump problem

2009-01-28 Thread Carl Brewer
Adam Prime wrote: Carl Brewer wrote: And in the (RHEL/CentOS format) init.d script start() { echo -n $Starting $prog: ulimit -S -c unlimited /dev/null 21 LANG=$HTTPD_LANG daemon $httpd $OPTIONS -f $conf RETVAL=$? echo ulimit -c [ $RETVAL

Re: tracking a coredump problem

2009-01-27 Thread Carl Brewer
Following up on this, I'm still stuck, but maybe someone here can help with a debugging step? I'm trying to get httpd to dump cores, as we're seeing this a lot : [Sun Jan 25 18:14:17 2009] [notice] child pid 20822 exit signal Segmentation fault (11) and I figure a core might just help.

tracking a coredump problem

2009-01-24 Thread Carl Brewer
Hello, I'm running apache 2.2.11 with mp2.0.4 and libapreq 2.0.8, or at least, I think I am ... it's on CentOS/RHEL 5.2 We've been having some intermittent segfaults which are proving difficult to track down, and so I seek the help of the list. At startup, httpd reports as follows :

a mp/perl equivalent to sendmail.php?

2008-01-28 Thread Carl Brewer
I have a client who wants to send email from a flash script (do you call flash stuff scripts?), and he has asked me to install sendmail.php for him. I don't want to! Can anyone here recommend a modperl (or just plain perl) equivalent that I can lock down so it is less likely to be used as

[mp2] porting older mp2 code to 2.0.0 - I'm stuck with params from apreq!

2005-05-21 Thread Carl Brewer
I'm porting my code to mp2.0.0 from 1.99.older (16?) - so far mostly ok, but I'm stuck on a conversion with apreq - I've now got libapreq2-2.05-dev installed (the distributed version, not sucked from svn/cvs). I was using the following code to grab input : sub hash_post { # returns a

Re: [mp2] porting older mp2 code to 2.0.0 - I'm stuck with params from apreq!

2005-05-21 Thread Carl Brewer
Carl Brewer wrote: If I'd looked in : docs/html/group__apreq__xs__request.html I'd have seen that all I needed to do was to change use Apache::Request; to use Apache2::Request; and my $req = Apache::Request-new($r); to my $req = Apache2::Request-new($r); and it would have just worked

Re: mod_perl 2 Sessions

2004-11-10 Thread Carl Brewer
Perrin Harkins wrote: On Thu, 2004-10-28 at 11:53, Geoffrey Young wrote: I'm sure others can point out additional tools as well. Apache::SessionManager is a good place for newbies to start with sessions under mod_perl: http://search.cpan.org/~enrys/Apache-SessionManager-1.02/ Further to that,

[mp2] modperl not reloading files when changed

2004-11-09 Thread Carl Brewer
Hello, I've got a couple of files, a script and a library, and I'm not sure of what I'm doing wrong in terms of telling modperl to watch them for changes. I have the following in httpd.conf : for my virtual host : PerlModule Apache2 PerlRequire /home/benfab/lib/startup.pl PerlModule

[mp2] can't locate object method upload via package Apache::RequestRec

2004-11-06 Thread Carl Brewer
Forgive my poor perl and understanding of how this works! I'm trying to grab images from a form, using libapreq2, and I'm seeing this error : [Sun Nov 07 10:52:34 2004] [error] Can't locate object method upload via package Apache::RequestRec at /home/benfab/lib/BF.pm line 135.\n I've a library I'm

Re: [mp2] can't locate object method upload via package Apache::RequestRec

2004-11-06 Thread Carl Brewer
Tom Schindl wrote: Carl Brewer wrote: sub get_uploaded_image { my ($name, $max_size, $r) = @_; use Apache::Upload; my $req = Apache::Request-new($r); my $upload = $req-upload($name); I've got that in my subroutine and it works, but I'm concerned that I'm dipping into the buckets too much

Re: [mp2] mason and not using compat? - Can't locate object method server_root_relative

2004-10-25 Thread Carl Brewer
Philippe M. Chiasson wrote: Carl Brewer wrote: I believe there is a CPAN module that makes it a bit cleaner and less hack-ish: MasonX::Apache2Handler http://search.cpan.org/dist/MasonX-Apache2Handler Thanks Philippe, I've found that now and built a NetBSD pkg for it. But, I'm having trouble using

Re: [mp2] mason and not using compat? - Can't locate object method server_root_relative

2004-10-25 Thread Carl Brewer
Randy Kobes wrote: From the mp2 Changes file, ($r|$c|$s)-server_root_relative has been removed. There is a suggested alternative, which for MasonX::Apache2Handler translates to (untested): === --- Apache2Handler.pm~ Sun Apr 11 17:02:16

Re: [mp2] mason and not using compat? - Can't locate object method server_root_relative

2004-10-25 Thread Carl Brewer
Randy Kobes wrote: From the mp2 Changes file, ($r|$c|$s)-server_root_relative has been removed. There is a suggested alternative, which for MasonX::Apache2Handler translates to (untested): === --- Apache2Handler.pm~ Sun Apr 11 17:02:16

[mp2] mason and not using compat?

2004-10-24 Thread Carl Brewer
Hello, I'm fiddling with Mason on apache2 (NetBSD 1.6.2 2.0RC's) and I'd like to use mp2 in native mode, not compat. I found : http://www.masonhq.com/?ApacheModPerl2 And the hack in there I haven't yet tried, but does anyone know of any plans to make this a bit neater? Thanks Carl -- Report

Re: [RELEASE CANDIDATE] mod_perl-1.99_17 RC1

2004-10-19 Thread Carl Brewer
Philippe M. Chiasson wrote: a release candidate for mod_perl 1.99_17 is now available for testing. Compiled works like a charm on NetBSD 1.6.2/i386 with normal (BSD) make even. mp2bug can't find the httpd binaryu though, but that's pretty minor. steel1: {15} perl mp2bug -8--

Re: [RELEASE CANDIDATE] mod_perl-1.99_17 RC1

2004-10-19 Thread Carl Brewer
Philippe M. Chiasson wrote: Could you post your /data/src/modperl-2.0/bin/../lib/Apache/BuildConfig.pm in it's entirety ? steel1: {23} cat /data/src/modperl-2.0/bin/../lib/Apache/BuildConfig.pm # # /* # * *** WARNING ** # * This file generated by Apache::Build/0.01 # * Any

[mp2] how far off feature-freeze is mp2?

2004-09-16 Thread Carl Brewer
Hello Stas et al, Just a quick question; how far off a feature-freeze is MP2? ie: if I wanted to write a moderatly serious e-commerce app in mp, is it safe to use mp2 and apreq2? thanks! Carl -- Report problems: http://perl.apache.org/bugs/ Mail list info:

Re: [mp2] NetBSD-1.6.2 modperl 1.99_16 httpd 2.0.51-dev make test errors

2004-09-15 Thread Carl Brewer
Joe Orton wrote: Oh well, having found a NetBSD box to testd this myself, the NetBSD fcntl() is being economical with the truth. It doesn't return O_NONBLOCK yet the socket really is non-blocking. I'll put in the suggested apr_hints.m4 change. fun fun This may be worth bringing to the attention

Re: [mp2] NetBSD-1.6.2 modperl 1.99_16 httpd 2.0.51-dev make test errors

2004-09-13 Thread Carl Brewer
[EMAIL PROTECTED] wrote: but make install for modperl-1.99_16 fails with the following: /usr/pkg/bin/perl -Iblib/lib/Apache2 -I/usr/home/mgorb/mp-test/mod_perl-1.99_16/Apache-Test/lib -MModPerl::BuildMM -e ModPerl::BuildMM::glue_pod WrapXS/APR/ThreadMutex/ThreadMutex.pm

Re: [mp2] Known problem with mod_perl 1.99_16 on FreeBSD 5 ?

2004-09-05 Thread Carl Brewer
Stas Bekman wrote: that seems to be a MakeMaker bug on some BSDs. Please see: http://rt.cpan.org/NoAuth/Bug.html?id=7417 The solution seems to be to use gmake. At least it worked for Carl on NetBSD. It works for me with gmake, yes. There's another problem I haven't had time yet to report though,

Re: [mp2] any forum/noticeboard apps out there?

2004-09-02 Thread Carl Brewer
Markus Wichitill wrote: Carl Brewer wrote: I've played with installing this today, I'm seeing the following in my error logs : [Thu Sep 02 13:52:41 2004] [error] Can't locate object method cleanup_register via package APR::Pool at /data/www/aboc/perl/mwf/MwfMain.pm line 250.\n Add use APR::Pool

Re: [mp2] a little OT, problem finding libapr

2004-09-01 Thread Carl Brewer
Stas Bekman wrote: I'd suggest to completely nuke /usr/local/apache2, install Apache from scratch and chances are that everything will work fine. You have too many old libs there. I did that, and still had the same problem. I ended up setting LD_LIBRARY_PATH to /usr/local/apache2/lib and it

[mp2] any forum/noticeboard apps out there?

2004-09-01 Thread Carl Brewer
Before I take the plunge and write my own, has anyone here written, or know of, any web forum s/w that runs under mp2 without using compat? I know web forums are kinda evil, but I've got a genuine use for one where I need to be able to control access to it. thanks! Carl -- Report problems:

Re: [mp2] any forum/noticeboard apps out there?

2004-09-01 Thread Carl Brewer
Markus Wichitill wrote: Carl Brewer wrote: Before I take the plunge and write my own, has anyone here written, or know of, any web forum s/w that runs under mp2 without using compat? http://www.mwforum.org/ I've played with installing this today, I'm seeing the following in my error logs : [Thu

[mp2] a little OT, problem finding libapr

2004-08-26 Thread Carl Brewer
After upgrading to Stas' latest MP2 stuff a few days ago, I started seeing the following error on a perl script that's not running through mp2, which I thought a little odd! steel1: {12} /data/www/aboc/utils/session_cleanup.pl Can't load

Re: [mp2] a little OT, problem finding libapr

2004-08-26 Thread Carl Brewer
Stas Bekman wrote: Carl, remember to always file a proper bug report and save yourself and us time. The report includes the info we need. Other than that, please send us the output of: I would, except I don't think it's a bug report, it's probably a stuff-up at my end :) ldd

Re: [mp2] a little OT, problem finding libapr

2004-08-26 Thread Carl Brewer
Please send the output of mp2bug as requested before. Done. I just pulled the latest CVS down, same problem. -8-- Start Bug Report 8-- 1. Problem Description: [DESCRIBE THE PROBLEM HERE] 2. Used Components and their Configuration: *** mod_perl version

Re: [mp2] a little OT, problem finding libapr

2004-08-26 Thread Carl Brewer
I'd suggest to completely nuke /usr/local/apache2, install Apache from scratch and chances are that everything will work fine. You have too many old libs there. I'll give that a go tonight or tomorrow when I get a few spare hours, thanks! -- Report problems: http://perl.apache.org/bugs/ Mail

Re: [mp2] apache::server missing?

2004-08-25 Thread Carl Brewer
Stas Bekman wrote: Carl Brewer wrote: I've just done a bit of an overhaul of my mp2 install on apache 2.0.50/perl 5.8.5/mp2-current, NetBSD 1.6.2, and am having a few problems. the most critical one is that I can't find apache::server anymore. My old startup.pl scripts had use Apache::Server

[mp2] code broken by 1.99_15 or _16 or _17-dev

2004-08-25 Thread Carl Brewer
Stas et all, Here's the code that I was using to grab POSTed values and put them into a hash 0 sorry for the verbosity of this post, I won't pretend to fully understand this code, Stas wrote the majority of it way back when libapreq wouldn't compile on NetBSD, and I've been using it ever since.

Re: [mp1] building mp1 with mod_ssl - what am I doing wrong?

2004-08-02 Thread Carl Brewer
Stas Bekman wrote: Carl, can you build Apache w/o mod_perl w/ the rest of the things? Yes, it's just the mod_perl stuff that's barfing. It looks like the mod_perl make install isn't putting the header files into src/includes/. A quick google shows a bunch of relevant hits:

[mp1] building mp1 with mod_ssl - what am I doing wrong?

2004-08-01 Thread Carl Brewer
I must be spoilt by apache2 :) RedHat Linux 7.3 on i386, trying to build mod_perl and mod_ssl into apache 1.3.31. Here's what I'm doing : tar -xzf ../apache_1.3.31.tar.gz tar -xzf ../mod_ssl-2.8.19-1.3.31.tar.gz tar -xzf ../mod_perl-1.29.tar.gz cd mod_ssl-2.8.19-1.3.31/ ./configure

Re: Perl 5.8.1 is out

2003-09-29 Thread Carl Brewer
Stas Bekman wrote: So what hostname do you normally use? Have you tried that? Philippe has reported that this change has worked for him. http://marc.theaimsgroup.com/?l=apache-modperl-devm=105514290024419w=2 I used this patch just now on a current CVS, and still see the same problems (or