Can't open perl script -spi.bak

2002-03-22 Thread Pete Kelly
I am attempting to build mod_perl on NT. I successfully built Apache. I have ActiveState 5.6 (Perl v5.6.1) installed. I also have MS Visual Studio 6.0 installed. I downloaded mod_perl-1.26.tar.gz from http://perl.apache.org/dist After unzipping the files I get the get the following error:

Re: Off topic question a little worried

2002-03-22 Thread Joachim Zobel
At 14:15 21.03.2002 -0600, you wrote: Any idea as to how it got on my server. It is owned by apache and in the apache group. That tells me that it was put on there by apache. It is in a directory that has the permissions 777 because the script that is normally in there keeps and writes traffic

mod_perl on Apache 2.0.32

2002-03-22 Thread mod
Hi everybody there! I'm being out of the list for a while so I don't have any idea about how to use mod_perl with Apache 2 for testing. Any of you can tell me if mod_perl is already supporting Apache 2? Or let me know where to go to find documentation about? Thanks Jose Albert

Re: mod_perl on Apache 2.0.32

2002-03-22 Thread Stas Bekman
[EMAIL PROTECTED] wrote: Hi everybody there! I'm being out of the list for a while so I don't have any idea about how to use mod_perl with Apache 2 for testing. Any of you can tell me if mod_perl is already supporting Apache 2? Or let me know where to go to find documentation about?

Re: [OT] Off topic question a little worried

2002-03-22 Thread lembark
Assuming the content isn't updated too often, burning the site from a test area and mounting it as a CDROM makes it pretty hard for outsiders to udpate. -- Steven Lembark 2930 W. Palmer Workhorse Computing Chicago, IL 60647

Re: 0 being appended to non mod_perl scripts.

2002-03-22 Thread Jeffrey W. Baker
On Thu, 2002-03-21 at 08:37, Mike Wille wrote: Hello all, I apologize if this has already been answered elsewhere, I haven't been able to find it. I am encountering a wierd problem where perl scripts running under a normal cgi-bin (ie no mod_perl) have a '0' appended to the output. This

'Pinning' the root apache process in memory with mlockall

2002-03-22 Thread Daniel Hanks
Recently on this list the idea of 'pinning' or locking the root apache process in memory has been discussed with some interest. The reason being was that some users have experienced the situtaion where a server becomes loaded, and the root apache process gets swapped out, and in the process

Re: Can't open perl script -spi.bak

2002-03-22 Thread Randy Kobes
On Fri, 22 Mar 2002, Pete Kelly wrote: I am attempting to build mod_perl on NT. I successfully built Apache. I have ActiveState 5.6 (Perl v5.6.1) installed. I also have MS Visual Studio 6.0 installed. I downloaded mod_perl-1.26.tar.gz from http://perl.apache.org/dist After unzipping

Re: Can't open perl script -spi.bak

2002-03-22 Thread Stas Bekman
On Fri, 22 Mar 2002, Pete Kelly wrote: I am attempting to build mod_perl on NT. I successfully built Apache. I have ActiveState 5.6 (Perl v5.6.1) installed. I also have MS Visual Studio 6.0 installed. I downloaded mod_perl-1.26.tar.gz from http://perl.apache.org/dist After

RE: Re: mod_perl on Apache 2.0.32

2002-03-22 Thread mod
Thanks very much for your feedback I will take a look to the mod_perl 2 project Thanks again Jose Albert [EMAIL PROTECTED] wrote: Hi everybody there! I'm being out of the list for a while so I don't have any idea about how to use mod_perl with Apache 2 for testing. Any of you can tell

Re: Apache::DBI or What ?

2002-03-22 Thread Kevin Berggren
We encountered just this situation when we started to move from a win32 application connecting to an RDBMS to a web based app. On the win32 app, the DB authenticated each user with a loginid/pw. Since some users still use the win32 app, we can't just abandon the DB authentication, so here's

Re: 'Pinning' the root apache process in memory with mlockall

2002-03-22 Thread Stas Bekman
Daniel Hanks wrote: Recently on this list the idea of 'pinning' or locking the root apache process in memory has been discussed with some interest. The reason being was that some users have experienced the situtaion where a server becomes loaded, and the root apache process gets swapped out,

RE: 0 being appended to non mod_perl scripts.

