Re: Perl on 2.2.0 update

Eric Oberlander <[email protected]> Fri, 1 Jan 2016 17:37:46 +0000
Newsgroups gmane.comp.security.ipcop.devel
Message-ID <CAPkz44FJo0Ymkpu-Mz2yAtCdi087GK4Va=9ZLuL388EPUAvNhg@mail.gmail.com>
--===============6993986549387404322==
Content-Type: multipart/alternative; boundary=001a11470d08ba3fe90528493a2b

--001a11470d08ba3fe90528493a2b
Content-Type: text/plain; charset=UTF-8

On 1 January 2016 at 16:09, Eric Oberlander <[email protected]>
wrote:

>
> 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.
>
>
Next file missing seems to be Errno.pm. I'll keep digging.

Eric

--001a11470d08ba3fe90528493a2b
Content-Type: text/html; charset=UTF-8
Content-Transfer-Encoding: quoted-printable

<div dir=3D"ltr"><br><div class=3D"gmail_extra"><br><div class=3D"gmail_quo=
te">On 1 January 2016 at 16:09, Eric Oberlander <span dir=3D"ltr">&lt;<a hr=
ef=3D"mailto:[email protected]" target=3D"_blank">eric.oberlander@g=
mail.com</a>&gt;</span> wrote:<br><blockquote class=3D"gmail_quote" style=
=3D"margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir=
=3D"ltr"><div class=3D"gmail_extra"><br><div class=3D"gmail_quote"><span cl=
ass=3D"">On 5 December 2015 at 13:08, Eric Oberlander <span dir=3D"ltr">&lt=
;<a href=3D"mailto:[email protected]" target=3D"_blank">eric.oberla=
[email protected]</a>&gt;</span> wrote:<br><blockquote class=3D"gmail_quote" s=
tyle=3D"margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);pad=
ding-left:1ex"><div dir=3D"ltr"><div><div><div><div>Olaf<br><br></div>I jus=
t tried a manual update from 2.1.9 to 2.2.0, and there&#39;s something wron=
g with Perl. Perhaps the wrong files are included in the updaate, or maybe =
some are missing?<br><br></div>Anyhoo, it hosed my system with compilation =
errors, such as the attached below, and didn&#39;t survive a reboot, as the=
 Perl based scripts failed to execute.<br><br>[Sat Dec 05 12:33:40 2015] [n=
otice] Apache/2.2.29 (Unix) mod_ssl/2.2.29 OpenSSL/1.0.1k configured -- res=
uming normal operations<br>[Sat Dec 05 12:48:52 2015] [error] [client 192.1=
68.3.24] Can&#39;t locate Config.pm in @INC (you may need to install the Co=
nfig module) (@INC contains: /usr/lib/perl5/site_perl/5.20.2/i486-linux /us=
r/lib/perl5/site_perl/5.20.2 /usr/lib/perl5/5.20.2/i486-linux /usr/lib/perl=
5/5.20.2 .) at /usr/lib/perl5/5.20.2/<a href=3D"http://deprecate.pm" target=
=3D"_blank">deprecate.pm</a> line 8., referer: <a href=3D"https://192.168.3=
.1:8443/cgi-bin/index.cgi" target=3D"_blank">https://192.168.3.1:8443/cgi-b=
in/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://19=
2.168.3.1:8443/cgi-bin/index.cgi" target=3D"_blank">https://192.168.3.1:844=
3/cgi-bin/index.cgi</a><br>[Sat Dec 05 12:48:52 2015] [error] [client 192.1=
68.3.24] BEGIN failed--compilation aborted at /usr/lib/perl5/site_perl/5.20=
.2/CGI/Carp.pm line 2., referer: <a href=3D"https://192.168.3.1:8443/cgi-bi=
n/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 /home/httpd/cgi-bin/index.cgi line 33., referer: <a hr=
ef=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] [erro=
r] [client 192.168.3.24] BEGIN failed--compilation aborted at /home/httpd/c=
gi-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.cg=
i</a><br>[Sat Dec 05 12:48:52 2015] [error] [client 192.168.3.24] Premature=
 end of script 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><font color=3D"#888888"></f=
ont></span></div></div></blockquote></span><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.<span class=3D"HOEnZb"><font color=3D"#888888"><br><br></font></spa=
n></div><span class=3D"HOEnZb"></span></div></div></div></blockquote><div><=
br></div><div>Next file missing seems to be Errno.pm. I&#39;ll keep digging=
.<br><br></div><div>Eric<br>=C2=A0<br></div></div></div></div>

--001a11470d08ba3fe90528493a2b--


--===============6993986549387404322==
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

------------------------------------------------------------------------------

--===============6993986549387404322==
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

--===============6993986549387404322==--