Double execution of PerlRequire statement

2002-12-18 Thread Andreas Rieke
Hi, working with apache 1.3.26, mod_perl/1.27 and perl 5.6.0 on a Redhat Linux 7.2 with kernel 2.4.7-10, I have serious problems with a PerlRequire statement in the httpd.conf apache configuration file since the script is executed twice with the same pid. The PerlRequire statement is the first

RE: Double execution of PerlRequire statement

2002-12-18 Thread FFabrizio
Though I have not encountered this problem personally, it's been discussed here a few times before, and a google search of PerlRequire running twice turned up a page full of promising leads, so I suggest peeking at the archives and google. -Fran -Original Message- From: Andreas Rieke

Re: Double execution of PerlRequire statement

2002-12-18 Thread Kyle Oppenheim
of PerlRequire statement Hi, working with apache 1.3.26, mod_perl/1.27 and perl 5.6.0 on a Redhat Linux 7.2 with kernel 2.4.7-10, I have serious problems with a PerlRequire statement in the httpd.conf apache configuration file since the script is executed twice with the same pid

Re: Double execution of PerlRequire statement

2002-12-18 Thread Perrin Harkins
Kyle Oppenheim wrote: This behavior is documented in the guide... http://perl.apache.org/docs/1.0/guide/config.html#Apache_Restarts_Twice_On_S tart This is true, although technically it shouldn't require the same file twice unless you have PerlFreshRestart on (which is a bad idea). - Perrin

Re: Double execution of PerlRequire statement

2002-12-18 Thread Geoffrey Young
/?t=9971463252r=1w=2 IIRC, it is still outstanding. in the meanwhile, Perrin has suggested a fix for PerlModule http://marc.theaimsgroup.com/?l=apache-modperlm=101067662002787w=2 and issues with PerlRequire can probably be worked around by playing with $Apache::Server::ReStarting HTH

PerlRequire

2002-04-16 Thread Florence Dardenne
Hi, I've been search all the guides and never found the answer to next question : I have mod_perl 1.26 correctly installed with Apache 1.3.22. When I include in the httpd.conf file this kind of line Include /home/me/auto-apache.conf which has a PerlRequire command like PerlRequire /home/me/bin

Re: PerlRequire

2002-04-16 Thread Perrin Harkins
Florence Dardenne wrote: Does mod_perl 1.26 includes the 'PerlRequire' functionality or do I need higher version ? All versions of mod_perl have that feature. You must not have mod_perl compiled into that server. See this entry in the guide: http://perl.apache.org/guide/install.html

PerlRequire -mod_perl-2 - Apache 2.0.35

2002-04-16 Thread RRArul
Apache 2.0.35 with Mod_Perl-2. However, I am not able to use PerlRequire Statement in the httpd.conf. Whenever I am trying to restart my Windows Services, it is always giving me an error message which does not allow me to start my Windows Services. While I am able to execute my CGI Scripts in Apache

Re: PerlRequire

2002-04-16 Thread Per Einar Ellefsen
a PerlRequire command like PerlRequire /home/me/bin/startup.pl, I have an error saying : Invalid command 'PerlRequire', perhaps mis-spelled or defined by a module not included in the server configuration Does mod_perl 1.26 includes the 'PerlRequire' functionality or do I need higher version ? As Perrin

Re: PerlRequire -mod_perl-2 - Apache 2.0.35

2002-04-16 Thread Perrin Harkins
[EMAIL PROTECTED] wrote: I am a newbie and had developed a proof-of-concept application on Apache 1.3.23/Mod_Perl-1.26-dev. We are researching into moving away from ASP/IIS Webapplications to Apache/Mod_Perl. I am stuck with the latest Apache 2.0.35 with the following problems. Do you really

Re: PerlRequire -mod_perl-2 - Apache 2.0.35

2002-04-16 Thread Dave Rolsky
On Tue, 16 Apr 2002, Perrin Harkins wrote: [EMAIL PROTECTED] wrote: I am a newbie and had developed a proof-of-concept application on Apache 1.3.23/Mod_Perl-1.26-dev. We are researching into moving away from ASP/IIS Webapplications to Apache/Mod_Perl. I am stuck with the latest Apache

RE: Re: PerlRequire -mod_perl-2 - Apache 2.0.35

2002-04-16 Thread RRArul
Both the suppositions are right! To have the proof-of-concept working in Apache, I do have it working 100% under Apache 1.3.23/mod_perl-1.26. I had performed benchmark studies under IIS/ASP, Tomcat/JSP and Apache/MOD_PERL and have seen the best performance under Apache 1.3.23/Mod_Perl!

Re: PerlRequire -mod_perl-2 - Apache 2.0.35

2002-04-16 Thread Randy Kobes
with the following problems. Today I installed Apache 2.0.35 with Mod_Perl-2. However, I am not able to use PerlRequire Statement in the httpd.conf. Whenever I am trying to restart my Windows Services, it is always giving me an error message which does not allow me to start my Windows Services

RE: Re: PerlRequire -mod_perl-2 - Apache 2.0.35

2002-04-16 Thread Arul, Rex
. - does the service start OK, with mod_perl-2 enabled, if the PerlRequire statement isn't there? Yes! Apache2 server starts fine under the 'Apache Monitor Services' Application tool, when I remove PerlRequire Statement. And on that Application, it clearly shows the server as : Apache/2.0.35(Win32

RE: Re: PerlRequire -mod_perl-2 - Apache 2.0.35

2002-04-16 Thread Randy Kobes
On Tue, 16 Apr 2002, Arul, Rex wrote: Randy: Thanks for your response. Here are my responses: A few things to perhaps look at ... - does the service start OK, with mod_perl-2 enabled, if the PerlRequire statement isn't there? Yes! Apache2 server starts fine under the 'Apache Monitor

RE: RE: Re: PerlRequire -mod_perl-2 - Apache 2.0.35

2002-04-16 Thread Arul, Rex
Randy: In order to keep my Apache 1.3.23/Mod_Perl-1.26 safe, I tried installing Apache 2.0.35/mod_perl-2 on a different NT 4.0 Server with ActivePerl 628. LoadModule perl_module modules/mod_perl.so PerlModule Apache2 WORKS!!! However, when I write a simple Perl CGI page, it bombs at the

Re: PerlRequire -mod_perl-2 - Apache 2.0.35

2002-04-16 Thread RStar
Randy, For what it's worth, I can verify Rex's experience with the exception that I used a win2k platform instead of Nt 4. I do have use Apache2 in my startup.pl. Rich Arul, Rex wrote: Randy: In order to keep my Apache 1.3.23/Mod_Perl-1.26 safe, I tried installing Apache

Re: PerlRequire -mod_perl-2 - Apache 2.0.35

2002-04-16 Thread pascal barbedor
installed Apache 2.0.35 with Mod_Perl-2. However, I am not able to use PerlRequire Statement in the httpd.conf. Whenever I am trying to restart my Windows Services, it is always giving me an error message which does not allow me to start my Windows Services. Hi for me on winnt, apache

segfault when using PerlRequire

2002-01-13 Thread John D Groenveld
I hesitate to post this because I haven't kept up with my reading. I did do several searches of my 28K message modperl mail folder and the list archives. My httpd.conf reads... LoadModule perl_module /opt/apache/libexec/libperl.so #PerlModule Apache::Status PerlRequire /home/stevens.1

Re: segfault when using PerlRequire

2002-01-13 Thread Stas Bekman
::Status PerlRequire /home/stevens.1/apache-perl/conf/startup.pl If I uncomment the PerlModule config, then no core dump. If I downgrade to perl-5.0.3, then no core dump. If I Configure -Uuselargefiles, I still core dump. Solaris bug, Perl bug, modperl bug, Apache bug, or driver error? I

Re: segfault when using PerlRequire

2002-01-13 Thread John D Groenveld
I assume that you use Apache DSO. I think that you need to rebuild your perl with -Ubincompat5005. I cannot see the value of bincompat5005 in your 'perl -V' http://perl.apache.org/guide/install.html#When_DSO_can_be_Used Still cores after explicit -Ubincompat5005, I'm fairly certain I

RE: PerlRequire/PerlModule and %INC

2001-11-06 Thread Geoffrey Young
hi guys... I know this is from a while ago, but I'm still seeing the double init thing with PerlModule and PerlRequire on server restarts. I've tried two different 5.6.1 installs with current CVS. can somebody verify that I'm not seeing things? the test I was using was the default

Re: Setting PerlRequire in a Perl section

2001-09-21 Thread Perrin Harkins
Actually, yes, I had. PerlVINC is not really what I needed, the goal was not to reload %INC per VirtualHost, the need was to have a single PerlRequire set up @INC properly per VirtualHost (so Apache::StatINC would work). Ordinary this would have been done with something like 'use lib