2002-03-22 Thread Mike Wille
Well, after much testing, I've found the problem does not lie with mod_perl. I'm not sure of the source now, I just know how to recreate it. Originally it seemed like mod_perl but it was just a coincidence that it the problem started after making some configuration changes. The only thing I

Re: 'Pinning' the root apache process in memory with mlockall

2002-03-22 Thread Daniel Hanks
On Sat, 23 Mar 2002, Stas Bekman wrote: See the discussion on the [EMAIL PROTECTED] list, http://marc.theaimsgroup.com/?t=10165973081r=1w=2 where it was said that it's a very bad idea to use mlock and variants. Moreover the memory doesn't get unshared when the parent pages are paged

Re: Off topic question a little worried

2002-03-22 Thread Carsten Heinrigs
http://www.chkrootkit.org/ http://www.incident-response.org/LKM.htm -- Carsten Heinrigs Ocean-7 Development Tel: 212 533-7883

Re: 'Pinning' the root apache process in memory with mlockall

2002-03-22 Thread Bill Marrs
Stas, Thanks for tracking that down. So, the problem is our tools. For me, that's GTopLimit (but also SizeLimit). I would think it must be possible to cajole these two into realizing their error. top seems to know how much a process has swapped. If GTopLimit could know that, the number

RE: 0 being appended to non mod_perl scripts.

2002-03-22 Thread Per Einar Ellefsen
At 14:48 22.03.2002 -0500, Mike Wille wrote: Well, after much testing, I've found the problem does not lie with mod_perl. I'm not sure of the source now, I just know how to recreate it. Originally it seemed like mod_perl but it was just a coincidence that it the problem started after making some

Re: 'Pinning' the root apache process in memory with mlockall

2002-03-22 Thread Perrin Harkins
Stas Bekman wrote: Moreover the memory doesn't get unshared when the parent pages are paged out, it's the reporting tools that report the wrong information and of course mislead the the size limiting modules which start killing the processes. Apache::SizeLimit just reads /proc on Linux.

Re: 0 being appended to non mod_perl scripts.

2002-03-22 Thread Dave Hodgkinson
Per Einar Ellefsen [EMAIL PROTECTED] writes: I suspect that you don't get the 0 from static files, or anything which sends a Content-Length header. Look more into the raw transmitted data, and you might find out something. Might it be an HTTP/1.1 KeepAlive artefact? -- David Hodgkinson,

RE: 'Pinning' the root apache process in memory with mlockall

2002-03-22 Thread Rob Bloodgood
Stas Bekman wrote: Moreover the memory doesn't get unshared when the parent pages are paged out, it's the reporting tools that report the wrong information and of course mislead the the size limiting modules which start killing the processes. Apache::SizeLimit just reads /proc on

Re: Can't open perl script -spi.bak

2002-03-22 Thread Robert Landrum
At 3:00 AM +0800 3/23/02, Stas Bekman wrote: On Fri, 22 Mar 2002, Pete Kelly wrote: I am attempting to build mod_perl on NT. I successfully built Apache. I have ActiveState 5.6 (Perl v5.6.1) installed. I also have MS Visual Studio 6.0 installed. I downloaded mod_perl-1.26.tar.gz from

Re: 'Pinning' the root apache process in memory with mlockall

2002-03-22 Thread Ed Grimm
Danger: Rant ahead. Proceed with caution. On Sat, 23 Mar 2002, Stas Bekman wrote: See the discussion on the [EMAIL PROTECTED] list, http://marc.theaimsgroup.com/?t=10165973081r=1w=2 where it was said that it's a very bad idea to use mlock and variants. Moreover the memory doesn't get

mod_perl on windows

2002-03-22 Thread [EMAIL PROTECTED]
Hi. my $erver: Apache/1.3.22 (Win32) PHP/4.0.6 mod_perl/1.26_01-dev perl v5.6.1 Consider this sample script: use Apache::Request;use strict;use warnings; my $r=Apache-request;my $apr = Apache::Request-new($r);$r-send_http_header('text/html'); The first time i run the script the error is:

Re: Berkeley DB 4.0.14 not releasing lockers under mod_perl

2002-03-22 Thread Dan Wilga
Aaron Ross wrote: my $db_key = tie( %{$Rhash}, 'BerkeleyDB::Btree', -Flags=DB_CREATE, -Filename=$file, -Env=$env ); die Can't open $file: $! .$BerkeleyDB::Error.\n if !$db_key; return $db_key; I was wondering if using

Re: PerlModule hell - questions and comments

