PDA

Archiv verlassen und diese Seite im Standarddesign anzeigen : LDAP Server läuft nicht (nur Debug Modus)



armun
12.03.04, 08:34
Servus

Versuche einen LDAP Server auf Debian 3r2 aufsusetzen. Der slapd lief nach aufsetzen des Systems. Habe das System Upgedated mit den apt-sources. Seitdem läufte der demon nicht mehr und läst sich nicht mehr installieren und deinstallieren.
Beim installieren läuft folgende Meldung auf.

SRV-ELEKTRONIK:# apt-get install slapd
Reading Package Lists... Done
Building Dependency Tree... Done
Sorry, slapd is already the newest version.
0 packages upgraded, 0 newly installed, 0 to remove and 4 not upgraded.
1 packages not fully installed or removed.
Need to get 0B of archives. After unpacking 0B will be used.
Setting up slapd (2.1.26-0.backports.org.1) ...
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)

Die ausgabe von der syslog sieht so aus:

Mar 12 09:11:59 SRV-ELEKTRONIK slapd[439]: slap_open_listener: socket() failed for AF_INET6 errno=97 (Address family not supported by protocol)
Mar 12 09:11:59 SRV-ELEKTRONIK slapd[439]: slap_open_listener: bind(6) failed for AF_INET, address: 0.0.0.0, port: 389 errno=98 (Address already in use)
Mar 12 09:11:59 SRV-ELEKTRONIK slapd[439]: slapd stopped.
Mar 12 09:11:59 SRV-ELEKTRONIK slapd[439]: connections_destroy: nothing to destroy.

Wenn ich den slapd im Debug Modus starte läuft auch der Dienst. Aber das ist ja nicht im Sinne des Erfinders.


Kann mir jemand dabei helfen? Ich möchte das Frontend LAM (LDAP Account Manager) oder ein anderes benutzen. http://lam.sourceforge.net/