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

  • Home
  • SEARCH
  • 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 8498135
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 11, 20262026-06-11T00:19:10+00:00 2026-06-11T00:19:10+00:00

I am trying to install mongodb on my system and following these steps( http://docs.mongodb.org/manual/tutorial/install-mongodb-on-os-x/

  • 0

I am trying to install mongodb on my system and following these steps(http://docs.mongodb.org/manual/tutorial/install-mongodb-on-os-x/) in doing so. I have installed Homebrew and MacPorts and have installed the mongodb using both Homebrew and MacPorts. But when i type mongod:

I get this:

mongod --help for help and startup options
Sun Sep  9 20:58:35 [initandlisten] MongoDB starting : pid=6381 port=27017 dbpath=/data/db/ 64-bit host=Cs-MacBook-Pro.local
Sun Sep  9 20:58:35 [initandlisten] db version v2.0.7, pdfile version 4.5
Sun Sep  9 20:58:35 [initandlisten] git version: nogitversion
Sun Sep  9 20:58:35 [initandlisten] build info: Darwin Cs-MacBook-Pro.local 11.4.0 Darwin Kernel Version 11.4.0: Mon Apr  9 19:32:15 PDT 2012; root:xnu-1699.26.8~1/RELEASE_X86_64 x86_64 BOOST_LIB_VERSION=1_49
Sun Sep  9 20:58:35 [initandlisten] options: {}
Sun Sep  9 20:58:35 [initandlisten] exception in initAndListen: 10296 dbpath (/data/db/) does not exist, terminating
Sun Sep  9 20:58:35 dbexit: 
Sun Sep  9 20:58:35 [initandlisten] shutdown: going to close listening sockets...
Sun Sep  9 20:58:35 [initandlisten] shutdown: going to flush diaglog...
Sun Sep  9 20:58:35 [initandlisten] shutdown: going to close sockets...
Sun Sep  9 20:58:35 [initandlisten] shutdown: waiting for fs preallocator...
Sun Sep  9 20:58:35 [initandlisten] shutdown: lock for final commit...
Sun Sep  9 20:58:35 [initandlisten] shutdown: final commit...
Sun Sep  9 20:58:35 [initandlisten] shutdown: closing all files...
Sun Sep  9 20:58:35 [initandlisten] closeAllFiles() finished
Sun Sep  9 20:58:35 dbexit: really exiting now

When i type mongo, i get this:

MongoDB shell version: 2.0.7
connecting to: test
Sun Sep  9 20:58:39 Error: couldn't connect to server 127.0.0.1 shell/mongo.js:84
exception: connect failed

Need some help on this…

  • 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-11T00:19:12+00:00Added an answer on June 11, 2026 at 12:19 am

    Create a folder /data/db/ in /. This is where MongoDB stores all its data. Then make sure it’s readable and writable by MongoDB using chown or ⌘I in the Finder.

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

Sidebar

Related Questions

i'm trying to install mongoDB in my system. As instructed in http://www.mongodb.org/display/DOCS/PHP+Language+Center , I
I am trying to install mongodb on my production instance, following this tutorial .
I am trying: install.packages(RGoogleDocs, repos = http://www.omegahat.org/R) As suggested here , but it doesn't
I am trying to install mongodb on my local computer. I have windows 7
Trying to install mysql-python. Got following error. Got mysql and pythond already installed. Any
Trying to install http://www.dotlesscss.org/ to my project and I'm a bit stuck on step
i have installed mongodb on win32 and i am trying to run it as
Trying to install Gitolite on a Media Temple DV server following these instructions .
Am trying to install juggernaut following the steps here juggernaut -c juggernaut.yml, I got
When trying to install the ADT plugin following Android Developper Site' instructions on a

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.