upgradeprovision crashed with LdbError in connect(): (80, 'Failed to load modules from: /usr/lib/x86_64-linux-gnu//samba/ldb\n')

Bug #825951 reported by Tamas Papp
10
This bug affects 1 person
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~git20110807.dfsg1-1ubuntu1
ProcVersionSignature: Ubuntu 2.6.38-10.46-server 2.6.38.7
Uname: Linux 2.6.38-10-server x86_64
Architecture: amd64
Date: Sat Aug 13 21:01:13 2011
ExecutablePath: /usr/share/samba/setup/upgradeprovision
InstallationMedia: Ubuntu-Server 11.04 "Natty Narwhal" - Release amd64 (20110426)
InterpreterPath: /usr/bin/python2.7
ProcCmdline: python /usr/share/samba/setup/upgradeprovision --full
ProcEnviron:
 LC_CTYPE=hu_HU
 PATH=(custom, user)
 LANG=en_US.UTF-8
 LC_MESSAGES=en_US.UTF-8
 SHELL=/bin/zsh
PythonArgs: ['/usr/share/samba/setup/upgradeprovision', '--full']
SourcePackage: samba4
Title: upgradeprovision crashed with LdbError in connect(): (80, 'Failed to load modules from: /usr/lib/x86_64-linux-gnu//samba/ldb\n')
UpgradeStatus: Upgraded to oneiric on 2011-08-13 (0 days ago)
UserGroups:

Revision history for this message
Tamas Papp (tompos) wrote :
Revision history for this message
Tamas Papp (tompos) wrote :

sarting the service:

ldb: unable to stat module /usr/lib/x86_64-linux-gnu//samba/ldb : No such file or directory
WARNING: Module [samba_dsdb] not found - do you need to set LDB_MODULES_PATH?
Unable to load modules for /var/lib/samba/private/sam.ldb: Failed to load modules from: /usr/lib/x86_64-linux-gnu//samba/ldb

Traceback (most recent call last):
  File "/usr/share/samba/setup/upgradeprovision", line 1716, in <module>
    ldbs = get_ldbs(paths, creds, session, lp)
  File "/usr/lib/pymodules/python2.7/samba/upgradehelpers.py", line 156, in get_ldbs
    ldbs.sam = SamDB(paths.samdb, session_info=session, credentials=creds, lp=lp, options=["modules:samba_dsdb"])
  File "/usr/lib/pymodules/python2.7/samba/samdb.py", line 55, in __init__
    options=options)
  File "/usr/lib/pymodules/python2.7/samba/__init__.py", line 114, in __init__
    self.connect(url, flags, options)
  File "/usr/lib/pymodules/python2.7/samba/samdb.py", line 69, in connect
    options=options)
_ldb.LdbError: (80, 'Failed to load modules from: /usr/lib/x86_64-linux-gnu//samba/ldb\n')
dpkg: error processing samba4 (--configure):
 subprocess installed post-installation script returned error exit status 1
No apport report written because MaxReports is reached already
                                                              Errors were encountered while processing:
 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 -> ./

Revision history for this message
Tamas Papp (tompos) wrote :

Sorry, I was wrong.

There is no such directory nor a file called samba_dsdb.so .

Revision history for this message
Apport retracing service (apport) wrote : This bug is a duplicate

Thank you for taking the time to report this crash and helping to make Ubuntu better. This particular crash has already been reported and is a duplicate of bug #728840, so is being marked as such. Please look at the other bug report to see if there is any missing information that you can provide, or to see if there is a workaround for the bug. Additionally, any further discussion regarding the bug should occur in the other report. Please continue to report any other bugs you may find.

tags: removed: need-duplicate-check
visibility: private → public
Revision history for this message
Shehab Ahmed (r-admin-napster) wrote :

i experienced the same problem

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.