upgradeprovision crashed with LdbError in connect(): (80, 'Failed to load modules from: /usr/lib/x86_64-linux-gnu//samba/ldb\n')
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
samba4 (Ubuntu) |
New
|
Undecided
|
Unassigned |
Bug Description
Normal Natty install then 'do-release-upgrade -d'.
ProblemType: Crash
DistroRelease: Ubuntu 11.10
Package: samba4 4.0.0~alpha17~
ProcVersionSign
Uname: Linux 2.6.38-10-server x86_64
Architecture: amd64
Date: Sat Aug 13 21:01:13 2011
ExecutablePath: /usr/share/
InstallationMedia: Ubuntu-Server 11.04 "Natty Narwhal" - Release amd64 (20110426)
InterpreterPath: /usr/bin/python2.7
ProcCmdline: python /usr/share/
ProcEnviron:
LC_CTYPE=hu_HU
PATH=(custom, user)
LANG=en_US.UTF-8
LC_MESSAGES=
SHELL=/bin/zsh
PythonArgs: ['/usr/
SourcePackage: samba4
Title: upgradeprovision crashed with LdbError in connect(): (80, 'Failed to load modules from: /usr/lib/
UpgradeStatus: Upgraded to oneiric on 2011-08-13 (0 days ago)
UserGroups:
sarting the service:
ldb: unable to stat module /usr/lib/ x86_64- linux-gnu/ /samba/ ldb : No such file or directory samba/private/ sam.ldb: Failed to load modules from: /usr/lib/ x86_64- linux-gnu/ /samba/ ldb
WARNING: Module [samba_dsdb] not found - do you need to set LDB_MODULES_PATH?
Unable to load modules for /var/lib/
Traceback (most recent call last): samba/setup/ upgradeprovisio n", line 1716, in <module> pymodules/ python2. 7/samba/ upgradehelpers. py", line 156, in get_ldbs info=session, credentials=creds, lp=lp, options= ["modules: samba_dsdb" ]) pymodules/ python2. 7/samba/ samdb.py" , line 55, in __init__ options) pymodules/ python2. 7/samba/ __init_ _.py", line 114, in __init__ connect( url, flags, options) pymodules/ python2. 7/samba/ samdb.py" , line 69, in connect options) x86_64- linux-gnu/ /samba/ ldb\n')
Errors were encountered while processing:
File "/usr/share/
ldbs = get_ldbs(paths, creds, session, lp)
File "/usr/lib/
ldbs.sam = SamDB(paths.samdb, session_
File "/usr/lib/
options=
File "/usr/lib/
self.
File "/usr/lib/
options=
_ldb.LdbError: (80, 'Failed to load modules from: /usr/lib/
dpkg: error processing samba4 (--configure):
subprocess installed post-installation script returned error exit status 1
No apport report written because MaxReports is reached already
samba4
E: Sub-process /usr/bin/dpkg returned an error code (1)
Actually the fine path is:
/usr/lib/ x86_64- linux-gnu/ ldb
I made a symlink and seems OK:
lrwxrwxrwx 1 root root 1 2011-08-13 21:17 samba -> ./