Re: print throwing intermittent Segfaults

2009-11-21 Thread William T
This is the list of stuff I usually start with when I get a problem that doesn't seem to be tied to a particular code path. * code path - perhaps a particular code path is only being exercised rarely, and it has a bug * forking - when child dies, all open descriptors in it's name space also ge

RE: print

2008-01-04 Thread Kate Yoak
Of course... I saw that - but it didn't sync in... Thanks! -Original Message- From: Michael Peters [mailto:[EMAIL PROTECTED] Sent: Friday, January 04, 2008 1:37 PM To: Kate Yoak Cc: modperl@perl.apache.org Subject: Re: print Kate Yoak wrote: > I keep running into met

Re: print

2008-01-04 Thread Michael Peters
Kate Yoak wrote: > I keep running into methods not implemented where documentation says > they are. Is it something about me or a common problem? One of the new features of mod_perl 2 is less memory usage by default. It does this by not loading some of those extra methods unless you ask for them.

Re: print() on closed filehandle

2006-10-31 Thread Frank Wiles
On Mon, 30 Oct 2006 13:15:32 -0700 Harry Plate <[EMAIL PROTECTED]> wrote: > Peter, > > > > > You can also temporarily disable SELinux by doing: > > > > echo '0' > /selinux/enforce > > > > Bingo! That was it! > > So, I don't see any SELinux configuration (within Webmin, at least). > I need to

Re: print() on closed filehandle

2006-10-30 Thread Harry Plate
Peter, > > You can also temporarily disable SELinux by doing: > > echo '0' > /selinux/enforce > Bingo! That was it! So, I don't see any SELinux configuration (within Webmin, at least). I need to learn more about it ... How does one disable it at boot time? That would be a good temporary solut

Re: print() on closed filehandle

2006-10-30 Thread Peter Rosenthal
SELinux is certainly included in RHEL 4 (though it is an option at install time whether it is enabled or not). Check your message log for avc failures. e.g.:kernel: audit(1162240773.996:667): avc:  denied  { write } for  pid=23025 comm="httpd" name="dprof" dev=dm-0 ino=24282699 scontext=root:system

Re: print() on closed filehandle

2006-10-30 Thread Perrin Harkins
On Mon, 2006-10-30 at 12:47 -0700, Harry Plate wrote: > *** Cannot open log file, Permission denied at /var/www/cgi-bin/test.pl... [...] > Note the folder and file permissions are wide open; so I would next expect > that the unix fs is *not* the one that is complaining... I think it probably is yo

Re: print() on closed filehandle

2006-10-30 Thread Harry Plate
> You ought to test if the file is really open first, and you will hopefully > get a more helpful error message: > > open(LOGFILE, ">>junk.log") or die "Cannot open logfile, $!"; > Good suggestion; so I add the "die" and I get the error: *** Cannot open log file, Permission denied at /var/www/

Re: print() on closed filehandle

2006-10-30 Thread Clinton Gormley
what error is the open giving? > open (LOGFILE, ">>junk.log") ; open (LOGFILE, ">>junk.log") or die "Couldn't open junk.log for appending : $!"; Also, it may be that somewhere LOGFILE is defined as a constant, and so the bare filehandle LOGFILE is being interpreted as LOGFILE() Rather use

Re: print() on closed filehandle

2006-10-30 Thread Dondi M. Stroma
You ought to test if the file is really open first, and you will hopefully get a more helpful error message: open(LOGFILE, ">>junk.log") or die "Cannot open logfile, $!";

Re: print print "Hello" - returns different values when executed from shell and mod-perl

2004-11-18 Thread Stas Bekman
Rathna N wrote: Hi, I'm new to Apache/mod-perl. I hope I'm asking this question in the right forum. When I executed a script having " print print "Hello"; " at shell, it returns "Hello1", but when I executed thru mod-perl it returns "Hello5". CODE SNIPPET: print "Content-type: text/html\n\n"; prin

Re: print rflush sendfile

2004-11-18 Thread Robert Ferney
Paint me purple and color me an idiot, nevermind, I found my problem. thanks yall anyway. On Thu, 18 Nov 2004 20:13:19 -0700, Robert Ferney <[EMAIL PROTECTED]> wrote: > I am experancing the following undesirable behavior. > > My code looks somethign like this.. > > $r->print("Some htmlish bits"

Re: Print X.509 certificate

2004-02-06 Thread Torsten Foertsch
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On Friday 06 February 2004 11:54, Manuel Gil Perez wrote: > authentication). How can I print in the client web page his certificate > complete?? with SSLOptions +ExportCertData the client and the server cert are stored in pem format in the SSL_CLIEN

Re: Print X.509 certificate

2004-02-06 Thread Ged Haywood
Hello there, On Fri, 6 Feb 2004, Manuel Gil Perez wrote: > Excuse me for my question, but it's a dude for this mailing list. Please refer to Reporting bugs: http://perl.apache.org/bugs/ 73, Ged. -- Reporting bugs: http://perl.apache.org/bugs/ Mail list info: http://perl.apache.org/maillist/

Re: Print X.509 certificate

2004-02-06 Thread Manuel Gil Perez
Hi Ged, Excuse me for my question, but it's a dude for this mailing list. If you don't know to answer me, you don't look up any excuse, please. My question is about PERL + APACHE and how this module manage its web variables. It seems one question about mod_perl, no?? Now, I've the following PERL

Re: Print X.509 certificate

2004-02-06 Thread Ged Haywood
Hello there, On Fri, 6 Feb 2004, Manuel Gil Perez wrote: > I've install/configure an Apache server with SSL support (and client > authentication). How can I print in the client web page his certificate > complete?? This is the mod_perl Mailing List. Your question does not appear to be about mod