Perrin Harkins wrote:

On Mon, 2004-11-22 at 14:01, Faisal Nasim wrote:


It compiles and it runs great but for no reason it all the scripts randomly 
gives
a 500 error! I was using XML::Simple so I realized I might have some unclosed
file handles which cause a 500 after several hits. This is what I found in the 
logs:

[error] Couldn't create file parser context for file "/home/.../xml/Test.xml": No such file or directory at /usr/../LibXML.pm line 427.\n at /usr/../LibXML/SAX.pm line 63\nCompilation failed in require a ...



Sometimes this means that you've had a problem earlier in the request with a module that has XS code, and now things are screwed up for the memory space of that particular child process. I'd suggest you learn to debug with the -X option, as shown here: http://perl.apache.org/docs/1.0/guide/porting.html#Sometimes_it_Works__Sometimes_it_Doesn_t



Well as Perrin already stated there are issues with XML::LibXML which you are using with XML::Simple. Which version do you have installed?
See this thread and a working patch against these libs. Still I would upgrade as a first try libxml and XML::LibXML.


http://aspn.activestate.com/ASPN/Mail/Message/perl-xml/1998065

But XML::LibXML are definately working under mp1 because AxKit makes heavy use of these libs.

Tom




-- Report problems: http://perl.apache.org/bugs/ Mail list info: http://perl.apache.org/maillist/modperl.html List etiquette: http://perl.apache.org/maillist/email-etiquette.html



Reply via email to