Re: AW: Use of uninitialized valued in concatenation....

2003-08-23 Thread Sreeji K Das
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 > http://perl.apache.org/docs/general/perl_reference/perl

[MP1.28 + perl maint. 20512] Build failure due to error in Apache/ExtUtils.pm

2003-08-10 Thread Sreeji K Das
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: .. + id: Perl/v5.8.1 (linux) [/nfs/private/user/srdas/i686/perl-pre-rc5

Re: 'PerlSetVar' error, please help

2003-07-10 Thread Sreeji K Das
--- 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-s

Re: mod_perl 1.0 and 2.0

2003-07-09 Thread Sreeji K Das
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,

[MP2 - BUG ?] Issue handing Apache config. error messages

2003-07-09 Thread Sreeji K Das
Following demonstrates the problem: $ cat /tmp/test.conf @Include = "/tmp/test1.conf"; Listen 43499 $ cat /tmp/test1.conf $Port = 42480; $ httpd -X -f /tmp/test.conf Syntax error on line 7 of /tmp/test.conf: Use of uninitialized value in subroutine entry at /tmp/CVS/virgin/modperl-2.0/blib

[MP2 BUG] PerlPassEnv issues

2003-07-07 Thread Sreeji K Das
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 ; PerlPassEnv MY_TEST_VAR print "M

Re: is anybody using mp2 in production?

2003-06-10 Thread Sreeji K Das
>... >... > > 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 &

Re: is anybody using mp2 in production?

2003-06-08 Thread Sreeji K Das
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

Re: DSO on Solaris - child dies with seg fault

2002-04-17 Thread Sreeji K Das
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

Re: DSO on Solaris - child dies with seg fault

2002-04-14 Thread Sreeji K Das
0,1,2 -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 So

DSO on Solaris - child dies with seg fault

2002-04-13 Thread Sreeji K Das
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 handl

Re: How to reload PERL module in all Apache children

2002-04-11 Thread Sreeji K Das
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 >

Re: Ordering in %INC for PerlRestart

2002-04-10 Thread Sreeji K Das
in mod_perl to get 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

Re: IPC::Open3 Corrected code version

2002-04-03 Thread Sreeji K Das
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 IP

Ordering in %INC for PerlRestart

2002-04-01 Thread Sreeji K Das
Hi I use PerlFreshRestart on to reload my modules. This is the problem I face: I have PerlRequire "bin/startup.pl" which "require"s 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; } Howeve

Re: PerlFreshRestart, mod_perl DSO, and Apache::StatINC

2002-03-07 Thread Sreeji K Das
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.

PerlFreshRestart bug - comments please

2002-02-27 Thread Sreeji K Das
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 (USR

[BUG?] PerlFreshRestart gives undef. subs (not the one in FAQ !!)

2002-02-26 Thread Sreeji K Das
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, StatI

PerlFreshRestart (Was: Re: Apache::Symbol-calling ->can('undef_functions'))

2002-02-07 Thread Sreeji K Das
rl interp. is torn down & reloaded - may be I'll look into that) Thanx Sreeji --- Geoffrey Young <[EMAIL PROTECTED]> wrote: > Sreeji K Das wrote: > > > > Hi > > > > Well, it's only a small part of my big problem :-( > > I'm trying t

Apache::Symbol-calling ->can('undef_functions')

2002-02-07 Thread Sreeji K Das
Hi The following perl -MDevel::Symdump -e '$t = Devel::Symdump->new(main); print $t->packages, "\n";' in perl 5.6.1 returns 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