Problem with Apache::DBI

2000-10-13 Thread Pritesh Thakor
Hi, I installed Apache::DBI-0.87 on Apache 1.3.9, Perl 5.00503, mod_perl 1.2.1 running on RedHat Linux 6.1 and I am trying to connect to MySQL 3.22.32. After making necessary changes in httpd.conf i.e. PerlModule Apache::DBI and giving the command /etc/rc.d/init.d/httpd restart

Re: Problem with Apache::DBI

2000-10-13 Thread Ken Williams
[EMAIL PROTECTED] (Pritesh Thakor) wrote: I installed Apache::DBI-0.87 on Apache 1.3.9, Perl 5.00503, mod_perl 1.2.1 running on RedHat Linux 6.1 and I am trying to connect to MySQL 3.22.32. After making necessary changes in httpd.conf i.e. PerlModule Apache::DBI and giving the command

Re: Problem with Apache::DBI

2000-10-13 Thread Rob Tanner
Did you check to see that the server was still up. It is possible it crashed just after the "OK" was displayed on the screen. From the traces I've done when I've encountered similar problems, the server parses httpd.conf once to check for errors and then forks off a daemon copy of itself.

Re: Spinning httpd

2000-10-13 Thread Matt Sergeant
On Thu, 12 Oct 2000, Bill Moseley wrote: I'm in need of some ideas! I have a spinning mod_perl process. I installed a $SIG{USR2} = \Carp::confess; handler and it pointed to this line: $cnt++ while $query-{query} =~ /(?:^|\s)[("]*\S$size\*/g; Try: $cnt++ while $query-{query}

Re: modperl Digest 12 Oct 2000 09:31:25 -0000 Issue 209

2000-10-13 Thread Roger Espel Llima
Bill Moseley [EMAIL PROTECTED] wrote: [ ... ] PerlTransHandler My::DirectoryIndex [ ... ] GET /test/abc/123 http/1.0 [ ... ] [Wed Oct 11 10:17:16 2000] [error] initial:/test/abc/123 [Wed Oct 11 10:17:16 2000] [error] not initial:/abc/123 [Wed Oct 11 10:17:16 2000]

No data

2000-10-13 Thread Brad Dick
I'm currently running Red Hat 6.2, and running Apache 1.3.12 (built from source). I'm trying to get mod_perl installed and configured. I install mod_perl via APXS and I get the following error in Netscape. The document contained no data. Try again later, or contact the server's administrator.

Re: Resurrection of startup SIGSEGV with latest CVS snapshot?

2000-10-13 Thread Doug MacEachern
On Tue, 3 Oct 2000, Bruce W. Hoylman wrote: Hello, Doug -- Thanks for the reply. I have already applied this patch. The backtrace I provided was producted by an httpd executable with the perl_util.c patch already applied. The perl 5.6 patch from p5p was also in effect. bruce, maybe

Re: Patch for easy testing of Apache::* modules (resend)

2000-10-13 Thread Doug MacEachern
On Tue, 10 Oct 2000, Ken Williams wrote: [EMAIL PROTECTED] (Doug MacEachern) wrote: ken, i have a feature request too :) i would like to be able to test if mod_include is linked static with httpd, otherwise Makefile.PL will disable PERL_SSI. a hash of parsed `httpd -l`, something like:

Re: Bugs database?

2000-10-13 Thread Doug MacEachern
On Tue, 10 Oct 2000, Todd Chapman wrote: Is there a mod_perl bugs database? I am having a problem and I want to make sure it isn't a bug in mod_perl that's fixed in a recent release. known bugs are listed in the ToDo file. P.S. The bug is that $r-connection-user() is not set when I

Re: Managing to kill httpd (why?)

2000-10-13 Thread Doug MacEachern
On Sat, 30 Sep 2000, Yann Ramin wrote: #0 0x80a2605 in ap_table_get () #1 0x808961e in XS_Apache__Table_FETCH () package Magrathea::WebAPI; ... my $driver; you cannot cache data that is tied to $r (e.g., notes table), because the $r-pool is cleared after each request. string

Re: Bug in mod_perl

2000-10-13 Thread Doug MacEachern
On Mon, 9 Oct 2000, Dave Rolsky wrote: I'm using mod_perl 1.24/Apache 1.3.12/Perl 5.00503 and find that I receive no output after the \0. Is this a mod_perl or Apache bug? Or is it a client bug (using Netscape 4.75) or is it the expected behavior. looks ok to me: % telnet localhost 8529

Re: Managing to kill httpd (why?)

2000-10-13 Thread Doug MacEachern
On Fri, 13 Oct 2000, Doug MacEachern wrote: On Sat, 30 Sep 2000, Yann Ramin wrote: #0 0x80a2605 in ap_table_get () #1 0x808961e in XS_Apache__Table_FETCH () package Magrathea::WebAPI; ... my $driver; you cannot cache data that is tied to $r (e.g., notes table), because

Re: Bugs database?

2000-10-13 Thread Todd Chapman
Gotcha. And the reason I don't call $r-get_basic_auth_pw() is I can't live on the CVS edge. [Quoting conversation from a few weeks ago] my ($res,$password) = $r-get_basic_auth_pw; this will core dump if AuthName is

mod_proxy heavy server problems

2000-10-13 Thread Gerry Loon
Hi, I looked through the archives and get get a definitive answer on this so I feel I need to make this post. Hope someone can help. I'm running perl5.6, mod_proxy on apache 1.3.12 on osf 4.0F. I start heavy server and everything is fine but after a certain amount of time I start getting "200

Re: No data

2000-10-13 Thread Tim Tompkins
For DSO, you need to LoadModule on mod_perl before you AddModule. See your other LoadModule entries for examples. I didn't see any Perl*Handlers in there, so this is something yet to be done I presume... :o) Thanks, Tim Tompkins -- Programmer /

XML::Parser 2.30

2000-10-13 Thread iain truskett
For what it's worth, the new verion of the XML::Parser module appears to segfault. Works fine outside mod_perl from what I can see, but segfaults the Apache child within. This is using it with XML::RSS on: Apache/1.3.12 (Unix) PHP/3.0.16 mod_perl/1.24 mod_ssl/2.6.2 OpenSSL/0.9.5a Linux

Re: No data

2000-10-13 Thread Brad Dick
I realised that already Olivier, thanks for trying to help. I was trying put across the point in my previous email that I had tried your suggestion and was using that as my basis for justifying that mod_perl was the cause. Perhaps you meant that I should comment out PHP4? Brad

Re: No data

2000-10-13 Thread Dragomir Kamenov
The document contained no data. Try again later, or contact the server's administrator. A similar problem is mentioned in the PHP FAQ - http://www.php.net/FAQ.php#10.1 It suggests that Apache might be core-dumping; you might want to run a similar test on your box. Hope this helps Drago

ModPerl job in Manhattan, NY

2000-10-13 Thread Claudia Fontes
I've been looking for people with ModPerl skills and I haven't had any luck in finding truly qualified people. I thought maybe someone might be able to lead me in the right direction. The project we're involved in entails Perl, ModPerl, SQL and various web skills HTML, DHTML, XML, etc. C++/C

Re: Managing to kill httpd (why?)

2000-10-13 Thread David Alan Pisoni
At 10.41 -0700 10/13/2000, Doug MacEachern wrote: On Fri, 13 Oct 2000, Doug MacEachern wrote: On Sat, 30 Sep 2000, Yann Ramin wrote: #0 0x80a2605 in ap_table_get () #1 0x808961e in XS_Apache__Table_FETCH ()   package Magrathea::WebAPI; ... my $driver;    you cannot cache data that

can I close the client connection but keep a script running?

2000-10-13 Thread Shimon Rura
I'd like to be able to tell apache to close off its connection with the client but leave the script running. An example use would be for the client to start a time-consuming job on the web server, and let it run without subjecting them to a spinning wait icon for 10 minutes. Also, and perhaps

Re: can I close the client connection but keep a script running?

2000-10-13 Thread Neil Conway
On Fri, Oct 13, 2000 at 07:15:30PM -0400, Shimon Rura wrote: I'd like to be able to tell apache to close off its connection with the client but leave the script running. An example use would be for the client to start a time-consuming job on the web server, and let it run without subjecting

Re: can I close the client connection but keep a script running?

2000-10-13 Thread Gunther Birznieks
It probably depends on his situation. If this is not happening so frequently, then wasting an apache process shouldn't be so bad. Writing an entire daemon plus a protocol for communicating to it seems excessive in some cases and adds a point of failure (the new daemon). Another alternative

Re: can I close the client connection but keep a script running?

2000-10-13 Thread Joshua Chamas
Shimon Rura wrote: I'd like to be able to tell apache to close off its connection with the client but leave the script running. An example use would be for the client to start a time-consuming job on the web server, and let it run without subjecting them to a spinning wait icon for 10

Re: No data

2000-10-13 Thread Brad Dick
On Fri, Oct 13, 2000 at 05:57:25PM -0400, Dragomir Kamenov wrote: The document contained no data. Try again later, or contact the server's administrator. A similar problem is mentioned in the PHP FAQ - http://www.php.net/FAQ.php#10.1 It suggests that Apache might be core-dumping; you

PerlRequire conf/startup.pl

2000-10-13 Thread Dennis
Hey I have "PerlRequire conf/startup.pl" in httpd.conf and startup.pl has "1;" in it then I start apache "/usr/local/apache/bin/apachectl start and it says: /usr/local/apache/bin/apachectl start: httpd started butit looks like it's exiting out right away. is that what it's supposed to do

Re: PerlRequire conf/startup.pl

2000-10-13 Thread iain truskett
* Dennis ([EMAIL PROTECTED]) [14 Oct 2000 16:00]: I have "PerlRequire conf/startup.pl" in httpd.conf and startup.pl has "1;" in it then I start apache "/usr/local/apache/bin/apachectl start and it says: /usr/local/apache/bin/apachectl start: httpd started but it looks like it's exiting