Re: [ANNOUNCE] mod_perl-2.0.4

2008-04-17 Thread Helmut Zeilinger
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

Re: Apache::DBI (another) question

2007-03-29 Thread Helmut Zeilinger
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", "&

Apache::DBI (another) question

2007-03-29 Thread Helmut Zeilinger
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

Re: Cannot restart or stop Apache after several days of running

2006-10-17 Thread Helmut Zeilinger
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

Re: connection to ibm db2 database

2006-06-04 Thread Helmut Zeilinger
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

Re: mp2 Apache won't start under ssh

2005-12-27 Thread 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 /dev/r

mp2 Apache won't start under ssh

2005-12-21 Thread Helmut Zeilinger
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

Re: What Perl/Apache for mod_perl under Windows?

2005-05-09 Thread Helmut Zeilinger
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

What Perl/Apache for mod_perl under Windows?

2005-05-09 Thread Helmut Zeilinger
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

Re: $r->status() ?

2004-05-02 Thread Helmut Zeilinger
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

$r->status() ?

2004-05-01 Thread Helmut Zeilinger
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 {

RE: Problem with perl system() function

2004-04-28 Thread Dr. Helmut Zeilinger
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') ) { >

Re: [RELEASE CANDIDATE] please test mod_perl-1.99_13-dev.tar.gz

2004-03-29 Thread Dr. Helmut Zeilinger
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

Re: [RELEASE CANDIDATE] please test mod_perl-1.99_13-dev.tar.gz

2004-03-25 Thread Helmut Zeilinger
--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

Re: [RELEASE CANDIDATE] please test mod_perl-1.99_13-dev.tar.gz

2004-03-25 Thread Dr. Helmut Zeilinger
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 >>>

Re: [RELEASE CANDIDATE] please test mod_perl-1.99_13-dev.tar.gz

2004-03-25 Thread Dr. Helmut Zeilinger
>> >> 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: > >

Re: [RELEASE CANDIDATE] please test mod_perl-1.99_13-dev.tar.gz

2004-03-24 Thread Helmut Zeilinger
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

Re: [RELEASE CANDIDATE] please test mod_perl-1.99_13-dev.tar.gz

2004-03-21 Thread Helmut Zeilinger
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

Re: [RELEASE CANDIDATE] please test mod_perl-1.99_13-dev.tar.gz

2004-03-18 Thread Helmut Zeilinger
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