Did u check what's in line # 42 ? If u run the same
script with same params as stand-alone, do u see the
warning ?
Sreeji
--- B. Fongo [EMAIL PROTECTED] wrote: It is not a
standard perl error message. I went
through mod_perl doc at
I tried to compile mod_perl-1.28 with perl maint.
20512 (http://www.iki.fi/jhi/[EMAIL PROTECTED]). I had a
build failure (different errors each time trying to
build).
I noticed the following messages during perl
Makefile.PL:
MESSAGE
..
+ id: Perl/v5.8.1 (linux)
--- Dead Line [EMAIL PROTECTED] wrote: Hello
Everyone,
Im on FreeBSD 4.8R Fresh installation, I have
apache-fp, installed and
running,
I installed p5-Apache-ASP-2.51 from /ports
collection, installation was
../www/.htaccess: Invalid command 'PerlSetVar',
perhaps mis-spelled or
Following demonstrates the problem:
$ cat /tmp/test.conf
Perl
@Include = /tmp/test1.conf;
/Perl
Listen 43499
$ cat /tmp/test1.conf
Perl
$Port = 42480;
/Perl
$ httpd -X -f /tmp/test.conf
Syntax error on line 7 of /tmp/test.conf:
Use of uninitialized value in subroutine entry at
I think it should be based on your specific
requirements. If you want to setup a production box
and does not have much time in hand to troubleshoot,
then you must go for mod_perl 1.x/Apache-1.x latest
stable versions.
However, if you have time in hand want to learn a
bit about Apache/mod_perl,
Looks like PerlSetEnv's are not propagated as
expected.
I've pasted my original mail to the list. However,
after going through the code, it looks like
scfg-PassEnv is not synced with Perl's %ENV
structure.
Following is a simpler example:
$ cat /tmp/test.conf
Perl
;
/Perl
PerlPassEnv MY_TEST_VAR
...
...
I'd be interested in what you thought of the switch
after going live, we
were never sure (but getting there now) if we should
have started with MP2
or not, never got a chance to see MP1 in action.
We have found MP1 to be stable. (We had a lot of
issues with PerlFreshRestart I had
That's cool is yet another example of the power of
mod_perl. And you're right about the documentation. I
was blown away by the amount of docs. available at
perl.apache.org; thanks to all the hard work of Stas
Beckman !!
We had been using mod_perl had been having a very
stable site for quite a
Thanx Doug for the reply. Unfortunately I still get
segfaults :-( No difference.
Once I have the time, I'll get the stacktrace see
for any clues. Right now I have kept DSO in the
backburner, as I have got PerlFreshRestart fully up
and runnig (with a no. of patches to mod_perl)
Sreeji
--- Doug
-w0,1,2 -p 26978
Note: I have also tried setting ENV
PERL_DESTRUCT_LEVEL to -1 and also to 2, but got the
same results.
Thanx for any help.
Sreeji
--- Stas Bekman [EMAIL PROTECTED] wrote: Sreeji K
Das wrote:
Hi,
I was trying to run mod_perl as DSO on Solaris. I
see
the following line
Hi,
I was trying to run mod_perl as DSO on Solaris. I see
the following line in the logs:
[notice] child pid 24323 exit signal Segmentation
Fault (11)
This happens whenever I send a USR1 to the server for
restart. Also I see the same message whenever the
child is about to exit (ie. after
Hi Stas,
I was wondering if there is a possibility to
reload PERL module compiled
into Apache
with Apache::Registry
(and I want to reload this module in all Apache
children processes) by running reload-program once.
Currently Apache::Reload or its equivalent your only
solution.
Restart fully working.
Sreeji
--- Perrin Harkins [EMAIL PROTECTED] wrote: Ged
Haywood wrote:
Hi there,
On Tue, 2 Apr 2002, [iso-8859-1] Sreeji K Das
wrote:
I use PerlFreshRestart on to reload my modules.
[snip]
However, here my modules are getting loaded before
This is a known issue with latest mod_perl. Search the
archives for details.
This is the temp. solution. Before you call open3()
do:
untie(*STDIN);
untie(*STDOUT);
Sreeji
--- Rasoul Hajikhani [EMAIL PROTECTED] wrote:
Hello folks,
I am writing a web based interface to gpg and am
using
Hi
I use PerlFreshRestart on to reload my modules. This
is the problem I face:
I have
PerlRequire bin/startup.pl
which requires a lot of perl modules. However, on
restart (kill USR1), mod_perl does something like:
%temp = %INC; %INC = ();
while (($k, $v) = each %temp)) { require $k; }
However,
We had been using Option 1 for a long time we had
absolutely no problems (with
mod_perl-1.19/Apache-1.3.14/Perl-5.005).
However on upgrading to mod_perl-1.26, we were getting
hell lot of errors. I have tracked this to a bug in
perl_util.c on fixing this PerlFreshRestart works
w/o any problems.
Hi
I didn't get a response for my first post :-( So I'm
making another try (Sorry for cross-posting - but I
guess it's relevant to dev list as well)
PerlFreshRestart (is anyone using this feature ?) was
giving me a lot of problems giving a lot of 'Undefined
Subroutine' errors when I restart
Hi All,
I had been banging my head on this problem for a while
finally I guess I've found a solution.
Following was the problem:
I had
PerlFreshRestart On
PerlRestartHandler Apache::Symbol
in my conf. I needed the restart func. didn't want
to use other alternates (like Apache::Reload,
Hi
The following
perl -MDevel::Symdump -e '$t =
Devel::Symdump-new(main); print $t-packages, \n;'
in perl 5.6.1 returns none as one the packages !
Apache::Symbol (mod_perl-1.26) seems to call a
'can('undef_function..' on this values as a result,
a fatal error is thrown ! I have done a 'next if
[EMAIL PROTECTED] wrote:
Sreeji K Das wrote:
Hi
Well, it's only a small part of my big problem :-(
I'm trying to get PerlFreshRestart working. I had
been
banging my head against it for almost 5 days I
was
thinking about preparing a small test case
posting.
Well I want apache
20 matches
Mail list logo