[ltb-dev] [LDAP Tool Box - Bug #804] ubuntu trusty : slapd doesn't start with default install

noreply at lsc-project.org noreply at lsc-project.org
Fri Dec 11 09:45:39 CET 2015


Issue #804 has been updated by Martin H.


This issue should be reopened, I think.
Today I issued the following upgrade commands on the same box than before:
<pre>
$ sudo apt-get update
$ sudo apt-get upgrade
(...)
Preparing to unpack .../openldap-ltb_2.4.43.1_amd64.deb ...
slapd: [INFO] Using /etc/default/slapd for configuration
slapd: [INFO] Halting OpenLDAP...
slapd: [OK] OpenLDAP stopped after 1 seconds
slapd: [INFO] No data backup done
(...)
Setting up openldap-ltb (2.4.43.1) ...
rsyslog start/running, process 30892
slapd: [INFO] Using /etc/default/slapd for configuration
slapd: [INFO] Launching OpenLDAP configuration test...
No directory, logging in with HOME=/
slapd: [ALERT] OpenLDAP configuration test failed
invoke-rc.d: initscript slapd, action "start" failed.
dpkg: error processing package openldap-ltb (--configure):
 subprocess installed post-installation script returned error exit status 1
</pre>

Here is openldap log:

<pre>
Dec 11 09:36:30 localhost slapd[29342]: [INFO] Using /etc/default/slapd for configuration
Dec 11 09:36:30 localhost slapd[29344]: [INFO] Halting OpenLDAP...
Dec 11 09:36:30 localhost slapd[5505]: daemon: shutdown requested and initiated.
Dec 11 09:36:30 localhost slapd[5505]: slapd shutdown: waiting for 0 operations/tasks to finish
Dec 11 09:36:30 localhost slapd[5505]: slapd stopped.
Dec 11 09:36:31 localhost slapd[29348]: [OK] OpenLDAP stopped after 1 seconds
Dec 11 09:36:31 localhost slapd[29349]: [INFO] No data backup done
Dec 11 09:36:38 localhost slapd[30935]: [INFO] Using /etc/default/slapd for configuration
Dec 11 09:36:38 localhost slapd[30937]: [INFO] Launching OpenLDAP configuration test...
Dec 11 09:36:38 localhost slapd[30945]: [ALERT] OpenLDAP configuration test failed
</pre>
----------------------------------------
Bug #804: ubuntu trusty : slapd doesn't start with default install
http://tools.lsc-project.org/issues/804

Author: Martin H
Status: Closed
Priority: Normal
Assigned to: David Coutadeur
Category: OpenLDAP DEB
Target version: openldap-deb-2.4.43


$ cat /etc/lsb-release 
DISTRIB_ID=Ubuntu
DISTRIB_RELEASE=14.04
DISTRIB_CODENAME=trusty
DISTRIB_DESCRIPTION="Ubuntu 14.04.3 LTS"

$ cat /etc/debian_version 
jessie/sid

$ cat /etc/apt/sources.list.d/ltb-project.list 
deb     http://ltb-project.org/debian/jessie jessie main
deb-src http://ltb-project.org/debian/jessie jessie main

$ sudo apt-get install openldap-ltb
Reading package lists... Done
Building dependency tree       
Reading state information... Done
Suggested packages:
  openldap-ltb-check-password openldap-ltb-contrib-overlays
The following NEW packages will be installed:
  openldap-ltb
0 upgraded, 1 newly installed, 0 to remove and 0 not upgraded.
Need to get 0 B/1,663 kB of archives.
After this operation, 9,181 kB of additional disk space will be used.
Selecting previously unselected package openldap-ltb.
(Reading database ... 52960 files and directories currently installed.)
Preparing to unpack .../openldap-ltb_2.4.42.1_amd64.deb ...
Unpacking openldap-ltb (2.4.42.1) ...
Processing triggers for ureadahead (0.100.0-16) ...
Setting up openldap-ltb (2.4.42.1) ...
rsyslog start/running, process 881
slapd: [INFO] Using /etc/default/slapd for configuration
slapd: [INFO] Launching OpenLDAP configuration test...
No directory, logging in with HOME=/
slapd: [ALERT] OpenLDAP configuration test failed
invoke-rc.d: initscript slapd, action "start" failed.
dpkg: error processing package openldap-ltb (--configure):
 subprocess installed post-installation script returned error exit status 1
Processing triggers for ureadahead (0.100.0-16) ...
Errors were encountered while processing:
 openldap-ltb
E: Sub-process /usr/bin/dpkg returned an error code (1)

$ sudo /etc/init.d/slapd start
slapd: [INFO] Using /etc/default/slapd for configuration
slapd: [INFO] Launching OpenLDAP configuration test...
No directory, logging in with HOME=/
slapd: [ALERT] OpenLDAP configuration test failed




-- 
You have received this notification because you have either subscribed to it, or are involved in it.
To change your notification preferences, please click here: http://tools.lsc-project.org/my/account
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.ltb-project.org/pipermail/ltb-dev/attachments/20151211/ba96ebf9/attachment.htm>


More information about the ltb-dev mailing list