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
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;
my
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, , {RaiseError = 1});
connecting as root?
While
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 you,
--
Kind regards
Henrik Steffen
--
HZ.labs
Dr. Helmut Zeilinger
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
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
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
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
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 to set this manually - if ever?
you should never set $r
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') ) {
local
://modperlbook.org http://apache.org http://ticketmaster.com
.
HZ-Labs
Dr. Helmut Zeilinger
Wiesengrund 2
D-86 684 Holzheim
Tel. 08276/58767
Fax. 08276/ยด58787
www.hzlabs.de
[EMAIL PROTECTED]
--
Report problems: http://perl.apache.org/bugs/
Mail list info
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:
killall
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:
killall httpd
--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 127.0.0.1 8529 -vv
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) -
16 matches
Mail list logo