Hi,
the logfile indicates your problems.
"youness hsina" youness.hsina@gmail.com writes:
Hi all, i'm new to LDAP, i'm trying to make an Openldap server in FreeBSD, my problem is :
which arguments did you apply to slapd?
i can't get start this server . even the file syslog i can't find it here is my debug.log file :
May 2 09:51:30 stavril slapd[967]: @(#) $OpenLDAP: slapd 2.3.41 (Apr 25 2008 14:56:51) $ root@stavril.gtr.iut-velizy.uvsq.fr:/usr/ports/net/ openldap23-server/work/openldap-2.3.41/servers/slapd May 2 09:51:30 stavril slapd[967]: connections_destroy: nothing to destroy. May 2 09:51:30 stavril slapd[967]: /usr/local/etc/openldap/slapd.conf: line 83: <database> failed init (bdb)! May 2 09:51:30 stavril slapd[967]: slapd stopped.
No access to the database directory?
May 2 10:04:13 stavril slapd[55570]: connections_destroy: nothing to destroy. May 2 11:15:17 stavril slapd[62838]: @(#) $OpenLDAP: slapd 2.3.41 (Apr 25 2008 14:56:51) $ root@stavril.gtr.iut-velizy.uvsq.fr:/usr/ports/net/ openldap23-server/work/openldap-2.3.41/servers/slapd May 2 11:15:17 stavril slapd[62838]: daemon: getaddrinfo() failed: hostname nor servname provided, or not known May 2 11:15:17 stavril slapd[62838]: slapd stopped. May 2 11:15:17 stavril slapd[62838]: connections_destroy: nothing to destroy.
have you setup /etc/hosts properly?
-Dieter