Bug 722392

Summary: Errno architecture does not match executable architecture at /usr/lib64/perl5/Errno.pm line 11.
Product: [Fedora] Fedora Reporter: Fujisan <fujisan43>
Component: perlAssignee: Petr Pisar <ppisar>
Status: CLOSED NOTABUG QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 15CC: cweyl, iarnell, kasal, lkundrak, mmaslano, ppisar, psabata, rc040203, tcallawa
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2011-07-15 13:23:35 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:

Description Fujisan 2011-07-15 07:25:24 UTC
Description of problem:

In webmin, in module LDAP Users and groups, i get this error message related to perl and perl-LDAP:
----------------------------------------
	LDAP Users and Groups 	

The Net%3A%3ALDAP Perl module that this module requires is not installed or is not working properly. Click here to have it downloaded and installed now.

The error reported by Perl when trying to load the module was :

Errno architecture (x86_64-linux-thread-multi-2.6.32-131.2.1.el6.x86_64) does not match executable architecture (x86_64-linux-thread-multi-2.6.32-71.14.1.el6.x86_64) at /usr/lib64/perl5/Errno.pm line 11.
Compilation failed in require at /usr/lib64/perl5/IO/Socket.pm line 17.
BEGIN failed--compilation aborted at /usr/lib64/perl5/IO/Socket.pm line 17.
Compilation failed in require at /usr/share/perl5/vendor_perl/Net/LDAP.pm line 8.
BEGIN failed--compilation aborted at /usr/share/perl5/vendor_perl/Net/LDAP.pm line 8.
Compilation failed in require at (eval 130) line 2.
BEGIN failed--compilation aborted at (eval 130) line 2.
----------------------------------------

Version-Release number of selected component (if applicable):
perl-5.12.4-159.fc15.x86_64

How reproducible:
all the time.

Steps to Reproduce:
1. install webmin-1.550-1.noarch and perl-5.12.4-159.fc15.x86_64 and LDAP webmin modules.
2. then go to module 'LDAP Users and groups' or module 'LDAP server / Browse database'
3.
  
Actual results:
See above.

Expected results:
No error!

Additional info:
I did not have this error before. Perl has been updated 2 days ago, july 13.
Cannot undo update, too many errors.

Comment 1 Petr Pisar 2011-07-15 11:52:28 UTC
What output does give command:

$ perl -MConfig -le 'print $Config{osvers}'

on your system?

I suspect the Config Perl module is bundled somewhere.

It should give "2.6.32-131.2.1.el6.x86_64", but I guess you get "2.6.32-71.14.1.el6.x86_64".

Comment 2 Petr Pisar 2011-07-15 11:57:46 UTC
By the way, I cannot find webmin in official Fedora repositories. What's corresponding package name? Where do you have it from?

Comment 3 Fujisan 2011-07-15 13:05:30 UTC
Here it is:

$ perl -MConfig -le 'print $Config{osvers}'
2.6.32-131.2.1.el6.x86_64

odd, is it?


I got webmin from webmin.com.

create a repo file like this:

[Webmin]
name=Webmin Distribution Neutral
#baseurl=http://download.webmin.com/download/yum
mirrorlist=http://download.webmin.com/download/yum/mirrorlist
enabled=1

and install webmin:

# yum install webmin

Comment 4 Iain Arnell 2011-07-15 13:14:45 UTC
I think it's just that webmin needs to be restarted after the perl upgrade. It looks like webmin is still running under the old perl binary.

Comment 5 Fujisan 2011-07-15 13:23:35 UTC
Damn it! You're right.
Sorry for the panic.

Comment 6 Fujisan 2011-07-15 13:24:16 UTC
and thanks!