Member since
10-15-2019
2
Posts
0
Kudos Received
0
Solutions
10-16-2019
12:38 AM
@Shelton Thank you for your response but as of now first i am testing between server to server authentication and this is how my JAAS files looks like which i refereed from this wiki https://cwiki.apache.org/confluence/display/ZOOKEEPER/Server-Server+mutual+authentication QuorumServer { com.sun.security.auth.module.Krb5LoginModule required useKeyTab=true keyTab="<keytab path>" storeKey=true useTicketCache=false debug=false principal="<principal>/_HOST@[REALM]"; }; QuorumLearner { com.sun.security.auth.module.Krb5LoginModule required useKeyTab=true keyTab="<keytab path>" storeKey=true useTicketCache=false debug=false principal="<principal>/_HOST@[REALM]"; };
... View more
10-15-2019
07:55 AM
getting this exception while brining up the Zkservers
ERROR 2019-10-15 10:31:44,851 [main] QuorumPeerMain - Unexpected exception, exiting abnormally javax.security.sasl.SaslException: Failed to initialize authentication mechanism using SASL [Caused by javax.security.auth.login.LoginException: SASL-authentication failed because the specified JAAS configuration section 'QuorumServer' could not be found.] at org.apache.zookeeper.server.quorum.auth.SaslQuorumAuthServer.<init>(SaslQuorumAuthServer.java:68) at org.apache.zookeeper.server.quorum.QuorumPeer.initialize(QuorumPeer.java:886) at org.apache.zookeeper.server.quorum.QuorumPeerMain.runFromConfig(QuorumPeerMain.java:203) at org.apache.zookeeper.server.quorum.QuorumPeerMain.initializeAndRun(QuorumPeerMain.java:123) at org.apache.zookeeper.server.quorum.QuorumPeerMain.main(QuorumPeerMain.java:82) Caused by: javax.security.auth.login.LoginException: SASL-authentication failed because the specified JAAS configuration section 'QuorumServer' could not be found. at org.apache.zookeeper.server.quorum.auth.SaslQuorumAuthServer.<init>(SaslQuorumAuthServer.java:59)
... View more
Labels:
- Labels:
-
Apache Zookeeper