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

Error generated when using mongodump with --oplog and authentication

    XMLWordPrintable

    Details

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

      Description

      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 }

        Attachments

          Activity

            People

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

              Dates

              Created:
              Updated:
              Resolved: