Re: Perl on 2.2.0 update
Eric Oberlander <[email protected]> Fri, 1 Jan 2016 16:09:54 +0000
| Newsgroups | gmane.comp.security.ipcop.devel |
|---|---|
| Message-ID | <CAPkz44HfF9PzePsd5EDpuD4Dgna+BW0gUFpn-d-+hfiHGwiTiA@mail.gmail.com> |
--===============8625682358187514394== Content-Type: multipart/alternative; boundary=001a11487efe7b410305284800c9 --001a11487efe7b410305284800c9 Content-Type: text/plain; charset=UTF-8 On 5 December 2015 at 13:08, Eric Oberlander <[email protected]> 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. Eric --001a11487efe7b410305284800c9 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable <div dir=3D"ltr"><div class=3D"gmail_extra"><div class=3D"gmail_quote">On 5= December 2015 at 13:08, Eric Oberlander <span dir=3D"ltr"><<a href=3D"m= ailto:[email protected]" target=3D"_blank">[email protected]= m</a>></span> wrote:<br><blockquote class=3D"gmail_quote" style=3D"margi= n:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex= "><div dir=3D"ltr"><div><div><div><div>Olaf<br><br></div>I just tried a man= ual 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 miss= ing?<br><br></div>Anyhoo, it hosed my system with compilation errors, such = as the attached below, and didn't survive a reboot, as the Perl based s= cripts failed to execute.<br><br>[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<br>[Sat Dec 05 12:48:52 2015] [error] [client 192.168.3.24] Can&= #39;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/s= ite_perl/5.20.2 /usr/lib/perl5/5.20.2/i486-linux /usr/lib/perl5/5.20.2 .) a= t /usr/lib/perl5/5.20.2/<a href=3D"http://deprecate.pm" target=3D"_blank">d= eprecate.pm</a> line 8., referer: <a href=3D"https://192.168.3.1:8443/cgi-b= in/index.cgi" target=3D"_blank">https://192.168.3.1:8443/cgi-bin/index.cgi<= /a><br>[Sat Dec 05 12:48:52 2015] [error] [client 192.168.3.24] Compilation= failed in require at /usr/lib/perl5/5.20.2/<a href=3D"http://if.pm" target= =3D"_blank">if.pm</a> line 13., referer: <a href=3D"https://192.168.3.1:844= 3/cgi-bin/index.cgi" target=3D"_blank">https://192.168.3.1:8443/cgi-bin/ind= ex.cgi</a><br>[Sat Dec 05 12:48:52 2015] [error] [client 192.168.3.24] BEGI= N failed--compilation aborted at /usr/lib/perl5/site_perl/5.20.2/CGI/Carp.p= m line 2., referer: <a href=3D"https://192.168.3.1:8443/cgi-bin/index.cgi" = target=3D"_blank">https://192.168.3.1:8443/cgi-bin/index.cgi</a><br>[Sat De= c 05 12:48:52 2015] [error] [client 192.168.3.24] Compilation failed in req= uire at /home/httpd/cgi-bin/index.cgi line 33., referer: <a href=3D"https:/= /192.168.3.1:8443/cgi-bin/index.cgi" target=3D"_blank">https://192.168.3.1:= 8443/cgi-bin/index.cgi</a><br>[Sat Dec 05 12:48:52 2015] [error] [client 19= 2.168.3.24] BEGIN failed--compilation aborted at /home/httpd/cgi-bin/index.= cgi line 33., referer: <a href=3D"https://192.168.3.1:8443/cgi-bin/index.cg= i" target=3D"_blank">https://192.168.3.1:8443/cgi-bin/index.cgi</a><br>[Sat= Dec 05 12:48:52 2015] [error] [client 192.168.3.24] Premature end of scrip= t headers: index.cgi, referer: <a href=3D"https://192.168.3.1:8443/cgi-bin/= index.cgi" target=3D"_blank">https://192.168.3.1:8443/cgi-bin/index.cgi</a>= <br><br></div>Just a heads up<span class=3D""><font color=3D"#888888"></fon= t></span></div></div></blockquote><div><br><div>Olaf<br><br></div>Poking at= this further, I have been looking at=20 the Perl files on v2.1.9 versus those included in the update, and I=20 found where the missing Config.pm file should be.<br><br>Config.pm files in= IPCop v2.1.9<br>/usr/lib/perl5/5.14.2/i486-linux/Config.pm<br>/usr/lib/per= l5/5.14.2/i486-linux/Encode/Config.pm<br>/usr/lib/perl5/5.14.2/Net/Config.p= m<br>/usr/lib/perl5/site_perl/5.14.2/HTTP/Config.pm<br><br>Paths in 5.20.2 = include:<br>/usr/lib/perl5/5.20.2<br>/usr/lib/perl5/5.20.2/i486-linux<br>/u= sr/lib/perl5/site_perl/5.20.2<br>/usr/lib/perl5/site_perl/5.20.2/i486-linux= <br><br>Config.pm files in IPCop v2.2.0<br>/usr/lib/perl5/5.20.2/Net/Config= .pm<br>/usr/lib/perl5/5.20.2/i486-linux/Encode/Config.pm<br>/usr/lib/perl5/= site_perl/5.20.2/HTTP/Config.pm<br><br>Ergo a Config.pm file is missing fro= m /usr/lib/perl5/5.20.2/i486-linux<br>or the @INC statement(s) needs to be = tweaked.<br><br></div><div>Eric<br>=C2=A0<br></div><div><br>=C2=A0</div></d= iv><br></div></div> --001a11487efe7b410305284800c9-- --===============8625682358187514394== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline ------------------------------------------------------------------------------ --===============8625682358187514394== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ IPCop-devel mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/ipcop-devel --===============8625682358187514394==--