title: Cannot create replicaset in MongoDB using rs.add or rs.initiate(configObject)
body: <p>I have tried creating a replica set while logged into a mongo shell using the following commands:</p>
  
  <pre><code>var replConfig = {
      _id:"repl_dal",
      version: 1,
      members:[
          {
              _id:1,
              host:'127.0.0.1:27018',
              priority: 10
          },
          {
              _id:2,
              host:'127.0.0.1:27019',
          },
          {
              _id:3,
              host:'127.0.0.1:27020',
              arbiterOnly: true
          }
      ]
  }
  
  rs.initiate(replConfig)
  </code></pre>
  
  <p>I also tried this:</p>
  
  <pre><code>rs.add('host:127.0.0.1:27017')
  </code></pre>
  
  <p>It threw an error:
  Error: assert failed : no config object retrievable from local.system.replset.</p>