Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 9255683
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 18, 20262026-06-18T11:45:59+00:00 2026-06-18T11:45:59+00:00

I have a Mac running 10.8.2 and just installed mongodb running the brew install

  • 0

I have a Mac running 10.8.2 and just installed mongodb running the brew install mongodb command. Everything seemed to be installed correctly. However when I run mongo to enter the shell I get the following error:

Alexander-Burgos-Collazos-MacBook:~ Alexander$ mongo
MongoDB shell version: 2.2.3
connecting to: test
Wed Feb  6 19:44:59 Error: couldn't connect to server 127.0.0.1:27017 src/mongo/shell/mongo.js:91
exception: connect failed

I followed some threads around here but never got a clear and concise answer as to how to fix it. I entered mongod in the command terminal and it returned:

all output going to: /usr/local/var/log/mongodb/mongo.log

From there on everything I input does not return anything. I am confused as to how this really works.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-18T11:46:00+00:00Added an answer on June 18, 2026 at 11:46 am

    May be mongod not started.

    For start manually use command:

    /usr/local/opt/mongodb/mongod run --config /usr/local/etc/mongod.conf
    

    But brew has a lanchctl plist. You can run this command and mongodb launch at login:

    launchctl load ~/Library/LaunchAgents/homebrew.mxcl.mongodb.plist
    

    More about brew version mongodb:

    brew info mongodb
    

    More about mongod you can read in manual.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have XAMP installed on my mac and I tried running the command -
I have installed git and svn with homebrew on my mac running 10.7.4. There
I have installed Nginx 1.2.0 with Passenger on my Mac Mini running Lion Server.
I just installed GMT4 (Generic Mapping Tools) from MacPorts and have run into some
I have a Mac running Lion and I just downloaded latest version of apache.
I just installed mysql on a mac running 10.6. The mysql version is 5.1.56.
I am running Python 2.7 under Mac OS 10.6.4, and I just installed wxPython
I have just installed PostgreSQL 8.3.4 on Mac OS X 10.5 (using ports), but
I've just installed HBase 0.94.2 on my iMac, running Sun Java 7 and Mac
I've just installed Ocaml on Mac OS X, and when I run the ocaml

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.