package samba4 4.0.0+dfsg1-1ubuntu1 failed to install/upgrade: 子进程 已安装 post-installation 脚本 返回了错误号 255

Bug #1210833 reported by Hale Zhang
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
samba4 (Ubuntu)
New
Undecided
Unassigned

Bug Description

No IPv6 address will be assigned
Error loading module '/usr/lib/x86_64-linux-gnu/samba//vfs/acl_xattr.so': /usr/lib/x86_64-linux-gnu/samba//vfs/acl_xattr.so: cannot open shared object file: No such file or directory
error probing vfs module 'acl_xattr': NT_STATUS_UNSUCCESSFUL
smbd_vfs_init: vfs_init_custom failed for acl_xattr
Error loading module '/usr/lib/x86_64-linux-gnu/samba//vfs/acl_xattr.so': /usr/lib/x86_64-linux-gnu/samba//vfs/acl_xattr.so: cannot open shared object file: No such file or directory
error probing vfs module 'acl_xattr': NT_STATUS_UNSUCCESSFUL
smbd_vfs_init: vfs_init_custom failed for acl_xattr
Setting up share.ldb
Setting up secrets.ldb
Setting up the registry
Setting up the privileges database
Setting up idmap db
Setting up SAM db
Setting up sam.ldb partitions and settings
Setting up sam.ldb rootDSE
Pre-loading the Samba 4 and AD schema
Adding DomainDN: DC=localdomain
Adding configuration container
Setting up sam.ldb schema
Setting up sam.ldb configuration data
Setting up display specifiers
Adding users container
Modifying users container
Adding computers container
Modifying computers container
Setting up sam.ldb data
Setting up well known security principals
Setting up sam.ldb users and groups
ERROR(ldb): uncaught exception - 0000052D: Constraint violation - check_password_restrictions: the password is too short. It should be equal or longer than 7 characters!
  File "/usr/lib/python2.7/dist-packages/samba/netcmd/__init__.py", line 175, in _run
    return self.run(*args, **kwargs)
  File "/usr/lib/python2.7/dist-packages/samba/netcmd/domain.py", line 398, in run
    use_rfc2307=use_rfc2307, skip_sysvolacl=False)
  File "/usr/lib/python2.7/dist-packages/samba/provision/__init__.py", line 2058, in provision
    skip_sysvolacl=skip_sysvolacl)
  File "/usr/lib/python2.7/dist-packages/samba/provision/__init__.py", line 1661, in provision_fill
    next_rid=next_rid, dc_rid=dc_rid)
  File "/usr/lib/python2.7/dist-packages/samba/provision/__init__.py", line 1349, in fill_samdb
    "KRBTGTPASS_B64": b64encode(krbtgtpass.encode('utf-16-le'))
  File "/usr/lib/python2.7/dist-packages/samba/provision/common.py", line 50, in setup_add_ldif
    ldb.add_ldif(data, controls)
  File "/usr/lib/python2.7/dist-packages/samba/__init__.py", line 224, in add_ldif
    self.add(msg, controls)
dpkg: error processing samba4 (--configure):
 子进程 已安装 post-installation 脚本 返回了错误号 255
由于已经达到 MaxReports 限制,没有写入 apport 报告。
                                                    正在处理用于 libc-bin 的触发器...
ldconfig deferred processing now taking place
正在处理用于 ureadahead 的触发器...
正在处理用于 ufw 的触发器...
在处理时有错误发生:
 samba4
E: Sub-process /usr/bin/dpkg returned an error code (1)
hale@hale-Think:~$ sudo apt-get install -f
正在读取软件包列表... 完成
正在分析软件包的依赖关系树
正在读取状态信息... 完成
升级了 0 个软件包,新安装了 0 个软件包,要卸载 0 个软件包,有 0 个软件包未被升级。
有 1 个软件包没有被完全安装或卸载。
解压缩后会消耗掉 0 B 的额外空间。
正在设置 samba4 (4.0.0+dfsg1-1ubuntu1) ...
ERROR(ldb): uncaught exception - operations error at ../source4/dsdb/samdb/ldb_modules/rootdse.c:501
  File "/usr/lib/python2.7/dist-packages/samba/netcmd/__init__.py", line 175, in _run
    return self.run(*args, **kwargs)
  File "/usr/lib/python2.7/dist-packages/samba/netcmd/dbcheck.py", line 108, in run
    fix=fix, yes=yes, quiet=quiet, in_transaction=started_transaction)
  File "/usr/lib/python2.7/dist-packages/samba/dbchecker.py", line 60, in __init__
    self.ntds_dsa = samdb.get_dsServiceName()
  File "/usr/lib/python2.7/dist-packages/samba/samdb.py", line 855, in get_dsServiceName
    res = self.search(base="", scope=ldb.SCOPE_BASE, attrs=["dsServiceName"])
dpkg: error processing samba4 (--configure):
 子进程 已安装 post-installation 脚本 返回了错误号 255
在处理时有错误发生:
 samba4
E: Sub-process /usr/bin/dpkg returned an error code (1)
hale@hale-Think:~$ samba
samba: /usr/lib/x86_64-linux-gnu/libwbclient.so.0: no version information available (required by /usr/lib/x86_64-linux-gnu/samba/libauth4.so)
[2013/08/10 22:53:28, 0] ../lib/util/debug.c:592(reopen_logs_internal)
  Unable to open new log file '/var/log/samba/log.%m': Permission denied
[2013/08/10 22:53:28, 0] ../source4/smbd/server.c:369(binary_smbd_main)
  samba version 4.0.0 started.
  Copyright Andrew Tridgell and the Samba Team 1992-2012

ProblemType: Package
DistroRelease: Ubuntu 13.04
Package: samba4 4.0.0+dfsg1-1ubuntu1
ProcVersionSignature: Ubuntu 3.8.0-27.40-generic 3.8.13.4
Uname: Linux 3.8.0-27-generic x86_64
ApportVersion: 2.9.2-0ubuntu8.3
AptOrdering: samba4: Configure
Architecture: amd64
Date: Sat Aug 10 22:50:37 2013
DuplicateSignature: package:samba4:4.0.0+dfsg1-1ubuntu1:子进程 已安装 post-installation 脚本 返回了错误号 255
ErrorMessage: 子进程 已安装 post-installation 脚本 返回了错误号 255
InstallationDate: Installed on 2013-07-31 (10 days ago)
InstallationMedia: Ubuntu 13.04 "Raring Ringtail" - Release amd64 (20130424)
MarkForUpload: True
SourcePackage: samba4
Title: package samba4 4.0.0+dfsg1-1ubuntu1 failed to install/upgrade: 子进程 已安装 post-installation 脚本 返回了错误号 255
UpgradeStatus: No upgrade log present (probably fresh install)

Revision history for this message
Hale Zhang (abbrdr) wrote :
tags: removed: need-duplicate-check
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.