[Pkg-samba-maint] Bug#783581: samba-tool ImportError libnetif.so.0 invalid ELF header

Risto Paavola risto.paavola at gmail.com
Tue Apr 28 06:21:38 UTC 2015


The problem seems to be bigger. A lot of samba tools, including samba
itself are not working:
# samba_dnsupdate
Traceback (most recent call last):
  File "/usr/sbin/samba_dnsupdate", line 41, in <module>
    import samba
  File "/usr/lib/python2.7/dist-packages/samba/__init__.py", line 50, in
<module>
    from samba._ldb import Ldb as _Ldb
ImportError: /usr/lib/x86_64-linux-gnu/samba/libnetif.so.0: invalid ELF
header

# samba_upgradedns
Traceback (most recent call last):
  File "/usr/sbin/samba_upgradedns", line 32, in <module>
    import samba
  File "/usr/lib/python2.7/dist-packages/samba/__init__.py", line 50, in
<module>
    from samba._ldb import Ldb as _Ldb
ImportError: /usr/lib/x86_64-linux-gnu/samba/libnetif.so.0: invalid ELF
header

# samba
samba: error while loading shared libraries:
/usr/lib/x86_64-linux-gnu/samba/libnetif.so.0: invalid ELF header

BR,
-Risto


2015-04-28 8:44 GMT+03:00 Risto Paavola <risto.paavola at gmail.com>:

> Package: samba
> Version: 2:4.1.17+dfsg-2
> Severity: important
>
> Dear Maintainer,
>
> I've installed samba package with aptitude. I'm trying to execute any
> samba-tool command (i.e. samba-tool domain provision --realm=[long_dom]
> --domain=[short_dom] --adminpass='[pass]' --server-role=dc --use-rfc2307)
> and it gives me an error:
> Traceback (most recent call last):
>   File "/usr/bin/samba-tool", line 33, in <module>
>     from samba.netcmd.main import cmd_sambatool
>   File "/usr/lib/python2.7/dist-packages/samba/__init__.py", line 50, in
> <module>
>     from samba._ldb import Ldb as _Ldb
> ImportError: /usr/lib/x86_64-linux-gnu/samba/libnetif.so.0: invalid ELF
> header
>
> The same goes to all sambta-tool parameteres, so samba-tool is unusable.
>
> BR,
> -Risto Paavola
>
> -- System Information:
> Debian Release: 8.0
>   APT prefers stable-updates
>   APT policy: (500, 'stable-updates'), (500, 'stable')
> Architecture: amd64 (x86_64)
>
> Kernel: Linux 3.16.0-4-amd64 (SMP w/1 CPU core)
> Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
> Shell: /bin/sh linked to /bin/dash
> Init: systemd (via /run/systemd/system)
>
> Versions of packages samba depends on:
> ii  adduser                              3.113+nmu3
> ii  dpkg                                 1.17.25
> ii  libasn1-8-heimdal                    1.6~rc2+dfsg-9
> ii  libbsd0                              0.7.0-2
> ii  libc6                                2.19-18
> ii  libcomerr2                           1.42.12-1.1
> ii  libhdb9-heimdal [heimdal-hdb-api-8]  1.6~rc2+dfsg-9
> ii  libkdc2-heimdal                      1.6~rc2+dfsg-9
> ii  libkrb5-26-heimdal                   1.6~rc2+dfsg-9
> ii  libldb1                              2:1.1.17-2
> ii  libpam-modules                       1.1.8-3.1
> ii  libpam-runtime                       1.1.8-3.1
> ii  libpopt0                             1.16-10
> ii  libpython2.7                         2.7.9-2
> ii  libroken18-heimdal                   1.6~rc2+dfsg-9
> ii  libtalloc2                           2.1.1-2
> ii  libtdb1                              1.3.1-1
> ii  libtevent0                           0.9.21-1
> ii  lsb-base                             4.1+Debian13+nmu1
> ii  multiarch-support                    2.19-18
> ii  procps                               2:3.3.9-9
> ii  python                               2.7.9-1
> ii  python-dnspython                     1.12.0-1
> ii  python-ntdb                          1.0-5
> ii  python-samba                         2:4.1.17+dfsg-2
> pn  python2.7:any                        <none>
> ii  samba-common                         2:4.1.17+dfsg-2
> ii  samba-common-bin                     2:4.1.17+dfsg-2
> ii  samba-dsdb-modules                   2:4.1.17+dfsg-2
> ii  samba-libs                           2:4.1.17+dfsg-2
> ii  tdb-tools                            1.3.1-1
> ii  update-inetd                         4.43
>
> Versions of packages samba recommends:
> ii  attr               1:2.4.47-2
> ii  logrotate          3.8.7-1+b1
> ii  samba-vfs-modules  2:4.1.17+dfsg-2
>
> Versions of packages samba suggests:
> pn  bind9          <none>
> pn  bind9utils     <none>
> pn  ctdb           <none>
> ii  ldb-tools      2:1.1.17-2
> ii  ntp            1:4.2.6.p5+dfsg-7
> ii  smbldap-tools  0.9.9-1
> ii  winbind        2:4.1.17+dfsg-2
>
> -- no debconf information
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.alioth.debian.org/pipermail/pkg-samba-maint/attachments/20150428/44023e5c/attachment.html>


More information about the Pkg-samba-maint mailing list