[Bug 1315840] Re: Samba 4.1.6 fails to invotke rc.d samba-ad-dc action start

Xarkam 1315840 at bugs.launchpad.net
Sun May 4 12:00:36 UTC 2014


I found the culprit.
A test return of @armagedon:/etc/init.d# samba-tool testparm --parameter-name="server role" give
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/netcmd/main.py", line 23, in <module>
    from samba.netcmd.dbcheck import cmd_dbcheck
  File "/usr/lib/python2.7/dist-packages/samba/netcmd/dbcheck.py", line 21, in <module>
    from samba.auth import system_session
ImportError: libwinbind-client.so.0: cannot open shared object file: No such file or directory

After a apt-get install --reinstall libwbclient0 samba as ending
install.

-- 
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to samba in Ubuntu.
https://bugs.launchpad.net/bugs/1315840

Title:
  Samba 4.1.6 fails to invotke rc.d samba-ad-dc action start

Status in “samba” package in Ubuntu:
  New

Bug description:
  I did an upgrade from 12.04.1 to 14.04 and I deleted all traces of
  samba 3.x before a new installation

  I need to install samba, but I have this error:

  @armagedon:/var/cache/apt/archives# apt-get install samba
  Reading package lists... Done
  Building dependency tree
  Reading state information... Done
  The following extra packages will be installed:
    libkdc2-heimdal libntdb1 python-dnspython python-ntdb python-samba samba-common samba-common-bin samba-dsdb-modules samba-libs samba-vfs-modules
  Suggested packages:
    bind9 smbldap-tools winbind heimdal-clients
  The following NEW packages will be installed:
    libkdc2-heimdal libntdb1 python-dnspython python-ntdb python-samba samba samba-common samba-common-bin samba-dsdb-modules samba-libs samba-vfs-modules
  0 upgraded, 11 newly installed, 0 to remove and 0 not upgraded.
  Need to get 7,080 kB of archives.
  After this operation, 41.7 MB of additional disk space will be used.
  Do you want to continue? [Y/n]
  Get:1 http://be.archive.ubuntu.com/ubuntu/ trusty/main libntdb1 amd64 1.0-2ubuntu1 [38.7 kB]
  Get:2 http://be.archive.ubuntu.com/ubuntu/ trusty/main python-dnspython all 1.11.1-1build1 [83.1 kB]
  Get:3 http://be.archive.ubuntu.com/ubuntu/ trusty/main python-ntdb amd64 1.0-2ubuntu1 [8,844 B]
  Get:4 http://be.archive.ubuntu.com/ubuntu/ trusty/main samba-libs amd64 2:4.1.6+dfsg-1ubuntu2 [4,101 kB]
  Get:5 http://be.archive.ubuntu.com/ubuntu/ trusty/main python-samba amd64 2:4.1.6+dfsg-1ubuntu2 [880 kB]
  Get:6 http://be.archive.ubuntu.com/ubuntu/ trusty/main samba-common all 2:4.1.6+dfsg-1ubuntu2 [158 kB]
  Get:7 http://be.archive.ubuntu.com/ubuntu/ trusty/main samba-common-bin amd64 2:4.1.6+dfsg-1ubuntu2 [488 kB]
  Get:8 http://be.archive.ubuntu.com/ubuntu/ trusty/main samba-dsdb-modules amd64 2:4.1.6+dfsg-1ubuntu2 [218 kB]
  Get:9 http://be.archive.ubuntu.com/ubuntu/ trusty/main libkdc2-heimdal amd64 1.6~git20131207+dfsg-1ubuntu1 [52.7 kB]
  Get:10 http://be.archive.ubuntu.com/ubuntu/ trusty/main samba amd64 2:4.1.6+dfsg-1ubuntu2 [845 kB]
  Get:11 http://be.archive.ubuntu.com/ubuntu/ trusty/main samba-vfs-modules amd64 2:4.1.6+dfsg-1ubuntu2 [208 kB]
  Fetched 7,080 kB in 1s (4,273 kB/s)
  Preconfiguring packages ...
  Selecting previously unselected package libntdb1:amd64.
  (Reading database ... 69835 files and directories currently installed.)
  Preparing to unpack .../libntdb1_1.0-2ubuntu1_amd64.deb ...
  Unpacking libntdb1:amd64 (1.0-2ubuntu1) ...
  Selecting previously unselected package python-dnspython.
  Preparing to unpack .../python-dnspython_1.11.1-1build1_all.deb ...
  Unpacking python-dnspython (1.11.1-1build1) ...
  Selecting previously unselected package python-ntdb.
  Preparing to unpack .../python-ntdb_1.0-2ubuntu1_amd64.deb ...
  Unpacking python-ntdb (1.0-2ubuntu1) ...
  Selecting previously unselected package samba-libs:amd64.
  Preparing to unpack .../samba-libs_2%3a4.1.6+dfsg-1ubuntu2_amd64.deb ...
  Unpacking samba-libs:amd64 (2:4.1.6+dfsg-1ubuntu2) ...
  Selecting previously unselected package python-samba.
  Preparing to unpack .../python-samba_2%3a4.1.6+dfsg-1ubuntu2_amd64.deb ...
  Unpacking python-samba (2:4.1.6+dfsg-1ubuntu2) ...
  Selecting previously unselected package samba-common.
  Preparing to unpack .../samba-common_2%3a4.1.6+dfsg-1ubuntu2_all.deb ...
  Unpacking samba-common (2:4.1.6+dfsg-1ubuntu2) ...
  Selecting previously unselected package samba-common-bin.
  Preparing to unpack .../samba-common-bin_2%3a4.1.6+dfsg-1ubuntu2_amd64.deb ...
  Unpacking samba-common-bin (2:4.1.6+dfsg-1ubuntu2) ...
  Selecting previously unselected package samba-dsdb-modules.
  Preparing to unpack .../samba-dsdb-modules_2%3a4.1.6+dfsg-1ubuntu2_amd64.deb ...
  Unpacking samba-dsdb-modules (2:4.1.6+dfsg-1ubuntu2) ...
  Selecting previously unselected package libkdc2-heimdal:amd64.
  Preparing to unpack .../libkdc2-heimdal_1.6~git20131207+dfsg-1ubuntu1_amd64.deb ...
  Unpacking libkdc2-heimdal:amd64 (1.6~git20131207+dfsg-1ubuntu1) ...
  Selecting previously unselected package samba.
  Preparing to unpack .../samba_2%3a4.1.6+dfsg-1ubuntu2_amd64.deb ...
  Unpacking samba (2:4.1.6+dfsg-1ubuntu2) ...
  Selecting previously unselected package samba-vfs-modules.
  Preparing to unpack .../samba-vfs-modules_2%3a4.1.6+dfsg-1ubuntu2_amd64.deb ...
  Unpacking samba-vfs-modules (2:4.1.6+dfsg-1ubuntu2) ...
  Processing triggers for man-db (2.6.7.1-1) ...
  Processing triggers for ureadahead (0.100.0-16) ...
  Processing triggers for ufw (0.34~rc-0ubuntu2) ...
  Setting up libntdb1:amd64 (1.0-2ubuntu1) ...
  Setting up python-dnspython (1.11.1-1build1) ...
  Setting up python-ntdb (1.0-2ubuntu1) ...
  Setting up samba-libs:amd64 (2:4.1.6+dfsg-1ubuntu2) ...
  Setting up python-samba (2:4.1.6+dfsg-1ubuntu2) ...
  Setting up samba-common (2:4.1.6+dfsg-1ubuntu2) ...

  Creating config file /etc/samba/smb.conf with new version
  Setting up samba-common-bin (2:4.1.6+dfsg-1ubuntu2) ...
  Setting up samba-dsdb-modules (2:4.1.6+dfsg-1ubuntu2) ...
  Setting up libkdc2-heimdal:amd64 (1.6~git20131207+dfsg-1ubuntu1) ...
  Setting up samba (2:4.1.6+dfsg-1ubuntu2) ...
  smbd start/running, process 23951
  nmbd start/running
  start: Job failed to start
  invoke-rc.d: initscript samba-ad-dc, action "start" failed.
  dpkg: error processing package samba (--configure):
   subprocess installed post-installation script returned error exit status 1
  Setting up samba-vfs-modules (2:4.1.6+dfsg-1ubuntu2) ...
  Processing triggers for libc-bin (2.19-0ubuntu6) ...
  Processing triggers for ureadahead (0.100.0-16) ...
  Processing triggers for ufw (0.34~rc-0ubuntu2) ...
  Errors were encountered while processing:
   samba
  E: Sub-process /usr/bin/dpkg returned an error code (1)

  Any logs for more informations to this error ?

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/samba/+bug/1315840/+subscriptions



More information about the foundations-bugs mailing list