2016-04-10 1 views
1

Oracle JDK 7.80と一緒にOpenDJ-2.4.6を使用していて、2つのこれらのサーバーのOSはAmazon Linuxです。OpenDJマルチマスター・レプリケーションが失敗する(登録情報の初期化ステップでハングする):: javax.naming.AuthenticationException

OpenDJセットアップは完全に正常に動作します。私はエラーもなくサーバーを起動することができます。

次のように私は "dsreplication" スクリプトを実行するときには、次のとおりです。

./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"

スクリプトは、次のステップでハング:

Initializing registration information on server server2.example.com:4444 with the contents of server server1.example.com:4444 ..... 

とログを確認するにそこにはエラーは報告されていません。

./dsreplication status -h localhost -p 4444 --adminUID admin --adminPassword "Passw0rd" -X 

それは次のようなエラーがスローされます:

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]

私を助けてください、私は、次のコマンドを実行したときに

しかし、。

ありがとうございます。

答えて

0

エラーがより明示的なことができませんでした:「無効な資格証明」サーバ2

にバインドDNとBINDPASSWORDがOpenDJでレプリケーションを行う場合、ホスト名が解決されなければならないサーバ2

+0

私のすべてのパスワードは、サーバー間でも同じであるため、間違いなく問題になるはずです。 – user1944878

0

に対して有効でチェックどちらのマシンからもアドレス可能です。これがあなたのAmazon Linuxサーバーの場合であることを確認しましたか?

関連する問題