Now I have to ask shorewall developer this question....
I did the following:
mv /usr/lib/perl5/site_perl/5.8.8/Errno.pm
/usr/lib/perl5/site_perl/5.8.8/Errno.pm.OLD
And now shorewall runs without any errors. So my question is, why are we using
Errno.pm and what is the purpose? Also, why does shorewall work when I rename
"Errno.pm" to "Errno.pm.OLD"?
Thanks.
> Date: Thu, 20 Nov 2008 12:56:24 -0800
> From: [EMAIL PROTECTED]
> To: [email protected]
> Subject: Re: [Shorewall-users] Shorewall fails after CentOS update
>
> J and T wrote:
> > I updated CentOS (2.6.18-53.1.19.el5) to CentOS (2.6.18-92.1.18.el5)
> > along with a bunch of other updates.
> >
> > Shorewall used:
> >
> > shorewall-4.0.1-2.noarch.rpm
> > shorewall-perl-4.0.1-2.noarch.rpm
> >
> > After updating CentOS and starting Shorewall, this is the error returned:
> >
> > Starting shorewall: Errno architecture
> > (i386-linux-thread-multi-2.6.9-42.0.3.elsmp) does not match executable
> > architecture (i386-linux-thread-multi-2.6.18-53.1.14.el5pae) at
> > /usr/lib/perl5/site_perl/5.8.8/Errno.pm line 11.
> > Compilation failed in require at /usr/lib/perl5/5.8.8/File/Temp.pm line 138.
> > BEGIN failed--compilation aborted at /usr/lib/perl5/5.8.8/File/Temp.pm
> > line 138.
> > Compilation failed in require at
> > /usr/share/shorewall-perl/Shorewall/Config.pm line 36.
> > BEGIN failed--compilation aborted at
> > /usr/share/shorewall-perl/Shorewall/Config.pm line 36.
> > Compilation failed in require at
> > /usr/share/shorewall-perl/Shorewall/Compiler.pm line 27.
> > BEGIN failed--compilation aborted at
> > /usr/share/shorewall-perl/Shorewall/Compiler.pm line 27.
> > Compilation failed in require at /usr/share/shorewall-perl/compiler.pl
> > line 38.
> > BEGIN failed--compilation aborted at
> > /usr/share/shorewall-perl/compiler.pl line 38.
> > [FAILED]
> >
> > I then updated shorewall:
> >
> > shorewall-4.2.1-2.noarch.rpm
> > shorewall-shell-4.2.1-2.noarch.rpm
> >
> > And after tried to run shorewall with same results:
> >
> > Restarting shorewall: Errno architecture
> > (i386-linux-thread-multi-2.6.9-42.0.3.elsmp) does not match executable
> > architecture (i386-linux-thread-multi-2.6.18-53.1.14.el5pae) at
> > /usr/lib/perl5/site_perl/5.8.8/Errno.pm line 11.
> > Compilation failed in require at /usr/lib/perl5/5.8.8/File/Temp.pm line 138.
> > BEGIN failed--compilation aborted at /usr/lib/perl5/5.8.8/File/Temp.pm
> > line 138.
> > Compilation failed in require at
> > /usr/share/shorewall-perl/Shorewall/Config.pm line 36.
> > BEGIN failed--compilation aborted at
> > /usr/share/shorewall-perl/Shorewall/Config.pm line 36.
> > Compilation failed in require at
> > /usr/share/shorewall-perl/Shorewall/Compiler.pm line 27.
> > BEGIN failed--compilation aborted at
> > /usr/share/shorewall-perl/Shorewall/Compiler.pm line 27.
> > Compilation failed in require at /usr/share/shorewall-perl/compiler.pl
> > line 42.
> > BEGIN failed--compilation aborted at
> > /usr/share/shorewall-perl/compiler.pl line 42.
> > [FAILED]
> >
> >
> > Any idea what went wrong? Obviously it's something to do with this:
> >
> > i386-linux-thread-multi-2.6.9-42.0.3.elsmp
> >
> > and:
> >
> > i386-linux-thread-multi-2.6.18-53.1.14.el5pae
> >
> > But I have no idea what to do. I didn't do anything other than allow
> > CentOS to update.
>
> Did you reboot after the upgrade? Looks like you have a mixture of PAE
> and SMP kernel components.
>
>
> -------------------------------------------------------------------------
> This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
> Build the coolest Linux based applications with Moblin SDK & win great prizes
> Grand prize is a trip for two to an Open Source event anywhere in the world
> http://moblin-contest.org/redirect.php?banner_id=100&url=/
> _______________________________________________
> Shorewall-users mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/shorewall-users
_________________________________________________________________
Get more done, have more fun, and stay more connected with Windows Mobile®.
http://clk.atdmt.com/MRT/go/119642556/direct/01/
-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
Shorewall-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/shorewall-users