#4619: openldap-2.4.39
-------------------------+--------------------------
Reporter: fo | Owner: blfs-book@…
Type: enhancement | Status: new
Priority: normal | Milestone: current
Component: BOOK | Version: SVN
Severity: normal | Resolution:
Keywords: |
-------------------------+--------------------------
Comment (by fo):
I have succeeded in several points:
{{{
# /usr/sbin/slapd -T test
config file testing succeeded
}}}
{{{
$ ldapsearch -x -b '' -s base '(objectclass=*)' namingContexts
# extended LDIF
#
# LDAPv3
# base <> with scope baseObject
# filter: (objectclass=*)
# requesting: namingContexts
#
#
dn:
namingContexts: dc=my-domain,dc=com
# search result
search: 2
result: 0 Success
# numResponses: 2
# numEntries: 1
}}}
However, the server fails to start with the bootscript, without any
message. I can start if I run
{{{
/usr/sbin/slapd
}}}
I can stop with the bootscript:
{{{
# /etc/rc.d/init.d/slapd stop
* Stopping OpenLDAP [
OK ]
}}}
But not start:
{{{
# /etc/rc.d/init.d/slapd start
*****Starting OpenLDAP [
FAIL ]
}}}
If I try to start with options from the bootscript, fails, but succeeds
without any options:
{{{
root [ /home/fernando ]# start_daemon /usr/sbin/slapd -u ldap -g ldap -h
"ldap://127.0.0.1:389/ ldaps:/// ldapi:///"
root [ /home/fernando ]# evaluate_retval
***** [
FAIL ]
root [ /home/fernando ]# start_daemon /usr/sbin/slapd -u ldap -g ldap -h
""root [ /home/fernando ]# evaluate_retval
***** [
FAIL ]
root [ /home/fernando ]# start_daemon /usr/sbin/slapd -u ldap -g ldap
root [ /home/fernando ]# evaluate_retval
***** [
FAIL ]
root [ /home/fernando ]# start_daemon /usr/sbin/slapd -u ldap
root [ /home/fernando ]# evaluate_retval
***** [
FAIL ]
root [ /home/fernando ]# start_daemon /usr/sbin/slapd
root [ /home/fernando ]# evaluate_retval
* [
OK
}}}
--
Ticket URL: <http://wiki.linuxfromscratch.org/blfs/ticket/4619#comment:4>
BLFS Trac <http://wiki.linuxfromscratch.org/blfs>
Beyond Linux From Scratch
--
http://linuxfromscratch.org/mailman/listinfo/blfs-book
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page