title: Zookeeper can not run becuase of Invalid config
body: <p>The problem is when I run "./zkServer.sh start" , zookeeper STRATED. But when I check the status, it shows: </p>
  
  <pre><code>Error contacting service. It is probably not running.
  </code></pre>
  
  <p>I create three nodes on vmware, and my config is</p>
  
  <pre><code>tickTime=2000 
  dataDir=/usr/src/zookeeper
  clientPort=2181
  initLimit=10
  syncLimit=5
  server.1=192.168.237.129:2888:3888
  server.2=192.168.237.130:2888:3888
  server.3=192.168.237.132:2888:3888
  </code></pre>
  
  <p>I've already created myid:
  <a href="http://i.stack.imgur.com/cumOi.jpg" rel="nofollow">myid and zookeeper creates zookeeper_server.pid each time when I start zookeeper</a></p>
  
  <p>Zookeper does not use myid, but creates a new random zookeeper_server.pid each time.</p>
  
  <p>Below is the zookeeper.out:</p>
  
  <pre><code>2016-06-09 19:06:28,768 [myid:] - INFO  [main:QuorumPeerConfig@103] - Reading configuration from: /usr/src/zookeeper-3.4.6/bin/../conf/zoo.cfg
  2016-06-09 19:06:28,778 [myid:] - INFO  [main:QuorumPeerConfig@340] - Defaulting to majority quorums
  2016-06-09 19:06:28,779 [myid:] - ERROR [main:QuorumPeerMain@85] - Invalid config, exiting abnormally
  org.apache.zookeeper.server.quorum.QuorumPeerConfig$ConfigException: Error processing /usr/src/zookeeper-3.4.6/bin/../conf/zoo.cfg
      at org.apache.zookeeper.server.quorum.QuorumPeerConfig.parse(QuorumPeerConfig.java:123)
      at org.apache.zookeeper.server.quorum.QuorumPeerMain.initializeAndRun(QuorumPeerMain.java:101)
      at org.apache.zookeeper.server.quorum.QuorumPeerMain.main(QuorumPeerMain.java:78)
  Caused by: java.lang.IllegalArgumentException: /usr/src/zookeeper/myid file is missing
      at org.apache.zookeeper.server.quorum.QuorumPeerConfig.parseProperties(QuorumPeerConfig.java:350)
      at org.apache.zookeeper.server.quorum.QuorumPeerConfig.parse(QuorumPeerConfig.java:119)
      ... 2 more
  Invalid config, exiting abnormally
  </code></pre>