make test fails on HPUX/IA64: Can't locate TestFilter/both_str_req_add.pm

2004-12-07 Thread Gisle Aas
1. Problem Description: I just unpacked httpd-2.0.52 and mod_perl-1.99_17 and tried to build them with ActivePerl without any extra configuration, but 'make test' for mod_perl fails like this: $ make test cd "src/modules/perl" && make make[1]: Entering directory `/home/gisle/mod_perl-1.99_17/src/

Perl + apache + cgi

2004-12-07 Thread Brent Clark
Hi Would anyone care to share some info on setting up a CGI. I keep getting this error: [Tue Dec 7 09:48:47 2004] [error] [client 192.168.111.214] Premature end of script headers: /home/gevens/cgi-bin/ecco/scripts/agent/logon.pl and [2004-12-07 10:17:28]: info: (target/actual) uid: (gevens/gevens)

Re: Perl + apache + cgi

2004-12-07 Thread Tom Schindl
Hi, is apache allowed to change to your home directory? Tom Brent Clark wrote: Hi Would anyone care to share some info on setting up a CGI. I keep getting this error: [Tue Dec 7 09:48:47 2004] [error] [client 192.168.111.214] Premature end of script headers: /home/gevens/cgi-bin/ecco/scripts/agent

Re: Perl + apache + cgi

2004-12-07 Thread Arnaud Blancher
Brent Clark wrote: Hi Would anyone care to share some info on setting up a CGI. I keep getting this error: [Tue Dec 7 09:48:47 2004] [error] [client 192.168.111.214] Premature end of script headers: /home/gevens/cgi-bin/ecco/scripts/agent/logon.pl and [2004-12-07 10:17:28]: info: (target/actual) u

Re: Perl + apache + cgi

2004-12-07 Thread Brent Clark
Arnaud Blancher wrote: Brent Clark wrote: what's url do you check ? http://ftp/cgi-bin/logon.pl (mapped to /home/gevens/cgi-bin/logon.pl) Hi Arnaud well since I know the Ip so I use that basically I type: http://192.168.111.12/index.htm (which works) the page is displayed etc I then I click on the

Re: Perl + apache + cgi

2004-12-07 Thread Brent Clark
Tom Schindl wrote: Hi, is apache allowed to change to your home directory? Tom Brent Clark wrote: Hi Tom, thanks for reply Yes apache does and can change to the users home directory Apache does display the html files in the document root. Is the cgi-bin thats the problem. If it helps, I run Debian.

Re: Perl + apache + cgi

2004-12-07 Thread Tom Schindl
Brent Clark wrote: Hi Would anyone care to share some info on setting up a CGI. I keep getting this error: [Tue Dec 7 09:48:47 2004] [error] [client 192.168.111.214] Premature end of script headers: /home/gevens/cgi-bin/ecco/scripts/agent/logon.pl and [2004-12-07 10:17:28]: info: (target/actual) u

Re: Perl + apache + cgi

2004-12-07 Thread Brent Clark
Oh. Think now I've got it. You are running into suexec-problems because your Root-Apache is running under anonther user than your V-Host-Apache. Apache is now using suexec to execute your scripts and because your script directory is not part of the suexec-path it cannot execute your script. Wh

Re: Perl + apache + cgi

2004-12-07 Thread Tom Schindl
Brent Clark wrote: Oh. Think now I've got it. You are running into suexec-problems because your Root-Apache is running under anonther user than your V-Host-Apache. Apache is now using suexec to execute your scripts and because your script directory is not part of the suexec-path it cannot execu

Re: make test fails on HPUX/IA64: Can't locate TestFilter/both_str_req_add.pm

2004-12-07 Thread Gisle Aas
Stas Bekman <[EMAIL PROTECTED]> writes: > > $ make test > > > [Tue Dec 07 04:05:24 2004] [error] Can't locate > > TestFilter/both_str_req_add.pm in @INC (@INC contains: > [...] > > /home/gisle/mod_perl-1.99_17/t/filter > > I think you hit the open filehandles limit (mp2 test suite opens a lot >

Re: make test fails on HPUX/IA64: Can't locate TestFilter/both_str_req_add.pm

2004-12-07 Thread Stas Bekman
Gisle Aas wrote: 1. Problem Description: I just unpacked httpd-2.0.52 and mod_perl-1.99_17 and tried to build them with ActivePerl without any extra configuration, but 'make test' for mod_perl fails like this: I think the only time someone has tried HPUX it ended up with this entry: HPUX11i DSO

Re: make test fails on HPUX/IA64: Can't locate TestFilter/both_str_req_add.pm

2004-12-07 Thread Stas Bekman
Gisle Aas wrote: Stas Bekman <[EMAIL PROTECTED]> writes: $ make test [Tue Dec 07 04:05:24 2004] [error] Can't locate TestFilter/both_str_req_add.pm in @INC (@INC contains: [...] /home/gisle/mod_perl-1.99_17/t/filter I think you hit the open filehandles limit (mp2 test suite opens a lot of those)

Re: make test fails on HPUX/IA64: Can't locate TestFilter/both_str_req_add.pm

2004-12-07 Thread Gisle Aas
Stas Bekman <[EMAIL PROTECTED]> writes: > > Did not think about that. Yes, the default limit is 60 opened files > > on this machine. I ran 'ulimit -n 1024' and then 'make test' again. > > Great. > > I wish we could somehow automate this diagnostics to save the wasted > time for the report-resp

Re: make test fails on HPUX/IA64: Can't locate TestFilter/both_str_req_add.pm

2004-12-07 Thread Stas Bekman
Gisle Aas wrote: Stas Bekman <[EMAIL PROTECTED]> writes: Did not think about that. Yes, the default limit is 60 opened files on this machine. I ran 'ulimit -n 1024' and then 'make test' again. Great. I wish we could somehow automate this diagnostics to save the wasted time for the report-respons

Re: make test fails on HPUX/IA64: Can't locate TestFilter/both_str_req_add.pm

2004-12-07 Thread Gisle Aas
Stas Bekman <[EMAIL PROTECTED]> writes: > Gisle Aas wrote: > > Stas Bekman <[EMAIL PROTECTED]> writes: > > > >>>Did not think about that. Yes, the default limit is 60 opened files > >>>on this machine. I ran 'ulimit -n 1024' and then 'make test' again. > >> > >>Great. > >> > >>I wish we could so

Re: make test fails on HPUX/IA64: Can't locate TestFilter/both_str_req_add.pm

2004-12-07 Thread Stas Bekman
Gisle Aas wrote: Can't t/TEST check the output of 'ulimit -n' and verify that it is high enough? Good idea, Gisle. But will it work everywhere where perl runs? I'm quite sure it does not work on Windows. I'm so surprised :) Alternatively try the BSD::Resource module? So does it mean that 'ulimit -n

Hanging Apache && Oracle Sessions with Apache::DBI, Apache::SessionManager, Oracle 9i,

2004-12-07 Thread Tyler Rorabaugh
Dear mod_perl list,   Normally I would not bother the mod_perl list with questions but I have a problem with Apache::DBI, Apache::SessionManager and Apache::Sessions regarding hanging oracle sessions.   I have noticed within the Apache::Session::Store::Oracle module that it uses a SELEC

formatting issue

2004-12-07 Thread Arshavir Grigorian
Hello list, I am using mp2 (1.99_17) and have the following line in my Exception class to get a complete stacktrace: if (Apache->can('request')) { $handle = Apache->request; } else { $handle = Apache->server; } $handle->log_error("$self: ".Carp::longmess ("$message")); The problem is that

Re: formatting issue

2004-12-07 Thread Stas Bekman
Arshavir Grigorian wrote: I am using mp2 (1.99_17) and have the following line in my Exception class to get a complete stacktrace: $handle->log_error("$self: ".Carp::longmess ("$message")); The problem is that in my logs all of the control chars (\n, \t) appear as text and never translate to ne

Re: formatting issue

2004-12-07 Thread Arshavir Grigorian
Stas Bekman wrote: Arshavir Grigorian wrote: I am using mp2 (1.99_17) and have the following line in my Exception class to get a complete stacktrace: $handle->log_error("$self: ".Carp::longmess ("$message")); The problem is that in my logs all of the control chars (\n, \t) appear as text and ne