Ask Different is a question and answer site for power users of Apple hardware and software. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

After installing mongodb using homebrew, and following the information that homebrew provided, I did the following:

launchctl load -w ~/Library/LaunchAgents/org.mongodb.mongod.plist 

But got the following error:

Bug: launchctl.c:2406 (25182):13: (dbfd = open(g_job_overrides_db_path, O_RDONLY | O_EXLOCK | O_CREAT, S_IRUSR | S_IWUSR)) != -1 
launch_msg(): Socket is not connected

Mongodb starts fine in a terminal.

share|improve this question
up vote 0 down vote accepted

It seems like the problem was tmux. When executing launchctl without tmux running this bug doesn't occur.

share|improve this answer
You can, and should, accept your own answer when you solve your own problem. – Jason Salaz Mar 14 '12 at 23:07

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.