I installed MongoDB with Homebrew. I also created a directory called /data/db.
However, when I run mongod, I get this message:
exception in initAndListen: 98 Unable to lock file: /data/db/mongod.lock Resource temporarily unavailable. Is a mongod instance already running?, terminating
I doubt it's already running because I just installed it. I've quit the terminal and rebooted, but it doesn't help.
Here's a screenshot of my terminal
Any idea what I need to do? Thanks!