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
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 Perl_p
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
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 2>&1
LANG=$HTTPD_LANG daemon $httpd $OPTIONS -f $conf
RETVAL=$?
ec
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
Philippe M. Chiasson wrote:
Selinux enabled ?
Good question, I don't think so, but will double-check.
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. So,
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 :
Apache
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 a
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
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 has
Sorry for the OT post, but I figure this is a good place
to ask, as I'm sure lots of you have solved this one before.(and
this is using CGI.pm too :( )
I'm writing a small app that takes an uploaded file from
a form, pops it into an obfuscated directory, and then mails
out a "here it is" page to a
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, "Ses
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 A
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
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
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 2
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 2
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 tro
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 prob
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 c
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<--
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: http://perl.apache.org/maillist/modperl
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 o
Stas Bekman wrote:
Carl Brewer wrote:
[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
[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
/usr/home/mgorb/mp-test
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,
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/M
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 l
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: http:
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 was
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
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 1.
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 /usr/local/perl-5.8
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
'/usr/local/perl-5.8.5/lib/site_perl/5.8.5/i386-netbsd/auto
Stas Bekman wrote:
I'm thinking that it might be beneficial to implement it in C.
Would I be better served by switching to using libapreq? Isn't this
what it's for? I recall you sent me that code a long time ago
as the libapreq stuff wouldn't compile cleanly on NetBSD.
I'd prefer not to have to
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.
If
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 Apac
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 ();
Has this been done away with?
I not
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:
http://www.google.ca/
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 --with-apache=
Just for the archives, I'm using mp2 (usually fairly recent CVS
pulls) in production on a number of sites I'm hosting on a NetBSD
server. These include my cycling coaching website : www.aboc.com.au
which uses Template::Toolkit, mp2, my own authentication
stuff (not a handler, yet :) ) and MySQL as
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-dev&m=105514290024419&w=2
I used this patch just now on a current CVS, and still see the same
problems (or simil
Stas Bekman wrote:
However you can try the following:
perl Makefile.PL ...
make
t/TEST -conf
perl -pi -e 's|Listen\s+(\d+)|Listen YOURHOSTNAME:$1|' t/conf/httpd.conf
t/TEST
cd ModPerl-Registry
t/TEST -conf
perl -pi -e 's|Listen\s+(\d+)|Listen YOURHOSTNAME:$1|' t/conf/httpd.conf
t/TEST
replace YO
Carl Brewer wrote:
> report from NetBSD 1.6.1
*doh*
Should have gone to dev .. Mea Culpa
Carl
Stas Bekman wrote:
If you are eager to start testing you can start doing so right now with
the latest cvs. I'm doing some last testing and will post the 1.99_10
release candidate in about 10 hours.
steel1: {8} perl mp2bug
-8<-- Start Bug Report 8<--
1. P
46 matches
Mail list logo