sudo slapd -h 'ldap:/// ldapi:///' -g openldap -u openldap -F
/etc/ldap/slapd.d/ -d 16383
@(#) $OpenLDAP: slapd 2.4.21 (Jul 30 2010 01:09:23) $
bui...@rothera:/build/buildd/openldap-2.4.21/debian/build/servers/slapd
ldap_pvt_gethostbyname_a: host=fanna, r=0
daemon_init: ldap:///
I supposed it was a bad configuration file, but I didn't find anything
wrong (although I'm not very skilled with openldap). And I have not
touched it in years.
Here you have the strace slapd output, as asked.
** Attachment added: strace of the slapd command
*** This bug is a duplicate of bug 571057 ***
https://bugs.launchpad.net/bugs/571057
Looking at the strace, it seems that slapd fails with a different error
now:
config error processing olcDatabase={-1}frontend,cn=config:
ordered_value_sort failed on attr olcAccess
This is bug 571057.
**
Output you asked for:
sudo slapd -h 'ldap:/// ldapi:///' -g openldap -u openldap -F
/etc/ldap/slapd.d/ -d 16383
@(#) $OpenLDAP: slapd 2.4.21 (Jul 30 2010 01:09:23) $
bui...@rothera:/build/buildd/openldap-2.4.21/debian/build/servers/slapd
ldap_pvt_gethostbyname_a: host=fanna, r=0
** Changed in: openldap (Ubuntu)
Status: Incomplete = Confirmed
--
package slapd 2.4.21-0ubuntu5.2 failed to install/upgrade
https://bugs.launchpad.net/bugs/615736
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to openldap in ubuntu.
** Attachment added: AptOrdering.txt
http://launchpadlibrarian.net/53406657/AptOrdering.txt
** Attachment added: Dependencies.txt
http://launchpadlibrarian.net/53406658/Dependencies.txt
** Attachment added: Df.txt
http://launchpadlibrarian.net/53406659/Df.txt
** Attachment added:
Thank you for taking the time to report this bug and helping to make
Ubuntu better.
According to the logs:
Configurando slapd (2.4.21-0ubuntu5.2) ...
Backing up /etc/ldap/slapd.d/ in /var/backups/slapd-2.4.21-0ubuntu5... done.
Enabling LDAPv2 support... Starting OpenLDAP: slapd - failed.
The