title: "errmsg" : "server is not running with --replSet"
body: <p>i am creating replica set on my local system in  windows environment 
  by following step </p>
  
  <pre><code>mkdir -p \srv\mongodb\rs0-0 \srv\mongodb\rs0-1 \srv\mongodb\rs0-2
  mongod --port 27017 --dbpath \srv\mongodb\rs0-0 --replSet rs0 --smallfiles --oplogSize 128
  mongod --port 27018 --dbpath \srv\mongodb\rs0-1 --replSet rs0 --smallfiles --oplogSize 128
  mongod --port 27019 --dbpath \srv\mongodb\rs0-2 --replSet rs0 --smallfiles --oplogSize 128
  </code></pre>
  
  <p>and then</p>
  
  <pre><code>mongo shell type mongo --port 27017
  rs.initiate()
  </code></pre>
  
  <p>but i am getttin error  </p>
  
  <pre><code>"{ "ok" : 0, "errmsg" : "server is not running with --replSet" }"
  </code></pre>
  
  <p>thanks in advance</p>