title: In slave Mongodb 3.0.1, when I run "show dbs" command I'm getting the below error
body: <p>After clustering the Mongodb 3.0.1 in two machines. In slave mode when I run this command <strong>"show dbs"</strong> it is showing <strong>"not master"</strong> error.</p>
  
  <p>Here is the error:</p>
  
  <pre><code>E QUERY Error: listDatabases failed: 
          { "note" : "from execCommand", "ok" : 0, "errmsg" : "not master" }
  at Error (&lt;anonymous&gt;)
  </code></pre>
  
  <p>Please tell me, how can I overcome this problem.</p>