2002-03-22 Thread Perrin Harkins
Kee Hinckley wrote: 1. *Why* are the apache config files executed twice (completely with loading and unloading all the modules)? This is a core apache thing. Apache does it to verify that a restart is safe. See

Re: PerlModule hell - questions and comments

2002-03-22 Thread Kee Hinckley
At 4:18 PM -0500 3/22/02, Perrin Harkins wrote: Modules loaded with PerlModule and PerlRequire are not supposed to be loaded again the second time. I seem to remember that they are loaded again when using DSO though, so if you're using DSO you may want to recompile as static. Also, if you

Re: PerlModule hell - questions and comments

2002-03-22 Thread Perrin Harkins
Kee Hinckley wrote: At Embperl 2.0b6 Gerald switched to a new architecture. The previous version was just a plain Perl module loaded as a handler by mod_perl. This version is also an Apache module. Okay, if it's only in the recent betas then it's possible that only a few people have

Re: PerlModule hell - questions and comments

2002-03-22 Thread Kee Hinckley
At 5:11 PM -0500 3/22/02, Perrin Harkins wrote: Kee Hinckley wrote: At Embperl 2.0b6 Gerald switched to a new architecture. The previous version was just a plain Perl module loaded as a handler by mod_perl. This version is also an Apache module. Okay, if it's only in the recent betas then

Re: mod_perl on windows

2002-03-22 Thread Randy Kobes
On Fri, 22 Mar 2002, [EMAIL PROTECTED] wrote: Hi. my $erver: Apache/1.3.22 (Win32) PHP/4.0.6 mod_perl/1.26_01-dev perl v5.6.1 Consider this sample script: use Apache::Request; use strict; use warnings; my $r=Apache-request; my $apr = Apache::Request-new($r);

Re: mod_perl on windows

2002-03-22 Thread [EMAIL PROTECTED]
Great! It worked now thanks! I only had to install --force libapreq and it worked. - Original Message - From: Randy Kobes [EMAIL PROTECTED] To: [EMAIL PROTECTED] [EMAIL PROTECTED] Cc: [EMAIL PROTECTED] Sent: Saturday, March 23, 2002 12:35 AM Subject: Re: mod_perl on windows On Fri,

Problems installing on Solaris 8

2002-03-22 Thread Wayne Pascoe
Hi all, I'm trying to build mod_perl 1.26 and Apache 1.3.24 on Solaris 8. I have Perl 5.6.1 on the machine. I am building mod_perl as follows: perl Makefile.PL EVERYTHING=1 \ APACHE_SRC=../apache_1.3.24/src USE_APACI=1 \ PREP_HTTPD=1 DO_HTTPD=1 make make install I then change into the

Re: Problems installing on Solaris 8

2002-03-22 Thread The Wizkid
Wayne Pascoe wrote: Hi all, I'm trying to build mod_perl 1.26 and Apache 1.3.24 on Solaris 8. I have Perl 5.6.1 on the machine. I am building mod_perl as follows: perl Makefile.PL EVERYTHING=1 \ APACHE_SRC=../apache_1.3.24/src USE_APACI=1 \ PREP_HTTPD=1 DO_HTTPD=1 make make install

Re: Problems installing on Solaris 8

2002-03-22 Thread The Wizkid
The Wizkid wrote: Wayne Pascoe wrote: Hi all, I'm trying to build mod_perl 1.26 and Apache 1.3.24 on Solaris 8. I have Perl 5.6.1 on the machine. I am building mod_perl as follows: perl Makefile.PL EVERYTHING=1 \ APACHE_SRC=../apache_1.3.24/src USE_APACI=1 \ PREP_HTTPD=1 DO_HTTPD=1

Re: Problems installing on Solaris 8

2002-03-22 Thread Wayne Pascoe
The Wizkid [EMAIL PROTECTED] writes: This one is easy. Include the ssl library with env LIBRARIES=' -Ltherightdirectory -lssl -lcrypto Why does mod_perl need ssl and crypto ? Just curious... I'll try this now... I hope you have bettter luck then I have. I got past this, and I have not

Re: Can't open perl script -spi.bak

2002-03-22 Thread Garth Winter Webb
On Fri, 2002-03-22 at 12:57, Robert Landrum wrote: That's is very weird, because this code doesn't seem to work: perl -e 'system(perl, -e1) == 0 or die oops' Actually, that's not all that weird. Most shells take care of stripping out garbage before setting the argument list. Since

