Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
This question does not appear to be about a specific programming problem, a software algorithm, or software tools primarily used by programmers. If you believe the question would be on-topic on another Stack Exchange site, you can leave a comment to explain where the question may be able to be answered.
Closed 2 years ago.
Improve this question
It's been nearly a year since I last used Mongodb on Mac OS X and I saw it wasn't running. I've tried everything from uninstalling it using Homebrew and re-installing. When I try to start, I get the following:
$ mongod --config /usr/local/etc/mongod.conf
Abort trap: 6
Any help in debugging is greatly appreciated.
I found my log file in /usr/local/var/log/mongodb/mongo.log
and buried in the data was
{"t":{"$date":"2020-10-16T10:07:29.510+02:00"},"s":"F", "c":"STORAGE", "id":4671205, "ctx":"initandlisten","msg":"This version of MongoDB is too recent to start up on the existing data files. Try MongoDB 4.2 or earlier."}
So I downgraded to 4.2 and seems to start up
Related
Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
This question does not appear to be about a specific programming problem, a software algorithm, or software tools primarily used by programmers. If you believe the question would be on-topic on another Stack Exchange site, you can leave a comment to explain where the question may be able to be answered.
Closed 4 years ago.
Improve this question
When i restart my PC (Ubuntu OS) , i have to restart my mongodb server.
(service mongod restart)
So any way to not always restart my mongo server
I think this will work.
systemctl enable mongod.service
Check the below link once.
Ask Ubuntu
Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
This question does not appear to be about a specific programming problem, a software algorithm, or software tools primarily used by programmers. If you believe the question would be on-topic on another Stack Exchange site, you can leave a comment to explain where the question may be able to be answered.
Closed 6 years ago.
Improve this question
I am following these instructions to install MongoDB 3.2.5 on Ubuntu 15.10:
https://docs.mongodb.org/manual/tutorial/install-mongodb-on-linux/#install-for-64-bit-linux
I am up to step 3:
Copy the extracted folder to the location from which MongoDB will run.
What location should MongoDB run from?
(Note: I believe this location should be different from where data is stored by defaut ie /data/db)
You are free to choose where you want to install MongoDB, but it is customary to install software into /opt when not installing software using the package manager (apt in case of Ubuntu).
Why aren't you following the guide for installing on Ubuntu - it's much simpler: https://docs.mongodb.org/manual/tutorial/install-mongodb-on-ubuntu/
Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
This question does not appear to be about a specific programming problem, a software algorithm, or software tools primarily used by programmers. If you believe the question would be on-topic on another Stack Exchange site, you can leave a comment to explain where the question may be able to be answered.
Closed 7 years ago.
Improve this question
the question is rather simple but I cannot hunt down the answer . I have an Ubuntu 14.04 LTS running on a vmware . For some testing purpose I need to launch another Ubuntu 14.04 LTS iso . I would like to know if I can use the same existing ISO i have for my older vmware install or will it screw up my old install ?
Using the existing ISO should be fine. Think of it like installing Ubuntu on 2 different computers with the same installation CD.
Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
This question does not appear to be about a specific programming problem, a software algorithm, or software tools primarily used by programmers. If you believe the question would be on-topic on another Stack Exchange site, you can leave a comment to explain where the question may be able to be answered.
Closed 8 years ago.
Improve this question
I have installed MongoDB on OSX using Homebrew.
When I run:
mongo
Mongo starts but doesnt seem to be able to connect to the test database. This is what comes up:
MongoDB shell version: 2.6.3
connecting to: test
Mongo doesn't then get any further.
Thanks,
Anthony
Did you start the mongod process? mongo is just a client for connecting to the database. Checkout brew info mongo for several methods on running/starting the database itself.
Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
This question does not appear to be about a specific programming problem, a software algorithm, or software tools primarily used by programmers. If you believe the question would be on-topic on another Stack Exchange site, you can leave a comment to explain where the question may be able to be answered.
Closed 8 years ago.
Improve this question
I am trying to figure out what to install on my Ubuntu 12.04 server. I've read on multiple blogsites on how to install mongodb and it states there that you can install it through mongodb-10gen. On the other hand, the documentation on the mongodb site says that you should install it through mongodb-org. So which is which, and what is the difference between the two?
I've tried installing through mongodb-10gen and tried starting mongodb. The response said that it started but when I tried accessing mongodb it won't acess. I've tried checking the status and the response was it was not running.