From: Eric O. <eri...@gm...> - 2016-01-01 17:37:53
|
On 1 January 2016 at 16:09, Eric Oberlander <eri...@gm...> wrote: > > On 5 December 2015 at 13:08, Eric Oberlander <eri...@gm...> > wrote: > >> Olaf >> >> I just tried a manual update from 2.1.9 to 2.2.0, and there's something >> wrong with Perl. Perhaps the wrong files are included in the updaate, or >> maybe some are missing? >> >> Anyhoo, it hosed my system with compilation errors, such as the attached >> below, and didn't survive a reboot, as the Perl based scripts failed to >> execute. >> >> [Sat Dec 05 12:33:40 2015] [notice] Apache/2.2.29 (Unix) mod_ssl/2.2.29 >> OpenSSL/1.0.1k configured -- resuming normal operations >> [Sat Dec 05 12:48:52 2015] [error] [client 192.168.3.24] Can't locate >> Config.pm in @INC (you may need to install the Config module) (@INC >> contains: /usr/lib/perl5/site_perl/5.20.2/i486-linux >> /usr/lib/perl5/site_perl/5.20.2 /usr/lib/perl5/5.20.2/i486-linux >> /usr/lib/perl5/5.20.2 .) at /usr/lib/perl5/5.20.2/deprecate.pm line 8., >> referer: https://192.168.3.1:8443/cgi-bin/index.cgi >> [Sat Dec 05 12:48:52 2015] [error] [client 192.168.3.24] Compilation >> failed in require at /usr/lib/perl5/5.20.2/if.pm line 13., referer: >> https://192.168.3.1:8443/cgi-bin/index.cgi >> [Sat Dec 05 12:48:52 2015] [error] [client 192.168.3.24] BEGIN >> failed--compilation aborted at /usr/lib/perl5/site_perl/5.20.2/CGI/Carp.pm >> line 2., referer: https://192.168.3.1:8443/cgi-bin/index.cgi >> [Sat Dec 05 12:48:52 2015] [error] [client 192.168.3.24] Compilation >> failed in require at /home/httpd/cgi-bin/index.cgi line 33., referer: >> https://192.168.3.1:8443/cgi-bin/index.cgi >> [Sat Dec 05 12:48:52 2015] [error] [client 192.168.3.24] BEGIN >> failed--compilation aborted at /home/httpd/cgi-bin/index.cgi line 33., >> referer: https://192.168.3.1:8443/cgi-bin/index.cgi >> [Sat Dec 05 12:48:52 2015] [error] [client 192.168.3.24] Premature end of >> script headers: index.cgi, referer: >> https://192.168.3.1:8443/cgi-bin/index.cgi >> >> Just a heads up >> > > Olaf > > Poking at this further, I have been looking at the Perl files on v2.1.9 > versus those included in the update, and I found where the missing > Config.pm file should be. > > Config.pm files in IPCop v2.1.9 > /usr/lib/perl5/5.14.2/i486-linux/Config.pm > /usr/lib/perl5/5.14.2/i486-linux/Encode/Config.pm > /usr/lib/perl5/5.14.2/Net/Config.pm > /usr/lib/perl5/site_perl/5.14.2/HTTP/Config.pm > > Paths in 5.20.2 include: > /usr/lib/perl5/5.20.2 > /usr/lib/perl5/5.20.2/i486-linux > /usr/lib/perl5/site_perl/5.20.2 > /usr/lib/perl5/site_perl/5.20.2/i486-linux > > Config.pm files in IPCop v2.2.0 > /usr/lib/perl5/5.20.2/Net/Config.pm > /usr/lib/perl5/5.20.2/i486-linux/Encode/Config.pm > /usr/lib/perl5/site_perl/5.20.2/HTTP/Config.pm > > Ergo a Config.pm file is missing from /usr/lib/perl5/5.20.2/i486-linux > or the @INC statement(s) needs to be tweaked. > > Next file missing seems to be Errno.pm. I'll keep digging. Eric |