<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>question HDF : Zookeeper server not starting after MIT Kerberos is enabled... in Support Questions</title>
    <link>https://community.cloudera.com/t5/Support-Questions/HDF-Zookeeper-server-not-starting-after-MIT-Kerberos-is/m-p/291367#M215445</link>
    <description>&lt;P&gt;Dear All,&lt;/P&gt;
&lt;P&gt;I have ran into a very troublesome issue which is creating headache for the last 1 week. I installed and HDF Cluster(v3.4.1.1) with the services Nifi,Kafka,Metrics and Smart Sense. Everything was working perfectly until I decided to enable Kerberos(MIT) in the cluster. During the keberization, everything went fine till the last step.(Start and Test services). At that point, the Zookeeper server start got failed and thereafter no services are starting. The following is the error I got from the zookeeper logs.Any help is appreciated.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;2020-03-06 18:38:51,489 - INFO [main:QuorumPeerMain@127] - Starting quorum peer&lt;BR /&gt;2020-03-06 18:38:51,552 - ERROR [main:QuorumPeerMain@89] - Unexpected exception, exiting abnormally&lt;BR /&gt;java.io.IOException: Could not configure server because SASL configuration did not allow the ZooKeeper server to authenticate itself properly:&lt;BR /&gt;javax.security.auth.login.LoginException: Message stream modified (41)&lt;BR /&gt;at org.apache.zookeeper.server.ServerCnxnFactory.configureSaslLogin(ServerCnxnFactory.java:207)&lt;BR /&gt;at org.apache.zookeeper.server.NIOServerCnxnFactory.configure(NIOServerCnxnFactory.java:87)&lt;BR /&gt;at org.apache.zookeeper.server.quorum.QuorumPeerMain.runFromConfig(QuorumPeerMain.java:130)&lt;BR /&gt;at org.apache.zookeeper.server.quorum.QuorumPeerMain.initializeAndRun(QuorumPeerMain.java:111)&lt;BR /&gt;at org.apache.zookeeper.server.quorum.QuorumPeerMain.main(QuorumPeerMain.java:78)&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Note :&lt;/P&gt;
&lt;P&gt;I tried setting the following resolutions that I found online. But nothing worked.&lt;/P&gt;
&lt;PRE&gt;1. udp_preference_limit = 1 &lt;BR /&gt;&lt;SPAN&gt;2. aes256-cts&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;aes128-cts&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;des3-hmac-sha1&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;arcfour-hmac&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;des-hmac-sha1&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;des-cbc-md5&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;des-cbc-crc&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;3.Regenerate Keytabs&lt;/PRE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Tue, 21 Apr 2026 11:32:32 GMT</pubDate>
    <dc:creator>vivek_b2</dc:creator>
    <dc:date>2026-04-21T11:32:32Z</dc:date>
    <item>
      <title>HDF : Zookeeper server not starting after MIT Kerberos is enabled...</title>
      <link>https://community.cloudera.com/t5/Support-Questions/HDF-Zookeeper-server-not-starting-after-MIT-Kerberos-is/m-p/291367#M215445</link>
      <description>&lt;P&gt;Dear All,&lt;/P&gt;
&lt;P&gt;I have ran into a very troublesome issue which is creating headache for the last 1 week. I installed and HDF Cluster(v3.4.1.1) with the services Nifi,Kafka,Metrics and Smart Sense. Everything was working perfectly until I decided to enable Kerberos(MIT) in the cluster. During the keberization, everything went fine till the last step.(Start and Test services). At that point, the Zookeeper server start got failed and thereafter no services are starting. The following is the error I got from the zookeeper logs.Any help is appreciated.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;2020-03-06 18:38:51,489 - INFO [main:QuorumPeerMain@127] - Starting quorum peer&lt;BR /&gt;2020-03-06 18:38:51,552 - ERROR [main:QuorumPeerMain@89] - Unexpected exception, exiting abnormally&lt;BR /&gt;java.io.IOException: Could not configure server because SASL configuration did not allow the ZooKeeper server to authenticate itself properly:&lt;BR /&gt;javax.security.auth.login.LoginException: Message stream modified (41)&lt;BR /&gt;at org.apache.zookeeper.server.ServerCnxnFactory.configureSaslLogin(ServerCnxnFactory.java:207)&lt;BR /&gt;at org.apache.zookeeper.server.NIOServerCnxnFactory.configure(NIOServerCnxnFactory.java:87)&lt;BR /&gt;at org.apache.zookeeper.server.quorum.QuorumPeerMain.runFromConfig(QuorumPeerMain.java:130)&lt;BR /&gt;at org.apache.zookeeper.server.quorum.QuorumPeerMain.initializeAndRun(QuorumPeerMain.java:111)&lt;BR /&gt;at org.apache.zookeeper.server.quorum.QuorumPeerMain.main(QuorumPeerMain.java:78)&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Note :&lt;/P&gt;
&lt;P&gt;I tried setting the following resolutions that I found online. But nothing worked.&lt;/P&gt;
&lt;PRE&gt;1. udp_preference_limit = 1 &lt;BR /&gt;&lt;SPAN&gt;2. aes256-cts&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;aes128-cts&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;des3-hmac-sha1&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;arcfour-hmac&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;des-hmac-sha1&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;des-cbc-md5&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;des-cbc-crc&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;3.Regenerate Keytabs&lt;/PRE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 21 Apr 2026 11:32:32 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/HDF-Zookeeper-server-not-starting-after-MIT-Kerberos-is/m-p/291367#M215445</guid>
      <dc:creator>vivek_b2</dc:creator>
      <dc:date>2026-04-21T11:32:32Z</dc:date>
    </item>
    <item>
      <title>Re: HDF : Zookeeper server not starting after MIT Kerberos is enabled...</title>
      <link>https://community.cloudera.com/t5/Support-Questions/HDF-Zookeeper-server-not-starting-after-MIT-Kerberos-is/m-p/291380#M215454</link>
      <description>&lt;P&gt;Issue resolved. Donno how it worked,but &lt;STRONG&gt;commenting out&lt;/STRONG&gt; the following property in /etc/krb5.conf resolved the issue.&lt;/P&gt;&lt;P&gt;#renew_lifetime =7d&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Same can be done through - Ambari-Services-Kerberos-Configs-Advanced krb5-conf-&amp;nbsp;krb5-conf template.&lt;/P&gt;&lt;P&gt;Save the configuration and restart&lt;/P&gt;</description>
      <pubDate>Mon, 09 Mar 2020 05:33:25 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/HDF-Zookeeper-server-not-starting-after-MIT-Kerberos-is/m-p/291380#M215454</guid>
      <dc:creator>vivek_b2</dc:creator>
      <dc:date>2020-03-09T05:33:25Z</dc:date>
    </item>
  </channel>
</rss>

