Uploaded image for project: 'Core Server'
  1. Core Server
  2. SERVER-2850

Error generated when using mongodump with --oplog and authentication

    • Type: Icon: Bug Bug
    • Resolution: Done
    • Priority: Icon: Minor - P4 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

      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@mongodb.com Mathias Stearn
            Reporter:
            neil6179 Neil Smith
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved: