title: Cannot start Zookeeper due to: Exception causing close of session 0x0 due to java.io.EOFException
body: <p>I am trying to start up Zookeeper via the CLI with the command:</p>
  
  <p><code>bin/zookeeper-server-start.sh ../config/zookeeper.properties</code></p>
  
  <p>And it hums along for a second with what all seems to be correct until it says this:</p>
  
  <pre><code>INFO binding to port 0.0.0.0/0.0.0.0:2181 (org.apache.zookeeper.server.NIOServerCnxnFactory)
  </code></pre>
  
  <p>and then the below loops indefinitely until I exit:</p>
  
  <pre><code> [2018-08-10 15:07:48,223] INFO Accepted socket connection from /172.31.39.32:46374 (org.apache.zookeeper.server.NIOServerCnxnFactory)
      [2018-08-10 15:07:48,228] WARN Exception causing close of session 0x0 due to java.io.IOException: ZooKeeperServer not running (org.apache.zookeeper.server.NIOServerCnxn)
      [2018-08-10 15:07:48,228] INFO Closed socket connection for client /172.31.39.32:46374 (no session established for client) (org.apache.zookeeper.server.NIOServerCnxn)
  </code></pre>
  
  <p>This is a single server and I believe a single node test server, so there isn't a quorum or other pieces running. My zookeeper config is basic, it only contains this: </p>
  
  <pre><code>dataDir=/tmp/zookeeper
  clientPort=2181
  maxClientCnxns=0
  </code></pre>
  
  <p>The weird thing is, my zookeeper had been running fine, and I had made NO changes to the config. Pulled it down to try to fix something else to do a quick restart on the zookeeper, and it won't budge. I've checked, and nothing else is running on port 2181.</p>
  
  <p>I see this question has been asked several times with no answers, any ideas? </p>