mod_perl 2.0.0-RC5 rename -- breaks Nictool

Started by LogicX, April 18, 2005, 08:49:06 AM

Previous topic - Next topic

LogicX

A new http://gossamer-threads.com/lists/modperl/modperl/80177" target="_blank">mod_perl2 port is out, which apparently deprecates the usage of

#PerlModule Apache2 in the apache config
along with a slew of http://perl.apache.org/docs/2.0/rename.html" target="_blank">other changes
resulting in things breaking:

[Sun Apr 17 19:35:07 2005] [error] Can't locate Apache2.pm in @INC (@INC contains: /usr/local/lib/perl5/site_perl/5.8.6/mach /usr/local/lib/perl5/site_perl/5.8.6 /usr/local/lib/perl5/site_perl /usr/local/lib/perl5/5.8.6/BSDPAN /usr/local/lib/perl5/5.8.6/mach /usr/local/lib/perl5/5.8.6 . /usr/local) at /usr/local/lib/perl5/site_perl/5.8.6/SOAP/Transport/HTTP.pm line 19.\nBEGIN failed--compilation aborted at /usr/local/lib/perl5/site_perl/5.8.6/SOAP/Transport/HTTP.pm line 19.\nCompilation failed in require at /usr/local/lib/perl5/site_perl/5.8.6/Apache/SOAP.pm line 15.\nBEGIN failed--compilation aborted at /usr/local/lib/perl5/site_perl/5.8.6/Apache/SOAP.pm line 15.\nCompilation failed in require at /usr/local/www/NicToolServer/nictoolserver.conf line 20.\nBEGIN failed--compilation aborted at /usr/local/www/NicToolServer/nictoolserver.conf line 20.\nCompilation failed in require at (eval 4) line 1.\n
[Sun Apr 17 19:35:07 2005] [error] Can't load Perl file: /usr/local/www/NicToolServer/nictoolserver.conf for server coda.LogicX.net:80, exiting...



sadly, other ports haven't upgraded themselves yet -- so, we have a rather large problem of many things being broken if you upgrade the mod_perl2 port.

I succesfully got Nictool working again, after having to mod:
SOAP/Transport/HTTP.pm
CGI/Cookie.pm
CGI.pm

and http://marc.theaimsgroup.com/?l=apache-modperl&m=111309969130358&w=2" target="_blank">Apache::DBI

When I fix the next box in my chain I'll document in detail what I had to modify, for others who install this new mod_perl w/o realizing the implications.


--- May this post be indexed by spiders, and archived for all to see as my internet epitaph.
http://fpux.com" target="_blank">http://fpux.com

caquino

I'm getting one strange problem here too after the last update
[Mon May 09 17:02:36 2005] [error] [client 127.0.0.1] Can't locate object method "FETCH" via package "APR::Table" at /usr/local/share/perl/5.8.4/NicToolServer/Client.pm line 35.\n

I have enabled again APR::Table in HTTP.pm (in the top) and this error goes away.. but now I got another one.. here is the soap debug
SOAP result SCALAR: $VAR1 = '
junk after document element at line 1, column 322, byte 322 at /usr/lib/perl5/XML/Parser.pm line 187
<?xml version="1.0" encoding="us-ascii"?><methodResponse><params><param><value ><struct><member><name>error_msg</name><value><string>Your session has expired. Please login again</string></value></member><member><name>error_code </name><value><int>403</int></value></member></struct ></value></param></params></methodResponse><!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">
<html><head>
<title>500 Internal Server Error</title>
</head><body>
<h1>Internal Server Error</h1>
<p>The server encountered an internal error or
misconfiguration and was unable to complete
your request.</p>
<p>Please contact the server administrator,
[no address given] and inform them of the time the error occurred,
and anything you might have done that may have
caused the error.</p>
<p>More information about this error may be available
in the server error log.</p>
<p>Additionally, a 500 Internal Server Error
error was encountered while trying to use an ErrorDocument to handle the request.</p>
</body></html>
';

MarkS

Hi caquino,

Did you ever manage to get this fixed?