[Bug 728840] Re: upgradeprovision crashed with LdbError in connect(): (80, 'Failed to load modules from: /usr/lib/samba/ldb\n')

2011-06-07 Thread Apkerr
Here's my kernel stuff:

root@Andrew-laptop:/etc# uname -a
Linux Andrew-laptop 2.6.38-8-generic #42-Ubuntu SMP Mon Apr 11 03:31:24 UTC 
2011 x86_64 x86_64 x86_64 GNU/Linux

I tried uninstalling samba4 with: apt-get remove samba4
and reinstalling with: apt-get install samba4

It crashed with the following output:

root@Andrew-laptop:/etc# apt-get install samba4
Reading package lists... Done
Building dependency tree   
Reading state information... Done
Suggested packages:
  bind9 phpldapadmin swat2 samba-gtk
The following NEW packages will be installed:
  samba4
0 upgraded, 1 newly installed, 0 to remove and 0 not upgraded.
Need to get 1,603 kB of archives.
After this operation, 11.5 MB of additional disk space will be used.
Get:1 http://us.archive.ubuntu.com/ubuntu/ natty/universe samba4 amd64 
4.0.0~alpha15~git20110124.dfsg1-2ubuntu1 [1,603 kB]
Fetched 1,603 kB in 5s (309 kB/s)   
Preconfiguring packages ...
Selecting previously deselected package samba4.
(Reading database ... 85 files and directories currently installed.)
Unpacking samba4 (from 
.../samba4_4.0.0~alpha15~git20110124.dfsg1-2ubuntu1_amd64.deb) ...
Processing triggers for man-db ...
Processing triggers for ureadahead ...
Setting up samba4 (4.0.0~alpha15~git20110124.dfsg1-2ubuntu1) ...
Unknown parameter encountered: "max log size"
Ignoring unknown parameter "max log size"
Unknown parameter encountered: "syslog"
Ignoring unknown parameter "syslog"
Unknown parameter encountered: "passdb backend"
Ignoring unknown parameter "passdb backend"
Unknown parameter encountered: "unix password sync"
Ignoring unknown parameter "unix password sync"
Unknown parameter encountered: "passwd program"
Ignoring unknown parameter "passwd program"
Unknown parameter encountered: "pam password change"
Ignoring unknown parameter "pam password change"
Unknown parameter encountered: "map to guest"
Ignoring unknown parameter "map to guest"
Unknown parameter encountered: "usershare allow guests"
Ignoring unknown parameter "usershare allow guests"
Unknown parameter encountered: "guest ok"
Ignoring unknown parameter "guest ok"
Unknown parameter encountered: "guest ok"
Ignoring unknown parameter "guest ok"
Unknown parameter encountered: "max log size"
Ignoring unknown parameter "max log size"
Unknown parameter encountered: "syslog"
Ignoring unknown parameter "syslog"
Unknown parameter encountered: "passdb backend"
Ignoring unknown parameter "passdb backend"
Unknown parameter encountered: "unix password sync"
Ignoring unknown parameter "unix password sync"
Unknown parameter encountered: "passwd program"
Ignoring unknown parameter "passwd program"
Unknown parameter encountered: "pam password change"
Ignoring unknown parameter "pam password change"
Unknown parameter encountered: "map to guest"
Ignoring unknown parameter "map to guest"
Unknown parameter encountered: "usershare allow guests"
Ignoring unknown parameter "usershare allow guests"
Unknown parameter encountered: "guest ok"
Ignoring unknown parameter "guest ok"
Unknown parameter encountered: "guest ok"
Ignoring unknown parameter "guest ok"
ldb: unable to stat module /usr/lib/samba/ldb/modules/samba : No such file or 
directory
ldb: failed to initialise module /usr/lib/samba/ldb/modules/samba : Unavailable
ldb: failed to initialise module /usr/lib/samba/ldb/modules : Unavailable
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/samba/ldb

Traceback (most recent call last):
  File "/usr/share/samba/setup/upgradeprovision", line 1597, in 
ldbs = get_ldbs(paths, creds, session, lp)
  File "/usr/lib/python2.7/dist-packages/samba/upgradehelpers.py", line 159, in 
get_ldbs
ldbs.sam = SamDB(paths.samdb, session_info=session, credentials=creds, 
lp=lp, options=["modules:samba_dsdb"])
  File "/usr/lib/python2.7/dist-packages/samba/samdb.py", line 53, in __init__
options=options)
  File "/usr/lib/python2.7/dist-packages/samba/__init__.py", line 110, in 
__init__
self.connect(url, flags, options)
  File "/usr/lib/python2.7/dist-packages/samba/samdb.py", line 66, in connect
options=options)
_ldb.LdbError: (80, 'Failed to load modules from: /usr/lib/samba/ldb\n')
dpkg: error processing samba4 (--configure):
 subprocess installed post-installation script returned error exit status 1
Errors were encountered while processing:
 samba4
E: Sub-process /usr/bin/dpkg returned an error code (1)
root@Andrew-laptop:/etc#

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

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

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 783163] [NEW] package samba4 4.0.0~alpha15~git20110124.dfsg1-2ubuntu1 failed to install/upgrade: ErrorMessage: subprocess installed post-installation script returned error exit status 1

2011-05-15 Thread Apkerr
Public bug reported:

Binary package hint: samba4

Upgrading to 11.04.

ProblemType: Package
DistroRelease: Ubuntu 11.04
Package: samba4 4.0.0~alpha15~git20110124.dfsg1-2ubuntu1
ProcVersionSignature: Ubuntu 2.6.35-28.50-generic 2.6.35.11
Uname: Linux 2.6.35-28-generic x86_64
NonfreeKernelModules: fglrx
Architecture: amd64
Date: Sun May 15 15:29:46 2011
ErrorMessage: ErrorMessage: subprocess installed post-installation script 
returned error exit status 1
SourcePackage: samba4
Title: package samba4 4.0.0~alpha15~git20110124.dfsg1-2ubuntu1 failed to 
install/upgrade: ErrorMessage: subprocess installed post-installation script 
returned error exit status 1
UpgradeStatus: Upgraded to natty on 2011-05-15 (0 days ago)

** Affects: samba4 (Ubuntu)
 Importance: Undecided
 Status: New


** Tags: amd64 apport-package natty

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

Title:
  package samba4 4.0.0~alpha15~git20110124.dfsg1-2ubuntu1 failed to
  install/upgrade: ErrorMessage: subprocess installed post-installation
  script returned error exit status 1

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 783163] Re: package samba4 4.0.0~alpha15~git20110124.dfsg1-2ubuntu1 failed to install/upgrade: ErrorMessage: subprocess installed post-installation script returned error exit status 1

2011-05-15 Thread Apkerr
-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/783163

Title:
  package samba4 4.0.0~alpha15~git20110124.dfsg1-2ubuntu1 failed to
  install/upgrade: ErrorMessage: subprocess installed post-installation
  script returned error exit status 1

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs