Samba 4.1.6 fails to invotke rc.d samba-ad-dc action start
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
samba (Ubuntu) |
New
|
Undecided
|
Unassigned |
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:
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://
Get:2 http://
Get:3 http://
Get:4 http://
Get:5 http://
Get:6 http://
Get:7 http://
Get:8 http://
Get:9 http://
Get:10 http://
Get:11 http://
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_
Unpacking libntdb1:amd64 (1.0-2ubuntu1) ...
Selecting previously unselected package python-dnspython.
Preparing to unpack .../python-
Unpacking python-dnspython (1.11.1-1build1) ...
Selecting previously unselected package python-ntdb.
Preparing to unpack .../python-
Unpacking python-ntdb (1.0-2ubuntu1) ...
Selecting previously unselected package samba-libs:amd64.
Preparing to unpack .../samba-
Unpacking samba-libs:amd64 (2:4.1.
Selecting previously unselected package python-samba.
Preparing to unpack .../python-
Unpacking python-samba (2:4.1.
Selecting previously unselected package samba-common.
Preparing to unpack .../samba-
Unpacking samba-common (2:4.1.
Selecting previously unselected package samba-common-bin.
Preparing to unpack .../samba-
Unpacking samba-common-bin (2:4.1.
Selecting previously unselected package samba-dsdb-modules.
Preparing to unpack .../samba-
Unpacking samba-dsdb-modules (2:4.1.
Selecting previously unselected package libkdc2-
Preparing to unpack .../libkdc2-
Unpacking libkdc2-
Selecting previously unselected package samba.
Preparing to unpack .../samba_
Unpacking samba (2:4.1.
Selecting previously unselected package samba-vfs-modules.
Preparing to unpack .../samba-
Unpacking samba-vfs-modules (2:4.1.
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.
Setting up python-samba (2:4.1.
Setting up samba-common (2:4.1.
Creating config file /etc/samba/smb.conf with new version
Setting up samba-common-bin (2:4.1.
Setting up samba-dsdb-modules (2:4.1.
Setting up libkdc2-
Setting up samba (2:4.1.
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.
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 ?
description: | updated |
description: | updated |
I found the culprit. /etc/init. d# samba-tool testparm --parameter- name="server role" give samba-tool" , line 33, in <module> python2. 7/dist- packages/ samba/netcmd/ main.py" , line 23, in <module> dbcheck import cmd_dbcheck python2. 7/dist- packages/ samba/netcmd/ dbcheck. py", line 21, in <module> client. so.0: cannot open shared object file: No such file or directory
A test return of @armagedon:
Traceback (most recent call last):
File "/usr/bin/
from samba.netcmd.main import cmd_sambatool
File "/usr/lib/
from samba.netcmd.
File "/usr/lib/
from samba.auth import system_session
ImportError: libwinbind-
After a apt-get install --reinstall libwbclient0 samba as ending install.