RE: Setting PerlRequire in a Perl section

2001-09-21 Thread Alex Harper
; Stas Bekman Cc: [EMAIL PROTECTED] Subject: Re: Setting PerlRequire in a Perl section Actually, yes, I had. PerlVINC is not really what I needed, the goal was not to reload %INC per VirtualHost, the need was to have a single PerlRequire set up @INC properly per VirtualHost (so Apache

Re: Setting PerlRequire in a Perl section

2001-09-21 Thread Perrin Harkins
$PerlRequire to a straight 'require'. They do the same thing. Perl my $dirroot = $0; $dirroot = s/\.htaccess$//; require ($dirroot . 'modperlstartup.pl'); /Perl As I mentioned previously we switched to absolute paths in the per-application startup.pl file. Its a pain to maintain a per-server

RE: Setting PerlRequire in a Perl section

2001-09-21 Thread Alex Harper
-coding that path on each server, you should be able to just make everything else relative to that. Is that what you were trying to do with your original post? That code would work fine if you change $PerlRequire to a straight 'require'. They do the same thing. Exactly, the only abs path

Re: Setting PerlRequire in a Perl section

2001-09-20 Thread Stas Bekman
Alex Harper wrote: Hi, I'm trying to configure a PerlRequire directive in a Perl section of an .htaccess file. This is done so that I can have several directories (one per VirtualHost) load a different PerlRequire startup without resorting to absolute paths for the startup for each

RE: Setting PerlRequire in a Perl section

2001-09-20 Thread Alex Harper
to use Apache::PerlVINC, but it's not very efficient. Actually, yes, I had. PerlVINC is not really what I needed, the goal was not to reload %INC per VirtualHost, the need was to have a single PerlRequire set up @INC properly per VirtualHost (so Apache::StatINC would work). Ordinary this would have

Re: Setting PerlRequire in a Perl section

2001-09-20 Thread Stas Bekman
You probably need to use Apache::PerlVINC, but it's not very efficient. Actually, yes, I had. PerlVINC is not really what I needed, the goal was not to reload %INC per VirtualHost, the need was to have a single PerlRequire set up @INC properly per VirtualHost (so Apache::StatINC would

Setting PerlRequire in a Perl section

2001-09-19 Thread Alex Harper
Hi, I'm trying to configure a PerlRequire directive in a Perl section of an .htaccess file. This is done so that I can have several directories (one per VirtualHost) load a different PerlRequire startup without resorting to absolute paths for the startup for each VirtualHost. Since FindBin

Re: httpd PerlRequire error

2001-08-15 Thread Stas Bekman
/ /Library/WebServer/cgi-bin/ PerlRequire /Library/WebServer/startup.pl Alias /cgi-bin /Library/WebServer/cgi-bin Location /cgi-bin SetHandler perl-script PerlHandler Apache::Registry Options ExecCGI /Location When trying apachectl start I receive the following error

PerlRequire/PerlModule and %INC

2001-08-06 Thread Perrin Harkins
There have been some messages on the Mason list about people experiencing startup.pl being loaded twice, even without PerlFreshRestart on. I know the server restarts during startup, but PerlRequire and PerlModule are both supposed to obey the laws of %INC, right? I seem to remember some

Re: PerlRequire/PerlModule and %INC

2001-08-06 Thread Stas Bekman
On Mon, 6 Aug 2001, Perrin Harkins wrote: There have been some messages on the Mason list about people experiencing startup.pl being loaded twice, even without PerlFreshRestart on. I know the server restarts during startup, but PerlRequire and PerlModule are both supposed to obey the laws

Apache does not start with Perlrequire

2001-03-05 Thread Roberto Osorio González
Hi, I'm using Apache 1.3.12-2 that comes with RedHat 6.2 and into the same CD I have mod_perl both are RPM`s packages and both are working well. However if I use Perlrequire directive: Perlrequire /path to my startup/my startup.pl and I try to restart my httpd, this says OK but there is no one

Re: Apache does not start with Perlrequire

2001-03-05 Thread Stas Bekman
On Mon, 5 Mar 2001, Roberto Osorio [iso-8859-1] González wrote: Hi, I'm using Apache 1.3.12-2 that comes with RedHat 6.2 and into the same CD I have mod_perl both are RPM`s packages and both are working well. However if I use Perlrequire directive: Perlrequire /path to my startup/my

PerlRequire

2001-02-12 Thread Aaron Schlesinger
Hey there. I have a line in my httpd.conf: PerlRequire /path/to/startup.pl In startup.pl I have this line: use lib '/path/to/module'; This is not being added to my @INC like it should. Any thoughts? __ Do You Yahoo!? Get personalized email

RE: PerlRequire

2001-02-12 Thread Liddick, Scott
Make sure that your PerlRequire comes BEFORE you actually want to 'use' the module in your httpd.conf Alternately, you could unshift(@INC, '/path/to/module') in your startup.pl -Original Message- From: Aaron Schlesinger [mailto:[EMAIL PROTECTED]] Sent: Monday, February 12, 2001 10:07 AM

RE: PerlRequire

2001-02-12 Thread Aaron Schlesinger
I was under the impression that once I ran the PerlRequire script, if I did the use lib command, all my other mod_perl scripts called on that server would have access to that library?! Aaron --- "Liddick, Scott" [EMAIL PROTECTED] wrote: Make sure that your PerlRequire comes

Re: PerlRequire

2001-02-12 Thread Ernest Lergon
Aaron Schlesinger wrote: I have a line in my httpd.conf: PerlRequire /path/to/startup.pl In startup.pl I have this line: use lib '/path/to/module'; This is not being added to my @INC like it should. try use lib '/path/to'; use module; Ernest -- Yours sincerely Mit

Re: PerlRequire

2001-02-12 Thread Perrin Harkins
On Mon, 12 Feb 2001, Aaron Schlesinger wrote: I have a line in my httpd.conf: PerlRequire /path/to/startup.pl In startup.pl I have this line: use lib '/path/to/module'; This is not being added to my @INC like it should. Any thoughts? How do you know it isn;t being added? Try

Re: apache fails to work with mod_perl .. (old PerlRequire conf/startup.pl + more info)

2000-10-15 Thread falstaff
I have found that I can now build an apache_1.3.14 binary with mod_perl-1.24 . I had to rebuild the perl5.6.0 binary with config_args: config_args='-des -Doptimize=-02 -march=i386 mcpu=686 -Dcc=gcc -Dcccdlflags=-fPIC -Darchname=i386-linux -Dd_dosuid -Dd_semctl_semun -Di_db -di_ndbm -Di_gdbm

PerlRequire conf/startup.pl

2000-10-13 Thread Dennis
Hey I have "PerlRequire conf/startup.pl" in httpd.conf and startup.pl has "1;" in it then I start apache "/usr/local/apache/bin/apachectl start and it says: /usr/local/apache/bin/apachectl start: httpd started butit looks like it's exiting out right away. is that

Re: PerlRequire conf/startup.pl

2000-10-13 Thread iain truskett
* Dennis ([EMAIL PROTECTED]) [14 Oct 2000 16:00]: I have "PerlRequire conf/startup.pl" in httpd.conf and startup.pl has "1;" in it then I start apache "/usr/local/apache/bin/apachectl start and it says: /usr/local/apache/bin/apachectl start: httpd started but i

PerlRequire problems

2000-02-01 Thread J. Horner
I just recompiled Apache with mod_perl support. I followed the directions, had no errors, and made no brain farts. The PerlRequire directive isn't valid! Any ideas? mod_perl version = 1.21 perl version = 5.00503 Apache version = 1.3.11 OS = Redhat Linux version 6.1 on P-150 w/ 48 MBytes RAM

RE: PerlRequire problems

2000-02-01 Thread Geoffrey Young
[mailto:[EMAIL PROTECTED]] Sent: Tuesday, February 01, 2000 2:11 PM To: [EMAIL PROTECTED] Subject: PerlRequire problems I just recompiled Apache with mod_perl support. I followed the directions, had no errors, and made no brain farts. The PerlRequire directive isn't valid! Any ideas

Re: PerlRequire problems

2000-02-01 Thread Matt Sergeant
tions, had no errors, and made no brain farts. The PerlRequire directive isn't valid! Any ideas? mod_perl version = 1.21 perl version = 5.00503 Apache version = 1.3.11 OS = Redhat Linux version 6.1 on P-150 w/ 48 MBytes RAM. The httpd executable is larger, and I moved it by hand to the

Re: silent failure when I try to use PerlRequire in httpd.conf

1999-12-14 Thread Doug MacEachern
performance and memory usage by consolidating some common Perl "use" directives in a PerlRequire statement. However, when I add this line to my Apache config file (/etc/httpd/conf/httpd.conf), the server fails to come up - and also give no indication that I can find of a problem. So, I

RE: silent failure when I try to use PerlRequire in httpd.conf

1999-12-14 Thread Gerald Richter
(gdb) bt #0 0x40308503 in boot_DBI () Looks like your Perl installation binaries (DBI in this case), doesn't match with Apache/mod_perl. So the best would be to compile everything Apache/Perl/mod_perl from the sources Gerald

Re: silent failure when I try to use PerlRequire in httpd.conf

1999-12-14 Thread Doug MacEachern
#1 0x403da306 in ?? () from /etc/httpd/modules/libperl.so broken record mod_perl+dso is not a stable mix, try linking mod_perl static /broken record

Re: silent failure when I try to use PerlRequire in httpd.conf

1999-12-13 Thread Bill Marrs
Perl "use" directives in a PerlRequire statement. However, when I add this line to my Apache config file (/etc/httpd/conf/httpd.conf), the server fails to come up - and also give no indication that I can find of a problem. So, I don't know what's going wrong. Here's what

Re: silent failure when I try to use PerlRequire in httpd.conf

1999-12-13 Thread Cliff Rayman
, I've been using mod_perl successfully albeit minimally for a couple months now. I'm trying to tune performance and memory usage by consolidating some common Perl "use" directives in a PerlRequire statement. However, when I add this line to my Apache config file (

Re: silent failure when I try to use PerlRequire in httpd.conf

1999-12-13 Thread Bill Marrs
I believe that this is the same thing that is happening to me. Cliff - are you using PerlRequire successfully? What version of Apache and mod_perl are you using? Prakash Kailasa also said: I have accidentally found a workaround. It may or may not work for you. - Comment the PerlRequire line. - Run:

Re: silent failure when I try to use PerlRequire in httpd.conf

1999-12-13 Thread Cliff Rayman
I am using PerlRequire successfully on both: Server: Apache/1.3.3 (Unix) mod_perl/1.16 mod_ssl/2.1.2 SSLeay/0.9.0b AND Server: Apache/1.3.9 (Unix) mod_perl/1.21 mod_ssl/2.4.8 OpenSSL/0.9.4 both on linux Linux Redhat 5.2 - kernal - 2.0.36 perl, version 5.005_02 built for i686-linux Are perl

Re: silent failure when I try to use PerlRequire in httpd.conf

1999-12-13 Thread Stas Bekman
using PerlRequire successfully on both: Server: Apache/1.3.3 (Unix) mod_perl/1.16 mod_ssl/2.1.2 SSLeay/0.9.0b AND Server: Apache/1.3.9 (Unix) mod_perl/1.21 mod_ssl/2.4.8 OpenSSL/0.9.4 both on linux Linux Redhat 5.2 - kernal - 2.0.36 perl, version 5.005_02 built for i686-linux Are perl

silent failure when I try to use PerlRequire in httpd.conf

1999-12-11 Thread Bill Marrs
Hi, I've been using mod_perl successfully albeit minimally for a couple months now. I'm trying to tune performance and memory usage by consolidating some common Perl "use" directives in a PerlRequire statement. However, when I add this line to my Apache config file (/etc/

Re: silent failure when I try to use PerlRequire in httpd.conf

1999-12-11 Thread Stas Bekman
On Sat, 11 Dec 1999, Bill Marrs wrote: Hi, I've been using mod_perl successfully albeit minimally for a couple months now. I'm trying to tune performance and memory usage by consolidating some common Perl "use" directives in a PerlRequire statement. However, when I add

Re: silent failure when I try to use PerlRequire in httpd.conf

1999-12-11 Thread Cliff Rayman
Stas Bekman wrote: On Sat, 11 Dec 1999, Bill Marrs wrote: Hi, I've been using mod_perl successfully albeit minimally for a couple months now. I'm trying to tune performance and memory usage by consolidating some common Perl "use" directives in a PerlRequire statement

Re: silent failure when I try to use PerlRequire in httpd.conf

1999-12-11 Thread Stas Bekman
make sure no server is running on port 80 or use an alternate config with an alternate port if you are on a production server. cd /usr/local/apache/bin # where ever your binary is gdb httpd set args -X -f /path/to/alternate/serverconfig_ifneeded.conf run it should blow up! then, bt