cant execute db.printCollectionStats() on

XMLWordPrintableJSON

    • Type: Question
    • Resolution: Done
    • Priority: Major - P3
    • None
    • Affects Version/s: None
    • Component/s: Admin
    • None
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      prodRepl:PRIMARY> db.printCollectionStats()
      2015-03-30T14:58:41.187+0530 error:

      { "$err" : "not authorized for query on admin.system.namespaces", "code" : 13 }

      at src/mongo/shell/query.js:131

            Assignee:
            Unassigned
            Reporter:
            sampat
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved: