Unable to authenticate suddenly

XMLWordPrintableJSON

    • Type: Bug
    • Resolution: Done
    • Priority: Major - P3
    • None
    • Affects Version/s: 2.4.10
    • Component/s: Security
    • None
    • ALL
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      Hi,

      Today my app crashed suddenly when viewing the log file i found that it was unable to authenticate the user.

      I've tried to log into mango shell with the admin user but i get the following message :
      Error: 18

      { code: 18, ok: 0.0, errmsg: "auth fails" }

      at src/mongo/shell/db.js:228

      Then i've updated the mongo config file and commented out "auth=true" then restart mongodb service. I was able to login to mongo shell as admin and managed to change the password. Back to the old config (with auth=true) and i still get a "auth fails".

      Can anyone help me ?

      MongoDB shell version: 2.4.10
      db version v2.4.10

            Assignee:
            Mark Agarunov (Inactive)
            Reporter:
            Mohamed Marrouchi
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved: