Hi Philippe,
Software:
Linux 2.6.15-gentoo-r1
perl v5.8.8 (perl -V see below)
mod_perl-2.0.4
1)
apache 2.0.63 => works without problems (so far testet)
2)
apache 2.2.6 + 2.2.8 =>
at server start.=>
..
/usr/local/apache2/bin/apachectl: line 78: 14924 Segmentation fault
$HTTPD $ARGV
m
I see, i will change my strategy towards
avoiding the conncetion on startup.
Thank you!
Helmut
Jonathan Vanasco schrieb:
On Mar 29, 2007, at 7:46 AM, Helmut Zeilinger wrote:
$self->{'dbh'} = DBI->connect ("DBI:mysql:somedb:localhost",
"root", "&
Hi all,
Software (Apache 2.2.4, mpm prefork / 8 children, mp 2.0.3, Apache::DBI
1.06)
On Apache startup i am loading a module via "startup.pl", which establishes
a database (mysql) connection:
[..]
package SomeModule;
..
sub new {
my $this = shift;
my $class = ref($this) || $this;
m
is had something to do with mod_perl 1.99
which I have been using until recently. But now - after the upgrade
to 2.0.2 - I am still encountering the same problem.
Anyone ever experienced this?
Any ideas what to do, or how to debug any further, or how to solve this?
Help appreciated!
Thank y
Hi iv,
may be Stas' Env::C module helps - see
http://perl.apache.org/docs/2.0/user/troubleshooting/troubleshooting.html
and the modules manpage.
For example i set the relevant environment variables to connect
to an informix DB server in startup.pl:
..
use Env::C;
Env::C::setenv('INFORMIXDI
Sounds like a lack of entropy, since you aren't typing on the local
keyboard:
http://perl.apache.org/docs/2.0/user/troubleshooting/troubleshooting.html#Server_Hanging_at_the_Startup
In deed the /dev/random device does not generate (enough) bytes, when
the keyboard is not
used. ("cat /dev/r
Hi all,
Apache with mod_perl starts and stops normaly from
a linux console.
Commands:
/usr/sbin/apache2 -k start
/usr/sbin/apache2 -k stop
But when i am logged in in the system by ssh from a remote host (as root)
the second start/stop-cycle fails => the apache process seems to "hang".
The pro
Randy Kobes schrieb:
On Mon, 9 May 2005, Helmut Zeilinger wrote:
Hi,
i am trying to run mod_perl under windows, using
Apache/2.0.54 (Win32) mod_perl/1.999.24-dev Perl/v5.8.6
Apache windows binary from apache.org
mod_perl.so binary from http://theoryx5.uwinnipeg.ca/ppms/x86/ (7 May 2005)
Perl
Hi,
i am trying to run mod_perl under windows, using
Apache/2.0.54 (Win32) mod_perl/1.999.24-dev Perl/v5.8.6
Apache windows binary from apache.org
mod_perl.so binary from http://theoryx5.uwinnipeg.ca/ppms/x86/ (7 May 2005)
Perl from activestate 5.8.6.811
After a couple of requests apache crashes
Yes helped .. thanks a lot for explaining this again!
Helmut
--On Saturday, May 01, 2004 09:41:13 -0400 Geoffrey Young
<[EMAIL PROTECTED]> wrote:
>
>
> Helmut Zeilinger wrote:
>> Hi all,
>>
>> i am confused about $r->status().
>> When do i have
Hi all,
i am confused about $r->status().
When do i have to set this "manually" - if ever?
I searched for documentations about this item, but i did not find a
detailed explaination.
My problem is, what's the difference between
sub handler {
..
$r->status(404);
return (?);
}
and
sub handler {
Hi,
why don't you use "readpipe", which lets you avoid the intermediate data
file:
...
my $data = readpipe ($cmd);
...
Helmut
>
> I tried this (inside the handler):
>
> ...
> my $cmd = '/opt/reports/bin/getdata';
> system($cmd, @params);
> if ( open(DATA, '/opt/reports/var/data.txt') ) {
>
cause of breakage of Apache::Test :(
>
> Glad to see that you've found the problem. I guess I need to start adding
> these odd configurations to my system so I can reproduce the problem and
> figure out how to deal with it programmatically. Unless someone with ipv6
> experience
--On Thursday, March 25, 2004 11:45:54 -0800 Stas Bekman <[EMAIL PROTECTED]>
wrote:
>
and test, whether i can connect to one of the listen-ports (e.g.
"netcat localhost 8529 -vv") => conection refused
>
> so:
>
>netcat localhost 8529 -vv
>
> doesn't work. but:
>
>netcat 12
i tested MP 1.99_13 with Perl 5.8.3 and got the same result - none
of the tests succeeded / no access to httpd (still empty
t/logs/access_log).
>>>
>>> OK, let's try the debug-by-proxy technique ;)
>>>
>>> once you have build mod_perl 1.99_13 and ready to run 'make test' please
>>>
>>
>> i tested MP 1.99_13 with Perl 5.8.3 and got the same result - none
>> of the tests succeeded / no access to httpd (still empty
>> t/logs/access_log).
>
> OK, let's try the debug-by-proxy technique ;)
>
> once you have build mod_perl 1.99_13 and ready to run 'make test' please
> run:
>
>
Hi,
i tested MP 1.99_13 with Perl 5.8.3 and got the same result - none
of the tests succeeded / no access to httpd (still empty t/logs/access_log).
I also tried the cvs version - same result.
I recompiled and testet MP 1.99_12 again
(to go shure, that nothing else has made the tests fail) -
all
Hi,
--On Friday, March 19, 2004 10:20:48 -0800 Stas Bekman <[EMAIL PROTECTED]>
wrote:
> Helmut Zeilinger wrote:
>> Hi,
>>
>> --On Tuesday, March 09, 2004 00:18:22 -0800 Stas Bekman <[EMAIL PROTECTED]>
>> wrote:
>> ..
>>
>>>> on Li
Hi,
--On Tuesday, March 09, 2004 00:18:22 -0800 Stas Bekman <[EMAIL PROTECTED]>
wrote:
..
>>
>> on Linux 2.4.22/Apache 2.48/Perl 5.9.0 the compilation of mp 1.99_13
>> failed (see below).
>>
>> Is it because of Perl version 5.9.0? Must i downgrade to Perl 5.8.x
>> again?
>
> It's because you ha
19 matches
Mail list logo