ich versuche gerade mir einen LDAP Server zu installieren. Nachdem ich meine ersten Versuche gegen die Wand gefahren habe, habe ich alles mittels apt-get remove --purge slapd libldap2 deinstalliert. Doch nun habe ich ein Problem bei der Neuinstallation, ich bekomme nur noch folgende Fehlermeldung:
Setting up slapd (2.1.23-1) ... Creating initial slapd configuration... done Creating initial LDAP directory... done Starting OpenLDAP: slapd - failed. The operation failed but no output was produced. For hints on what went wrong please refer to the system's logfiles (e.g. /var/log/syslog) or try running the daemon in Debug mode like via "slapd -d 16383" (warning: this will create copious output). invoke-rc.d: initscript slapd, action "start" failed. dpkg: error processing slapd (--configure): subprocess post-installation script returned error exit status 1 Errors were encountered while processing: slapd E: Sub-process /usr/bin/dpkg returned an error code (1)
Ein slapd -d 16383 ergibt:
slapd -d 16383
@(#) $OpenLDAP: slapd 2.1.23 (Oct 18 2003 20:04:15) $
@euklid:/home/roland/debian/openldap/build/2.1.23-1/openldap2-2.1.23/debian/build/servers/slapd
daemon_init: <null>
daemon_init: listen on ldap:///
daemon_init: 1 listeners to open...
ldap_url_parse_ext(ldap:///)
slap_open_listener: socket() failed for AF_INET6 errno=97 (Address family not supported by protocol)
slap_open_listener: bind(6) failed for AF_INET, address: 0.0.0.0, port: 389 errno=98 (Address already in use)
slap_open_listener: failed on ldap:///
slapd stopped.
connections_destroy: nothing to destroy.
Hat dazu jemand eine Idee, hab ich etwas vergessen zu installieren?
Und gleich noch eine Frage zur Konfiguration:
Da meine eigentliche Domaine likeabird.de im Moment noch belegt ist, wollte ich stattdessen die Domain meines virtuellen Servers (62-138-135-216.vlserver.de) benutzen. Die hab ich auch bei dpkg-reconfigure slapd eingegeben.
Allerdings scheint slapd das so nicht zu wollen, ich bekomme die Meldung
Creating initial LDAP directory... slapadd: line 7: database (dc=62-138-135-216.vlserver,dc=de) not configured to hold "dc=62-138-135-216,dc=vlserver,dc=de"
Auch das ist mir nicht klar. Kann ich das �berhaupt so machen, sprich eine vorl�ufige Domain angeben oder muss es gleich die ent�ltige Domain sein? Hat jemand zuf�llig ein Minimalbeispiel zur Hand wie die ldap.conf und slapd.conf auszusehen hat?
Vielen Dank f�r jede Hilfe Th. Vogel
--
Haeufig gestellte Fragen und Antworten (FAQ): http://www.de.debian.org/debian-user-german-FAQ/
Zum AUSTRAGEN schicken Sie eine Mail an [EMAIL PROTECTED] mit dem Subject "unsubscribe". Probleme? Mail an [EMAIL PROTECTED] (engl)

