Re: Perl on 2.2.0 update

Eric Oberlander <[email protected]> Fri, 1 Jan 2016 18:20:28 +0000
Newsgroups gmane.comp.security.ipcop.devel
Message-ID <CAPkz44G4p37F+VjhvFmr5B-3aW=_bjg+gDJMO0bHvx-_kc0z5w@mail.gmail.com>
--===============9016524292585693173==
Content-Type: multipart/alternative; boundary=001a11402d52724762052849d369

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

An update. Progress of sorts. I add the Errno.pm file into the update, and
now get these errors

failed to load platform specific resolver component at
/usr/lib/perl5/site_perl/5.20.2/i486-linux/Net/DNS/Resolver.pm line
25.
BEGIN failed--compilation aborted at
/usr/lib/perl5/site_perl/5.20.2/i486-linux/Net/DNS/Resolver.pm line
26.
Compilation failed in require at
/usr/lib/perl5/site_perl/5.20.2/i486-linux/Net/DNS.pm line 68.
BEGIN failed--compilation aborted at
/usr/lib/perl5/site_perl/5.20.2/i486-linux/Net/DNS.pm line 68.
Compilation failed in require at /usr/lib/ipcop/general-functions.pl line 36.
BEGIN failed--compilation aborted at
/usr/lib/ipcop/general-functions.pl line 36.

...a problem to solve tomorrow :)


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

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

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

<div dir=3D"ltr">An update. Progress of sorts. I add the Errno.pm file into=
 the update, and now get these errors<br><pre>failed to load platform speci=
fic resolver component at /usr/lib/perl5/site_perl/5.20.2/i486-linux/Net/DN=
S/Resolver.pm line 25.
BEGIN failed--compilation aborted at /usr/lib/perl5/site_perl/5.20.2/i486-l=
inux/Net/DNS/Resolver.pm line 26.
Compilation failed in require at /usr/lib/perl5/site_perl/5.20.2/i486-linux=
/Net/DNS.pm line 68.
BEGIN failed--compilation aborted at /usr/lib/perl5/site_perl/5.20.2/i486-l=
inux/Net/DNS.pm line 68.
Compilation failed in require at /usr/lib/ipcop/<a href=3D"http://general-f=
unctions.pl">general-functions.pl</a> line 36.
BEGIN failed--compilation aborted at /usr/lib/ipcop/<a href=3D"http://gener=
al-functions.pl">general-functions.pl</a> line 36.
</pre>

...a problem to solve tomorrow :)<br><br></div><div class=3D"gmail_extra"><=
br><div class=3D"gmail_quote">On 1 January 2016 at 17:37, Eric Oberlander <=
span dir=3D"ltr">&lt;<a href=3D"mailto:[email protected]" target=3D=
"_blank">[email protected]</a>&gt;</span> wrote:<br><blockquote cla=
ss=3D"gmail_quote" style=3D"margin:0 0 0 .8ex;border-left:1px #ccc solid;pa=
dding-left:1ex"><div dir=3D"ltr"><br><div class=3D"gmail_extra"><br><div cl=
ass=3D"gmail_quote"><div><div class=3D"h5">On 1 January 2016 at 16:09, Eric=
 Oberlander <span dir=3D"ltr">&lt;<a href=3D"mailto:[email protected]=
om" target=3D"_blank">[email protected]</a>&gt;</span> wrote:<br><b=
lockquote 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"><b=
r><div class=3D"gmail_quote"><span>On 5 December 2015 at 13:08, Eric Oberla=
nder <span dir=3D"ltr">&lt;<a href=3D"mailto:[email protected]" tar=
get=3D"_blank">[email protected]</a>&gt;</span> wrote:<br><blockquo=
te class=3D"gmail_quote" style=3D"margin:0px 0px 0px 0.8ex;border-left:1px =
solid rgb(204,204,204);padding-left:1ex"><div dir=3D"ltr"><div><div><div><d=
iv>Olaf<br><br></div>I just tried a manual update from 2.1.9 to 2.2.0, and =
there&#39;s something wrong with Perl. Perhaps the wrong files are included=
 in the updaate, or maybe some are missing?<br><br></div>Anyhoo, it hosed m=
y 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>[Sa=
t Dec 05 12:33:40 2015] [notice] Apache/2.2.29 (Unix) mod_ssl/2.2.29 OpenSS=
L/1.0.1k configured -- resuming normal operations<br>[Sat Dec 05 12:48:52 2=
015] [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/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/<a href=3D"h=
ttp://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">http=
s://192.168.3.1:8443/cgi-bin/index.cgi</a><br>[Sat Dec 05 12:48:52 2015] [e=
rror] [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., refe=
rer: <a href=3D"https://192.168.3.1:8443/cgi-bin/index.cgi" target=3D"_blan=
k">https://192.168.3.1:8443/cgi-bin/index.cgi</a><br>[Sat Dec 05 12:48:52 2=
015] [error] [client 192.168.3.24] BEGIN failed--compilation aborted at /us=
r/lib/perl5/site_perl/5.20.2/CGI/Carp.pm 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 Dec 05 12:48:52 2015] [error] [client =
192.168.3.24] Compilation failed in require at /home/httpd/cgi-bin/index.cg=
i 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 D=
ec 05 12:48:52 2015] [error] [client 192.168.3.24] BEGIN failed--compilatio=
n aborted at /home/httpd/cgi-bin/index.cgi line 33., referer: <a href=3D"ht=
tps://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] [clie=
nt 192.168.3.24] Premature end of script headers: index.cgi, 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><br></div>Just a heads up<span><=
font color=3D"#888888"></font></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><font color=3D"#888888"><br><br></font></span></div><span></s=
pan></div></div></div></blockquote><div><br></div></div></div><div>Next fil=
e missing seems to be Errno.pm. I&#39;ll keep digging.<span class=3D"HOEnZb=
"><font color=3D"#888888"><br><br></font></span></div><span class=3D"HOEnZb=
"><font color=3D"#888888"><div>Eric<br>=C2=A0<br></div></font></span></div>=
</div></div>
</blockquote></div><br></div>

--001a11402d52724762052849d369--


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

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

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

--===============9016524292585693173==--