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. _________________________________________________________________ Access your email online and on the go with Windows Live Hotmail. http://windowslive.com/Explore/Hotmail?ocid=TXT_TAGLM_WL_hotmail_acq_access_112008 ------------------------------------------------------------------------- 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=/
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=/
Yes I did do a reboot. Linux xxxx 2.6.18-92.1.18.el5 #1 SMP Wed Nov 12 09:30:27 EST 2008 i686 i686 i386 GNU/Linux Why when starting shorewall it complains and says I''m using "i386-linux-thread-multi-2.6.18-53.1.14.el5pae" I do not know. Uname clearly shows I''m running "2.6.18-92.1.18.el5". This is one of the reasons I am very reluctant to do any kind of update. Something always breaks and this is one of those things...> Date: Thu, 20 Nov 2008 12:56:24 -0800 > From: shorewalljunky@comcast.net > To: shorewall-users@lists.sourceforge.net > 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 > Shorewall-users@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/shorewall-users_________________________________________________________________ Access your email online and on the go with Windows Live Hotmail. http://windowslive.com/Explore/Hotmail?ocid=TXT_TAGLM_WL_hotmail_acq_access_112008 ------------------------------------------------------------------------- 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=/
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: shorewalljunky@comcast.net > To: shorewall-users@lists.sourceforge.net > 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 > Shorewall-users@lists.sourceforge.net > 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=/
J and T wrote:> Yes I did do a reboot. > > Linux xxxx 2.6.18-92.1.18.el5 #1 SMP Wed Nov 12 09:30:27 EST 2008 i686 > i686 i386 GNU/Linux > > Why when starting shorewall it complains and says I''m using > "i386-linux-thread-multi-2.6.18-53.1.14.el5pae" I do not know.I don''t either. But I suspect that starting any large Perl application will generate a similar error. ------------------------------------------------------------------------- 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=/
> > 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"?I don''t know why you see that kind of problem but what''s that file /usr/lib/perl5/site_perl/5.8.8/Errno.pm in your installation and where does it come from? The perl rpm from your distribution has the file /usr/lib/perl5/5.8.8/i386-linux-thread-multi/Errno.pm but not the one you mention. So there seems to be some kind of mess with your perl installation? Simon> > Thanks. > >> Date: Thu, 20 Nov 2008 12:56:24 -0800 >> From: shorewalljunky@comcast.net >> To: shorewall-users@lists.sourceforge.net >> 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 >> Shorewall-users@lists.sourceforge.net >> 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 > Shorewall-users@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/shorewall-users >------------------------------------------------------------------------- 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=/
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.It looks like strictly a Perl issue. In one of my systems, I find this at the top of /usr/lib/perl5/5.10.0/x86_64-linux-thread-multi/Errno.pm: "$Config{''archname''}-$Config{''osvers''}" eq "x86_64-linux-thread-multi-2.6.25" or die "Errno architecture ..." Looks like you have mismatched Perl kit. ------------------------------------------------------------------------- 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=/
J and T wrote:> 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"?The correct version of Errno.pm is clearly being found somewhere else in that case; probably in /usr/lib/perl5/5.8.8/<your architecture>/Errno.pm. Looks like something installed it''s own version of Errno.pm in site_perl. And it was not Shorewall -- Shorewall doesn''t add anything to /usr/lib/perl5/. ------------------------------------------------------------------------- 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=/
I have three linux boxes (all identical) and ONLY this one did I do an update on today and ONLY this one "now" has /usr/lib/perl5/site_perl/5.8.8/Errno.pm where none of the other two boxes do. I''m wondering if this update for some reason now includes the "/usr/lib/perl5/site_perl/5.8.8/Errno.pm" file. That''s the only thing I can think of. Any why this would cause an error doesn''t make sense either... In all three boxes we''ve installed the updated version of Perl (5.10.0) and any new perl module installs that were NOT part of the original OS is done there. Basically what I''m saying is that we have made no modifications to the original perl that was installed by the original installation. In fact, as of this morning Shorewall worked just fine when booted up. It stopped working after using CentOS updater. That means others may find they have a similar problem. Users that do not watch their bootup scripts may never know shorewall is not working. Anyway, Shorewall is working now that I have renamed "/usr/lib/perl5/site_perl/5.8.8/Errno.pm" to "/usr/lib/perl5/site_perl/5.8.8/Errno.pm.OLD". Hopefully nothing else is affected by this and I''ve made note of this change for future reference (when something else doesn''t work). Obviously the CentOS felt this file was needed so I can only wait and see what breaks. Thanks for the help.> Date: Thu, 20 Nov 2008 22:56:03 +0100 > From: simon.matter@invoca.ch > To: shorewall-users@lists.sourceforge.net > Subject: Re: [Shorewall-users] Shorewall fails after CentOS update > > > > > 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"? > > I don''t know why you see that kind of problem but what''s that file > /usr/lib/perl5/site_perl/5.8.8/Errno.pm in your installation and where > does it come from? The perl rpm from your distribution has the file > /usr/lib/perl5/5.8.8/i386-linux-thread-multi/Errno.pm but not the one you > mention. So there seems to be some kind of mess with your perl > installation? > > Simon > > > > > Thanks. > > > >> Date: Thu, 20 Nov 2008 12:56:24 -0800 > >> From: shorewalljunky@comcast.net > >> To: shorewall-users@lists.sourceforge.net > >> 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 > >> Shorewall-users@lists.sourceforge.net > >> 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 > > Shorewall-users@lists.sourceforge.net > > https://lists.sourceforge.net/lists/listinfo/shorewall-users > > > > > > ------------------------------------------------------------------------- > 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 > Shorewall-users@lists.sourceforge.net > 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=/
J and T wrote:> Anyway, Shorewall is working now that I have renamed > "/usr/lib/perl5/site_perl/5.8.8/Errno.pm" to > "/usr/lib/perl5/site_perl/5.8.8/Errno.pm.OLD". Hopefully nothing else is > affected by this and I''ve made note of this change for future reference > (when something else doesn''t work). Obviously the CentOS felt this file > was needed so I can only wait and see what breaks.Why don''t you ''rpm -qf /usr/lib/perl5/site_perl/5.8.8/Errno.pm'' and see what package the file was installed with? ------------------------------------------------------------------------- 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 Geek schrieb:> J and T wrote: > >> Anyway, Shorewall is working now that I have renamed >> "/usr/lib/perl5/site_perl/5.8.8/Errno.pm" to >> "/usr/lib/perl5/site_perl/5.8.8/Errno.pm.OLD". Hopefully nothing else is >> affected by this and I''ve made note of this change for future reference >> (when something else doesn''t work). Obviously the CentOS felt this file >> was needed so I can only wait and see what breaks. > > Why don''t you ''rpm -qf /usr/lib/perl5/site_perl/5.8.8/Errno.pm'' and see > what package the file was installed with?That''s what I thougt too. I do have a couple oh Red Hat 5.2 and CentOS 5.2 anb both types show the following output: locate Errno.pm -> /usr/lib/perl5/5.8.8/i386-linux-thread-multi/Errno.pm rpm -q --whatprovides /usr/lib/perl5/5.8.8/i386-linux-thread-multi/Errno.pm -> perl-5.8.8-15.el5_2.1 My two cents. /Götz -- Götz Reinicke IT-Koordinator Tel. +49 7141 969 420 Fax +49 7141 969 55 420 E-Mail goetz.reinicke@filmakademie.de Filmakademie Baden-Württemberg GmbH Mathildenstr. 20 71638 Ludwigsburg www.filmakademie.de Eintragung Amtsgericht Stuttgart HRB 205016 Vorsitzende des Aufsichtsrats: Prof. Dr. Claudia Hübner Staatsrätin für Demographischen Wandel und für Senioren im Staatsministerium Geschäftsführer: Prof. Thomas Schadt ------------------------------------------------------------------------- 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=/
That was one of my first thoughts as well so I did that before contacting shorewall users: rpm -qf /usr/lib/perl5/site_perl/5.8.8/Errno.pm file /usr/lib/perl5/site_perl/5.8.8/Errno.pm is not owned by any package This of course didn''t give me any information on how it got here. All I know is that it wasn''t there before the CentOS update yesterday and it is not on any of the other CentOS boxes I have in this office. We may never know how or when, but if someone else has a similar program/error when starting shorewall, you''ll at least have somewhere to start. Thanks!> Date: Thu, 20 Nov 2008 14:56:40 -0800 > From: shorewalljunky@comcast.net > To: shorewall-users@lists.sourceforge.net > Subject: Re: [Shorewall-users] Shorewall fails after CentOS update > > J and T wrote: > > > Anyway, Shorewall is working now that I have renamed > > "/usr/lib/perl5/site_perl/5.8.8/Errno.pm" to > > "/usr/lib/perl5/site_perl/5.8.8/Errno.pm.OLD". Hopefully nothing else is > > affected by this and I''ve made note of this change for future reference > > (when something else doesn''t work). Obviously the CentOS felt this file > > was needed so I can only wait and see what breaks. > > Why don''t you ''rpm -qf /usr/lib/perl5/site_perl/5.8.8/Errno.pm'' and see > what package the file was installed with? > > ------------------------------------------------------------------------- > 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 > Shorewall-users@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/shorewall-users_________________________________________________________________ Windows Live Hotmail now works up to 70% faster. http://windowslive.com/Explore/Hotmail?ocid=TXT_TAGLM_WL_hotmail_acq_faster_112008 ------------------------------------------------------------------------- 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=/
J and T wrote:> That was one of my first thoughts as well so I did that before > contacting shorewall users: > > rpm -qf /usr/lib/perl5/site_perl/5.8.8/Errno.pm > > file /usr/lib/perl5/site_perl/5.8.8/Errno.pm is not owned by any package > > This of course didn''t give me any information on how it got here. All I > know is that it wasn''t there before the CentOS update yesterdayDo you actually know that for certain? Or is what you know is rather that the Shorewall-perl compiler didn''t try to load that module until after the upgrade? I ask because it could also be that the default @INC array (which specifies the directories to search when loading Perl Modules) was ''upgraded'' to include /usr/lib/perl5/site_perl/5.8.8 where it did not previously. The result is the same and it really doesn''t matter a whole lot. Unfortunately, an earlier ''upgrade'' rendered my CentOS system unbootable so I can''t attempt to perform a similar upgrade until I find the time to work through that problem. ------------------------------------------------------------------------- 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=/
On Fri, 2008-11-21 at 08:42 -0700, J and T wrote:> That was one of my first thoughts as well so I did that before > contacting shorewall users: > > rpm -qf /usr/lib/perl5/site_perl/5.8.8/Errno.pm > > file /usr/lib/perl5/site_perl/5.8.8/Errno.pm is not owned by any > package > > This of course didn''t give me any information on how it got here. All > I know is that it wasn''t there before the CentOS update yesterday and > it is not on any of the other CentOS boxes I have in this office. We > may never know how or when, but if someone else has a similar > program/error when starting shorewall, you''ll at least have somewhere > to start. >So if I followed the thread correctly, you are ''hand-building'' perl 5.10.0 on these boxes, but leaving the 5.8.8 that CentOS ships with on there as well? My guess is that by removing that particular Errno.pm, the proper one from whichever perl you wind up running shorewall under gets used, and you don''t have build/arch differences between those files.> Thanks! > > > Date: Thu, 20 Nov 2008 14:56:40 -0800 > > From: shorewalljunky@comcast.net > > To: shorewall-users@lists.sourceforge.net > > Subject: Re: [Shorewall-users] Shorewall fails after CentOS update > > > > J and T wrote: > > > > > Anyway, Shorewall is working now that I have renamed > > > "/usr/lib/perl5/site_perl/5.8.8/Errno.pm" to > > > "/usr/lib/perl5/site_perl/5.8.8/Errno.pm.OLD". Hopefully nothing > else is > > > affected by this and I''ve made note of this change for future > reference > > > (when something else doesn''t work). Obviously the CentOS felt this > file > > > was needed so I can only wait and see what breaks. > > > > Why don''t you ''rpm -qf /usr/lib/perl5/site_perl/5.8.8/Errno.pm'' and > see > > what package the file was installed with? > > > > > ------------------------------------------------------------------------- > > 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 > > Shorewall-users@lists.sourceforge.net > > https://lists.sourceforge.net/lists/listinfo/shorewall-users > > > ______________________________________________________________________ > Windows Live Hotmail now works up to 70% faster. Sign up today. > ------------------------------------------------------------------------- > 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 Shorewall-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/shorewall-users------------------------------------------------------------------------- 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 Geek wrote:> > Do you actually know that for certain? Or is what you know is rather > that the Shorewall-perl compiler didn''t try to load that module until > after the upgrade? I ask because it could also be that the default @INC > array (which specifies the directories to search when loading Perl > Modules) was ''upgraded'' to include /usr/lib/perl5/site_perl/5.8.8 where > it did not previously. The result is the same and it really doesn''t > matter a whole lot.Please pardon me for following up my own post but after I sent this I realized that another possibility is that this library has been used up until the upgrade and that it matches the build/arch of the Perl 5.8.8 that was previously installed.> > Unfortunately, an earlier ''upgrade'' rendered my CentOS system unbootable > so I can''t attempt to perform a similar upgrade until I find the time to > work through that problem.Apparently the problem I had with CentOS was due to a KVM issue and not with CentOS itself. I''m able to boot up both of my CentOS images but neither of them had anything in site_perl/5.8.8, either before or after I applied all available updates. ------------------------------------------------------------------------- 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=/
On Fri, 2008-11-21 at 08:42 -0700, J and T wrote:> That was one of my first thoughts as well so I did that before > contacting shorewall users: > > rpm -qf /usr/lib/perl5/site_perl/5.8.8/Errno.pm > file /usr/lib/perl5/site_perl/5.8.8/Errno.pm is not owned by any > package > > This of course didn''t give me any information on how it got here.Cpan? You might even still be able to trace it down in /root/.cpan/.> All I know is that it wasn''t there before the CentOS update yesterdayHow do you tell that? (We''re talking Errno.pm here, not the shorewall start breakage, right?) -- [ESR] Eric S. Raymond: "How To Ask Questions The Smart Way" http://www.catb.org/~esr/faqs/smart-questions.html [SGT] Simon G. Tatham: "How to Report Bugs Effectively" http://www.chiark.greenend.org.uk/~sgtatham/bugs.html ------------------------------------------------------------------------- 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=/