Re: Problems installing on Solaris 8

2002-03-22 Thread Wayne Pascoe
The Wizkid [EMAIL PROTECTED] writes: Opps, I forgot some stuff Use this on the make command LIBS= -L/opt/local/lib -lssl -lcrypto \ INCLUDES= -I/opt/local/include \ make string I'm using is: A locate libssl shows it to be in /usr/local/openssl/lib libcrypto looks to be

Re: Problems installing on Solaris 8

2002-03-22 Thread The Wizkid
Wayne Pascoe wrote: The Wizkid [EMAIL PROTECTED] writes: Opps, I forgot some stuff Use this on the make command LIBS= -L/opt/local/lib -lssl -lcrypto \ INCLUDES= -I/opt/local/include \ make string I'm using is: A locate libssl shows it to be in /usr/local/openssl/lib

Re: Can't open perl script -spi.bak

2002-03-22 Thread Randy Kobes
On 22 Mar 2002, Garth Winter Webb wrote: On Fri, 2002-03-22 at 12:57, Robert Landrum wrote: That's is very weird, because this code doesn't seem to work: perl -e 'system(perl, -e1) == 0 or die oops' Actually, that's not all that weird. Most shells take care of stripping out

Re: Apache and Perl with Virtual Host

2002-03-22 Thread Matt Phelps
Okay, this is still giving me problems. Here is my config. I've tried several things and still nothing. For some reason I can't get cgi scripts to run under any virtual webs, but the default web. I'm running RH 7.2 with apache 1.3.20. I do have mod_perl installed. My other box with RH 6.0

Re: PerlModule hell - questions and comments

2002-03-22 Thread Kee Hinckley
At 5:11 PM -0500 3/22/02, Perrin Harkins wrote: In your case, PerlFreshRestart might help with what you're trying to do since it will clear %INC, but you may still have the problem with needing to call Init. PerlFreshRestart will reload the module and thus call Init, but PerlFreshRestart is

Re: 'Pinning' the root apache process in memory with mlockall

2002-03-22 Thread Stas Bekman
Daniel Hanks wrote: On Sat, 23 Mar 2002, Stas Bekman wrote: See the discussion on the [EMAIL PROTECTED] list, http://marc.theaimsgroup.com/?t=10165973081r=1w=2 where it was said that it's a very bad idea to use mlock and variants. Moreover the memory doesn't get unshared when the

Re: 'Pinning' the root apache process in memory with mlockall

2002-03-22 Thread Stas Bekman
Perrin Harkins wrote: Stas Bekman wrote: Moreover the memory doesn't get unshared when the parent pages are paged out, it's the reporting tools that report the wrong information and of course mislead the the size limiting modules which start killing the processes.

Re: Can't open perl script -spi.bak

2002-03-22 Thread Ryan Parr
On FreeBSD using Perl 5.6.1: perl -e 'system(ls,-d,/);'-- This works, showing just / perl -e 'system(ls, -d,/);' -- This fails, showing ls: -d: No such file or directory On FreeBSD using tcsh: perldoc -f system-- This works perldoc -f system -- The shell sees that it

[OT] Re: Can't open perl script -spi.bak

2002-03-22 Thread Ryan Parr
I also think that there me some mis-interpretation here of the system docs: snip src=cmd:perldoc -f system If there is more than one argument in LIST, or if LIST is an array with more than one value, starts the program given by the first element of the list with arguments given by the rest of

Re: Apache and Perl with Virtual Host

2002-03-22 Thread Ged Haywood
Hi there, On Fri, 22 Mar 2002, Matt Phelps wrote: [snip,snip] Okay, this is still giving me problems. Here is my config. I've tried several things and still nothing. For some reason I can't get cgi scripts to run under any virtual webs, but the default web. What's a 'web'? I think you mean

cvs commit: modperl Changes Makefile.PL

2002-03-22 Thread stas
stas02/03/22 11:58:13 Modified:.Changes Makefile.PL Log: the first flag argument to perl cannot start with space, since perl tries to open the -spi.bak as a file. fix that in the win32 case. Revision ChangesPath 1.626 +4 -0 modperl/Changes

cvs commit: modperl STATUS

2002-03-22 Thread geoff
geoff 02/03/22 12:03:34 Modified:.STATUS Log: add reference to PERL5LIB patch Revision ChangesPath 1.2 +6 -1 modperl/STATUS Index: STATUS === RCS file: