apache2 restart error after setting up mod_perl

2004-06-26 Thread Grant
he-extramodules/libperl.so: undefined symbol: ap_null_cleanup Any idea what this means? - Grant __ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com -- Report problems: http://perl.apache.org/bugs/

Re: apache2 restart error after setting up mod_perl

2004-06-27 Thread Grant
--- Stas Bekman <[EMAIL PROTECTED]> wrote: > Please *always* report problems following the > guidelines: > http://perl.apache.org/bugs/ This is the first time I've ever set up a web server. Does the error specified below indicate a bug? > > Grant wrote: > > Ap

startup.pl confusion

2004-06-28 Thread Grant
lib qw(/usr/lib/perl5/site_perl/5.8.2);1; which seems kind of redundant to me, but it seems to be what the brief Interchange::Link README file asks for. I then have the following: /usr/lib/perl5/site_perl/5.8.2/Interchange/Link.pm Does anyone see where I might be slipping

Re: startup.pl confusion

2004-06-28 Thread Grant
--- Perrin Harkins <[EMAIL PROTECTED]> wrote: > On Mon, 2004-06-28 at 16:58, Grant wrote: > > Since the former still doesn't work, I don't think > the > > module is loading properly. I think where I'm > stuck > > is the startup.pl file tha

Re: startup.pl confusion

2004-06-28 Thread Grant
--- Perrin Harkins <[EMAIL PROTECTED]> wrote: > On Mon, 2004-06-28 at 18:15, Grant wrote: > > ok= defined= > > sockname=/usr/local/interchange/etc/socket: > Permission > > denied > [...] > > The socket file looks like this: > > > > srw---

Re: startup.pl confusion

2004-06-28 Thread Grant
--- Perrin Harkins <[EMAIL PROTECTED]> wrote: > On Mon, 2004-06-28 at 18:54, Grant wrote: > > Sorry to be such a newbie, but how can I find out > what > > user apache2 runs as and make sure that user has > the > > permissions it needs? > > Look in httpd.co

Re: startup.pl confusion

2004-06-28 Thread Grant
--- Perrin Harkins <[EMAIL PROTECTED]> wrote: > Grant wrote: > > My httpd.conf file is apache2.conf after being set > up > > by Gentoo and there doesn't seem to be any mention > of > > which user and group it runs as. > > If you start it as root, t

Re: Apache2 and mod_perl not playing nice

2004-07-10 Thread Grant
t; > > I feel like I'm missing something simple but > fundamental here. Any > insights would be greatly appreciated. > > Thanks, > > -Collin Did you point to your mod_perl.so file like this: LoadModule perl_module /usr/lib/apache2-extramodules/mod_perl.so - Grant

Does mod_perl-2.0.4 support threads?

2012-12-13 Thread Grant
I'm stuck on mod_perl-2.0.4 for now and I'm seeing something in Gentoo which makes me think it doesn't support threads. Is that true? - Grant

Re: Does mod_perl-2.0.4 support threads?

2012-12-14 Thread Grant
> All of the 2.x series supports threads. Your Perl has to be compiled for threads though. > > - Perrin Thank you for clearing that up. - Grant >> I'm stuck on mod_perl-2.0.4 for now and I'm seeing something in Gentoo which makes me think it doesn't

2.0.4 works, 2.0.7 doesn't

2012-12-14 Thread Grant
this isn't much to go on, but were there any changes between those versions that are a likely candidate? - Grant

Re: 2.0.4 works, 2.0.7 doesn't

2013-12-17 Thread Grant
y problems with this line of code. I think your problem is > elsewhere. > > I'd check what exactly is written to the socket before reading it and > what comes out of it. > > Torsten I'm told that Interchange::Link tries to read from the socket and gets no response. Any ideas? - Grant

mod_perl causing seg faults in apache2?

2005-05-12 Thread Grant
is 100% up-to-date as per the Gentoo portage tree. These errors have been consistent across 3 different servers. Does anyone have any ideas on this? - Grant

Re: mod_perl causing seg faults in apache2?

2005-05-12 Thread Grant
o go on, there's not > much anyone can tell you. > > cf. > http://perl.apache.org/docs/2.0/devel/debug/c.html#Analyzing_Dumped_Core_Files Hello, can you tell me anything else about getting those core dump files? I can enable debugging options in apache2, apr, and perl and re-emerge (compile) them. I'm confused on what to do from there. Is it possible that the files will be generated just from that? - Grant

Re: mod_perl causing seg faults in apache2?

2005-05-12 Thread Grant
- Perrin Ok. Can you tell me how to be sure of which version of mod_perl I'm running? I had some installation trouble with 1.99.17 and I'd like to be sure that's what I'm running before I dig into this. - Grant

Re: mod_perl causing seg faults in apache2?

2005-05-12 Thread Grant
> Grant, have you read: > http://perl.apache.org/docs/2.0/user/help/help.html#Reporting_Problems > (all the way to the end)? > > When you run t/REPORT it will tell you (and us) almost everything we need > to know. > > Then you configure your system to dump core

Re: mod_perl causing seg faults in apache2?

2005-05-13 Thread Grant
> > Fair enough. I don't have t/report or t/REPORT anywhere on my system > > though. Could it be named something else or is there another utility? > > You are correct, Grant. My apologies, t/REPORT is created at build time > and it's only useful for the t

Re: mod_perl causing seg faults in apache2?

2005-05-13 Thread Grant
> >>>Fair enough. I don't have t/report or t/REPORT anywhere on my system > >>>though. Could it be named something else or is there another utility? > >> > >>You are correct, Grant. My apologies, t/REPORT is created at build time > >>and i

Re: mod_perl causing seg faults in apache2?

2005-05-13 Thread Grant
erl5/vendor_perl/5.8.5 /usr/lib/perl5/vendor_perl . /usr/lib/apache2/ /usr/lib/apache2/lib/perl) at /usr/lib/perl5/site_perl/5.8.5/Interchange/Link.pm line 27.\nBEGIN failed--compilation aborted at /usr/lib/perl5/site_perl/5.8.5/Interchange/Link.pm line 27.\nCompilation failed in require at (eval 2) line 3.\n, referer: What do you think? - Grant

Re: mod_perl causing seg faults in apache2?

2005-05-13 Thread Grant
rchange/etc/socket I use the open-source Interchange shopping cart: http://www.icdevgroup.org - Grant

Re: mod_perl causing seg faults in apache2?

2005-05-14 Thread Grant
gt; /usr/lib/perl5/site_perl/5.8.5/Interchange/Link.pm line > > 27.\nCompilation failed in require at (eval 2) line 3.\n, referer: > > > > What do you think? > > Well, where ModPerl/Registry.pm is? What find(1) says? It looks like my current 1.99.17 configuration has Registry.pm here: /usr/lib/perl5/vendor_perl/5.8.5/i686-linux/Apache2/ModPerl/Registry.pm and according to the logs the new one was installed here: /usr/lib/perl5/vendor_perl/5.8.5/i686-linux/ModPerl/Registry.pm Interchange::Link has always included this line which looks like the "new" namespace: use ModPerl::Registry; Also, the Gentoo notes I got at the end of the emerge said to change: Apache::ModPerl::Registry => ModPerl::Registry Link.pm already seemed to use that "new" namespace, but it errored as above. How would I fix this? Would I see others like it if I fixed it? - Grant

Re: mod_perl causing seg faults in apache2?

2005-05-16 Thread Grant
; > > > Apache::ModPerl::Registry => ModPerl::Registry > > > > Link.pm already seemed to use that "new" namespace, but it errored as above. > > > > How would I fix this? Would I see others like it if I fixed it? > > Grant, how exactly did

Re: mod_perl causing seg faults in apache2?

2005-05-17 Thread Grant
gt; but apparently it is not there, so your log is wrong. mp2bug says: CGI : 3.05, 3.09 so I uninstalled CGI and I'm left with: CGI : 3.05 and Gentoo thinks there is no CGI installed. Could this be the problem? Gentoo not properly removing CGI-3.05? - Grant

Re: mod_perl causing seg faults in apache2?

2005-05-17 Thread Grant
; >>> > >>>Also, the Gentoo notes I got at the end of the emerge said to change: > >>> > >>>Apache::ModPerl::Registry => ModPerl::Registry > >>> > >>>Link.pm already seemed to use that "new" namespace, but it errored a

Re: mod_perl causing seg faults in apache2?

2005-05-17 Thread Grant
not see it. > > > > In any case you should upgrade to CGI-3.10, which has some mp2 related > > fixes in it. Looking over error_log more closely, the Registry.pm error is just something I get when I'm transitioning between 2.0.0rc5 and 1.99.17. The real problem is the bareword error. Could that be due to the old CGI package? - Grant

Re: mod_perl causing seg faults in apache2?

2005-05-17 Thread Grant
; >>> > >>>Also, the Gentoo notes I got at the end of the emerge said to change: > >>> > >>>Apache::ModPerl::Registry => ModPerl::Registry > >>> > >>>Link.pm already seemed to use that "new" namespace, but it errored a

Re: mod_perl causing seg faults in apache2?

2005-05-17 Thread Grant
10, which has some mp2 related > fixes in it. Could the CGI package be to blame for the bareword error I'm seeing? - Grant

Re: mod_perl causing seg faults in apache2?

2005-05-17 Thread Grant
rrors in error_log but I haven't even updated Interchange::Link yet. That module doesn't say "Apache2::Const:OK" anywhere in it and I'm still getting the same error. - Grant

Re: mod_perl causing seg faults in apache2?

2005-05-17 Thread Grant
he::Const; with: use Apache2::Const -compile => 'OK'; in Link.pm with the same results. How can I find out if I have an old Apache2/Const? I definitely only have these on the system: /usr/lib/perl5/vendor_perl/5.8.5/i686-linux/auto/Apache2/Const /usr/lib/perl5/vendor_perl/5.8.5/i686-linux/auto/Apache2/Const/Const.so /usr/lib/perl5/vendor_perl/5.8.5/i686-linux/auto/Apache2/Const/Const.bs /usr/lib/perl5/vendor_perl/5.8.5/i686-linux/Apache2/Const.pm - Grant

Re: mod_perl causing seg faults in apache2?

2005-05-17 Thread Grant
by adding some minimal > code). Please send it here and we will look at it). > > [1] linked from: > http://perl.apache.org/docs/2.0/user/help/help.html#Problem_Description I really appreciate your help. Something tells me further debugging will be just as fruitless. I'll just have to wait until a newer mod_perl shows up in portage. Hopefully my vistors aren't using IE. Haha. - Grant

Fixing a mod_perl module

2006-12-08 Thread Grant
]/) { #warn "Doing redirect\n"; $r->content_type($set_content); close (SOCK)or die "close: $!\n"; return Apache2::Const::REDIRECT; } Please let me know if you can help. - Grant

Re: Fixing a mod_perl module

2006-12-09 Thread Grant
T is 302 and is equivalent to Apache2::Const::HTTP_MOVED_TEMPORARILY. if you want 301 you will want to use Apache2::Const::HTTP_MOVED_PERMANENTLY. When I change: return Apache2::Const::REDIRECT; to: return Apache2::Const::HTTP_MOVED_PERMANENTLY; I get: Bareword "Apache2::Const::HTTP_MOVED_PERMANENTLY" not allowed while "strict subs" in use I'm using mod_perl-2.0.2 and apache-2.0.58. Any ideas? - Grant

Re: mod_perl-2.0.2 causing segfaults

2006-12-11 Thread Grant
place die_page is called in the module is: $SIG{PIPE} = sub { die_page($r); }; What does that mean? - Grant

Re: mod_perl-2.0.2 causing segfaults

2006-12-11 Thread Grant
frequently. Does that tell us anything? - Grant

Re: mod_perl-2.0.2 causing segfaults

2006-12-11 Thread Grant
ld be called while your server is busy doing something else, and the two actions collide. Very good guess. Commenting out the web response stuff seems to have eliminated the segfaults. Adding $! and $? to the warn line, I'm getting one of these two bits along with each ALERT now: Broken pipe 0 Inappropriate ioctl for device 0 Any ideas? - Grant

Re: mod_perl-2.0.2 causing segfaults

2006-12-11 Thread Grant
is could happen from a Cntrl-C or stop in a browser. It happens to me quite a bit as I browse my own site and I'm not hitting the stop button. Add require Carp; Carp::cluck() to your die() function. I should add: require Carp; to the top of the module with the other requires, and: Carp::cluck() on it's own line right before the warn line that includes the ALERT? - Grant

Re: mod_perl-2.0.2 causing segfaults

2006-12-11 Thread Grant
LERT now: >> >> Broken pipe 0 >> Inappropriate ioctl for device 0 > This could happen from a Cntrl-C or stop in a browser. > > Add > require Carp; > Carp::cluck() to your die() function. Is this someplace that checking $r->connection->aborted() would be useful? Would I just add "$r->connection->aborted()" without the quotes to the warn line? - Grant

Re: mod_perl-2.0.2 causing segfaults

2006-12-11 Thread Grant
e frequently from normal traffic until apache2 is restarted. Could this problem have something to do with memory? I see that my memory usage drops significantly as apache2 is restarted. - Grant

Re: mod_perl-2.0.2 causing segfaults

2006-12-11 Thread Grant
t; require Carp; > > Carp::cluck() to your die() function. > > Is this someplace that checking $r->connection->aborted() would be useful? Would I just add "$r->connection->aborted()" without the quotes to the warn line? If I do change the warn line to: warn "ALERT: bad pipe signal received for $ENV{SCRIPT_NAME} $! $? $r->connection->aborted()\n"; I get: ALERT: bad pipe signal received for / Broken pipe 0 Apache2::RequestRec=SCALAR(0x16eef638)->connection->aborted() Any help with that or Carp::cluck implementation would be greatly appreciated. - Grant

Re: mod_perl-2.0.2 causing segfaults

2006-12-11 Thread Grant
pe 0 >> > > > Inappropriate ioctl for device 0 >> > > This could happen from a Cntrl-C or stop in a browser. >> > > >> > > Add >> > > require Carp; >> > > Carp::cluck() to your die() function. >> > >> >

302 redirects from scripts.

2007-01-03 Thread Ian Grant
Dear mod_perl types, A system I have installed relies on doing redirects like the code below, but the redirects don't happen, I just get blank pages in the browser. I have tested temp redirects in httpd.conf and they work fine. Can anyone tell me if the code below should work, or is there somet