Questions tagged [mongodb]

Scalable, high-performance, open source, document-oriented database.

MongoDB is a database management system for use with no-sql. The database using JSON and BSON to store, access, track and manipulate data.

It is compatible with the 64-bit version of Ubuntu.

More information about Mongo.

363 questions
113
votes
10 answers

MongoDB loads but breaks, returning status=14

So im trying to setup Mongodb on Ubuntu 16.04 but im running into trouble. when running : sudo systemctl status mongodb I get the following: mongodb.service - High-performance, schema-free document-oriented database Loaded: loaded…
user2915962
  • 1,231
112
votes
10 answers

How to start MongoDB server on system start?

I have to start my MongoDB server every time the system restarts. How do I configure it to start with my OS? I am on Ubuntu 11.04.
Pankaj
82
votes
4 answers

Permanent PATH variable

How will I make this /media/De Soft/mongodb/bin PATH variable permanent? Everyone is saying "export PATH=$PATH:media/De\ Soft/mongodb/bin to your ~/.profile, or .bashrc, or .zshenv depending on your shell". I don't know what is ~/.profile, or…
Towhid
  • 4,195
81
votes
1 answer

systemctl: command not found on ubuntu 16.04

when I tried to install RocketChat in Ubuntu 16.04 In Command Prompt I enter. systemctl enable mongod After That I got The issue. systemctl: command not found How to solve this?
73
votes
13 answers

What is a good MongoDB GUI client?

I've been using Rockmongo on Windows - it's a php based web tool. But on Ubuntu (12.04) it's behaving funny - queries timing out often - and I'm looking for better clients. Does anyone know anything good for MongoDB on Ubuntu?
Eyal
  • 5,075
57
votes
3 answers

How can I uninstall MongoDB and reinstall the latest version?

I need to uninstall mongodb completely from my system (Ubuntu 11.10) and install version 2.0.5. Currently, when I run: mongo db I get the following error: MongoDB shell version: 2.0.1 connecting to: db Wed Jun 6 13:05:03 Error: couldn't…
jyothi
  • 571
56
votes
3 answers

Failed to start mongod.service: Unit mongod.service not found

For whatever reason, whenever I try to start MongoDB as a service (sudo service mongod start) I get the following error: Failed to start mongod.service: Unit mongod.service not found. I followed Installation Steps mention following link mongo db…
54
votes
11 answers

How to install Robomongo on Ubuntu?

I am using MongoDB and I want to install Robomongo on Ubuntu. Are there any instructions on how I can I install Robomongo on my machine?
54
votes
7 answers

How do I modify "/sys/kernel/mm/transparent_hugepage/enabled"

I use mongodb 3.0 and I find a warning: MongoDB shell version: 3.0.0 connecting to: test Server has startup warnings: 2015-03-13T16:28:29.405+0800 I CONTROL [initandlisten] 2015-03-13T16:28:29.406+0800 I CONTROL [initandlisten] ** WARNING:…
Feng Yu
  • 857
52
votes
13 answers

MongoDB 2.6 does not start on Ubuntu 15.04

I installed MongoDB 2.6 on clean installed Ubuntu 15.04: sudo apt-key adv --keyserver hkp://keyserver.ubuntu.com:80 --recv 7F0CEB10 echo 'deb http://downloads-distro.mongodb.org/repo/ubuntu-upstart dist 10gen' | sudo tee…
44
votes
7 answers

Apt-get fails on 16.04 or 18.04 installing mongodb

When I attempt to install mongodb using the instructions on https://docs.mongodb.com/getting-started/shell/tutorial/install-mongodb-on-ubuntu/ on 16.04 I get the following result on the install step: jonathan@poseidon:~$ sudo apt-get install…
Jonathan
  • 1,498
41
votes
4 answers

error in installing mongo in virtual machine

I try to install mongo using mongo documentation: Install MongoDB on Ubuntu no errors were mentioned during the installation. But when I run the mongo command following error was displayed in the terminal. Failed global initialization: BadValue…
Gayan Charith
  • 565
  • 1
  • 4
  • 9
39
votes
5 answers

Where is mongo database folder on the filesystem

I'm using Ubuntu 16.04. I have set up a database MongoDB. When I start it (with mongod command) it says that database is located at /data/db (dbpath=/data/db). The database works fine. But in files explorer I cannot find that folder. I've looked in…
croraf
  • 614
36
votes
2 answers

Install MongoDB shell client without server

Where is the shell client for MongoDB, I found a number of packages related to MongoDB in Ubuntu 18.04 LTS but can't seem to find information where exactly is this client and what I should install. I know that if I install the MongoDB package the…
31
votes
5 answers

How to install Mongodb PHP extension in Ubuntu 16.04 LTS

I'm running Ubuntu 16.04 LTS and I want to use Mongodb with PHP. For this I tried sudo apt-get install php5-mongo which is enough for Ubuntu 14.04 LTS would be enough but I was wrong. I'm getting error message as: E: Unable to locate package…
1
2 3
24 25