Error generated when using mongodump with --oplog and authentication

XMLWordPrintableJSON

    • Type: Bug
    • Resolution: Done
    • Priority: Minor - P4
    • 1.8.2, 1.9.0
    • Affects Version/s: 1.8.0
    • Component/s: Tools
    • None
    • Environment:
      MongoDB 1.8.0 on localhost with --journal and authenticaiton enabled, running on 64bit Ubuntu 10.10.
    • Linux
    • None
    • 3
    • None
    • None
    • None
    • None
    • None
    • None

      This works fine:
      mongodump -u root -p

      {password}

      However this:
      mongodump -u root -p {password}

      --oplog

      generates the following error:
      assertion: 13106 nextSafe():

      { $err: "unauthorized db:local lock type:-1 client:127.0.0.1", code: 10057 }

            Assignee:
            Mathias Stearn
            Reporter:
            Neil Smith
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved: