Skip to content

Instantly share code, notes, and snippets.

@mads-hartmann
Created June 30, 2012 14:10
Show Gist options
  • Save mads-hartmann/3023885 to your computer and use it in GitHub Desktop.
Save mads-hartmann/3023885 to your computer and use it in GitHub Desktop.
Weird Mountain Lion / MongoDB issue

Trying to boot my Lift application it fails and mongod logs

Sat Jun 30 16:05:12 [conn4]  authenticate: { authenticate: 1, user: "mads", nonce: "...", key: "..." }
Sat Jun 30 16:05:12 [conn4] auth: couldn't find user mads, cataalog.system.users

Now, I have previously added a user to my cataalog database

> use cataalog
switched to db cataalog
> db.system.users.find()
{ "_id" : ObjectId("..."), "user" : "mads", "readOnly" : false, "pwd" : "..." }

So why can't it find my user?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment