Discussion:
PySamba Zenpack error: ELF file OS ABI invalid (Core Zenpack 4.2.0)
Luca Maranzano
2012-09-26 14:22:00 UTC
Permalink
Luca Maranzano [http://community.zenoss.org/people/liuk] created the discussion

"PySamba Zenpack error: ELF file OS ABI invalid (Core Zenpack 4.2.0)"

To view the discussion, visit: http://community.zenoss.org/message/68750#68750

--------------------------------------------------------------
Hello all,

we are testing the upgrade process from Zenoss Core 3.2.1 stack installer to Zenoss Core 4.2.0 RPM, migrating from Ubuntu to CentOS 5.8.

The upgrade went apparently smooth, but after the installation of the package *zenoss-core-zenpacks-4.2.0.el6.x86_64.rpm*, the following error regarding the PySamba Zenpack appeared.

Removing ZenPacks.zenoss.PySamba (with all the packages which depend on it) the error disappeared.


Anyone with the same error? Any clue?

Thanks in advance!
Best regards,
Luca







[***@zenosscm ~]# /etc/init.d/zenoss start
Daemon: zeneventserver starting...
Waiting for zeneventserver to start....
Daemon: zopectl .
daemon process started, pid=16077
Daemon: zenhub starting...
Daemon: zenjobs starting...
Daemon: zeneventd starting...
Daemon: zenping starting...
Daemon: zensyslog starting...
Daemon: zenstatus starting...
Daemon: zenactiond starting...
Daemon: zentrap starting...
Daemon: zenmodeler starting...
Traceback (most recent call last):
  File "/opt/zenoss/Products/DataCollector/zenmodeler.py", line 23, in <module>
    import pysamba.twisted.reactor
  File "/opt/zenoss/ZenPacks/ZenPacks.zenoss.PySamba-1.0.0-py2.7-linux-x86_64.egg/ZenPacks/zenoss/PySamba/lib/pysamba/twisted/reactor.py", line 13, in <module>
    from ..library import *
  File "/opt/zenoss/ZenPacks/ZenPacks.zenoss.PySamba-1.0.0-py2.7-linux-x86_64.egg/ZenPacks/zenoss/PySamba/lib/pysamba/library.py", line 43, in <module>
    library = CDLL(samba_find_library('async_wmi_lib'))
  File "/opt/zenoss/lib/python2.7/ctypes/__init__.py", line 353, in __init__
    self._handle = _dlopen(self._name, mode)
OSError: /opt/zenoss/ZenPacks/ZenPacks.zenoss.PySamba-1.0.0-py2.7-linux-x86_64.egg/ZenPacks/zenoss/PySamba/lib/libasync_wmi_lib.so.0: ELF file OS ABI invalid
Daemon: zenperfsnmp starting...
Daemon: zencommand starting...
Daemon: zenprocess starting...
Daemon: zenrrdcached starting...
Daemon: zenjmx starting...
Daemon: zeneventlog starting...
Traceback (most recent call last):
  File "/opt/zenoss/ZenPacks/ZenPacks.zenoss.WindowsMonitor-1.0.2-py2.7.egg/ZenPacks/zenoss/WindowsMonitor/zeneventlog.py", line 24, in <module>
    import pysamba.twisted.reactor
  File "/opt/zenoss/ZenPacks/ZenPacks.zenoss.PySamba-1.0.0-py2.7-linux-x86_64.egg/ZenPacks/zenoss/PySamba/lib/pysamba/twisted/reactor.py", line 13, in <module>
    from ..library import *
  File "/opt/zenoss/ZenPacks/ZenPacks.zenoss.PySamba-1.0.0-py2.7-linux-x86_64.egg/ZenPacks/zenoss/PySamba/lib/pysamba/library.py", line 43, in <module>
    library = CDLL(samba_find_library('async_wmi_lib'))
  File "/opt/zenoss/lib/python2.7/ctypes/__init__.py", line 353, in __init__
    self._handle = _dlopen(self._name, mode)
OSError: /opt/zenoss/ZenPacks/ZenPacks.zenoss.PySamba-1.0.0-py2.7-linux-x86_64.egg/ZenPacks/zenoss/PySamba/lib/libasync_wmi_lib.so.0: ELF file OS ABI invalid
Daemon: zenwin starting...
Traceback (most recent call last):
  File "/opt/zenoss/ZenPacks/ZenPacks.zenoss.WindowsMonitor-1.0.2-py2.7.egg/ZenPacks/zenoss/WindowsMonitor/zenwin.py", line 25, in <module>
    import pysamba.twisted.reactor
  File "/opt/zenoss/ZenPacks/ZenPacks.zenoss.PySamba-1.0.0-py2.7-linux-x86_64.egg/ZenPacks/zenoss/PySamba/lib/pysamba/twisted/reactor.py", line 13, in <module>
    from ..library import *
  File "/opt/zenoss/ZenPacks/ZenPacks.zenoss.PySamba-1.0.0-py2.7-linux-x86_64.egg/ZenPacks/zenoss/PySamba/lib/pysamba/library.py", line 43, in <module>
    library = CDLL(samba_find_library('async_wmi_lib'))
  File "/opt/zenoss/lib/python2.7/ctypes/__init__.py", line 353, in __init__
    self._handle = _dlopen(self._name, mode)
OSError: /opt/zenoss/ZenPacks/ZenPacks.zenoss.PySamba-1.0.0-py2.7-linux-x86_64.egg/ZenPacks/zenoss/PySamba/lib/libasync_wmi_lib.so.0: ELF file OS ABI invalid
Daemon: zenwinperf starting...
Traceback (most recent call last):
  File "/opt/zenoss/ZenPacks/ZenPacks.zenoss.WindowsMonitor-1.0.2-py2.7.egg/ZenPacks/zenoss/WindowsMonitor/zenwinperf.py", line 26, in <module>
    import pysamba.twisted.reactor
  File "/opt/zenoss/ZenPacks/ZenPacks.zenoss.PySamba-1.0.0-py2.7-linux-x86_64.egg/ZenPacks/zenoss/PySamba/lib/pysamba/twisted/reactor.py", line 13, in <module>
    from ..library import *
  File "/opt/zenoss/ZenPacks/ZenPacks.zenoss.PySamba-1.0.0-py2.7-linux-x86_64.egg/ZenPacks/zenoss/PySamba/lib/pysamba/library.py", line 43, in <module>
    library = CDLL(samba_find_library('async_wmi_lib'))
  File "/opt/zenoss/lib/python2.7/ctypes/__init__.py", line 353, in __init__
    self._handle = _dlopen(self._name, mode)
OSError: /opt/zenoss/ZenPacks/ZenPacks.zenoss.PySamba-1.0.0-py2.7-linux-x86_64.egg/ZenPacks/zenoss/PySamba/lib/libasync_wmi_lib.so.0: ELF file OS ABI invalid
--------------------------------------------------------------

Reply to this message by replying to this email -or- go to the discussion on Zenoss Community
[http://community.zenoss.org/message/68750#68750]

Start a new discussion in zenoss-users by email
[discussions-community-forums-zenoss--***@community.zenoss.org] -or- at Zenoss Community
[http://community.zenoss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2003]
N Eone
2012-10-30 14:42:15 UTC
Permalink
N Eone [http://community.zenoss.org/people/josephsmith] created the discussion

"Re: PySamba Zenpack error: ELF file OS ABI invalid (Core Zenpack 4.2.0)"

To view the discussion, visit: http://community.zenoss.org/message/69628#69628

--------------------------------------------------------------
I too am also experiencing this error word for word. In our situation it is a fresh build not an upgrade.
Zenoss Core 4.2.0 on Red Hat Enterprise Linux 5 (64-bit). After a couple uninstalls I realized I had copied the wrong url and had wget the wrong rpm package. I had downloaded the zenoss-core-zenpacks-4.2.0.el*6*.x86_64.rpm instead of the *zenoss-core-zenpacks-4.2.0.el5.x86_64.rpm.*

In your opening sentence you mention CentOS 5.8. which would require the el5 file.

FYI, I had to go in twice to remove the zenpacks. The first time I checked all of them and hit delete. 4 of the zenpacks did not uninstall with the rest. I went back in and checked/deleted the remaining 4 and they were successfully deleted. I was then able to install the correct RPM with no issues.
--------------------------------------------------------------

Reply to this message by replying to this email -or- go to the discussion on Zenoss Community
[http://community.zenoss.org/message/69628#69628]

Start a new discussion in zenoss-users by email
[discussions-community-forums-zenoss--***@community.zenoss.org] -or- at Zenoss Community
[http://community.zenoss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2003]
Loading...