Ich verwende OpenDJ-2.4.6 zusammen mit Oracle JDK 7.80 und ich möchte Multi-Master-Replikation auf 2 meiner ausführen Server ist das Betriebssystem für diese Server Amazon Linux.OpenDJ-Multi-Master-Replikation schlägt fehl (hängt am Schritt Initialisierung der Registrierungsinformationen) :: javax.naming.AuthenticationException
Das OpenDJ-Setup läuft einwandfrei; Ich kann den Server auch ohne Fehler starten.
Es ist, wenn ich die "dsreplication" Skript ausführen wie folgt:
./dsreplication enable --host1 server1.example,com --port1 4444 --bindDN1 "cn=Directory Manager" --bindPassword1 "Passw0rd" --replicationPort1 1388 --host2 server2.example,com --port2 4444 --bindDN2 "cn=Directory Manager" --bindPassword2 "Passw0rd" --replicationPort2 1388 --adminUID admin --adminPassword "Passw0rd" --baseDN "dc=example,dc=com"
das Skript auf dem folgenden Schritt hängt:
Initializing registration information on server server2.example.com:4444 with the contents of server server1.example.com:4444 .....
Und auf die Protokolle überprüft Dort wird kein Fehler gemeldet.
Aber, wenn ich den folgenden Befehl ausführen:
./dsreplication status -h localhost -p 4444 --adminUID admin --adminPassword "Passw0rd" -X
es führt den folgenden Fehler:
The displayed information might not be complete because the following errors were encountered reading the configuration of the existing servers: Error on server2.example.com:4444: An error occurred connecting to the server. Details: javax.naming.AuthenticationException: [LDAP: error code 49 - Invalid Credentials] Error on server:4444: An error occurred connecting to the server. Details: javax.naming.AuthenticationException: [LDAP: error code 49 - Invalid Credentials]
Bitte mir helfen.
Vielen Dank im Voraus. „Invalid Credentials“ auf Server 2.
Überprüfen Sie die bindDN und bindPassword sind 2.
alle meine Passwörter sind gleich, auch auf den Servern, so sollte dies definitiv kein Problem sein. – user1944878