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

learn more… | top users | synonyms

0
votes
1answer
608 views

Cannot start mongod service on Ubuntu 15.10

I uninstalled mongo using the following commands: sudo apt-get purge mongodb-org sudo apt-get autoremove sudo rm /etc/apt/sources.list.d/mongodb.list Then installed it again using following ...
1
vote
2answers
328 views

What is the correct way to ensure `mongod` starts on system startup in 16.04?

I installed MongoDB through the software centre in Ubuntu 16.04: mongodb 1:2.6.10-0ubuntu1 I believe this currently contains MongoDB 2.6.10. I am running an application on apache2 localhost setup ...
6
votes
3answers
17k views

What is the default data directory for mongodb if we install that in amazon ec2

I tried to find this info everywhere and couldn't find it. I already change mongodb.conf so I forget where the original directory is.
1
vote
0answers
51 views

MongoDB - Unit mongod.service can't found - Ubuntu 16.04

When I try to start MongoDB, I get this error: # mongo MongoDB shell version: 3.2.6 connecting to: test 2016-05-21T16:14:31.183+0300 W NETWORK [thread1] Failed to connect to 127.0.0.1:27017, ...
25
votes
3answers
94k views

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 ...
4
votes
2answers
4k views

Can I use 14.04 MongoDB Packages with 16.04?

Unfortunately the official Ubuntu package for MongoDB is still stuck on 2.6, which is ancient at this point (this bug didn't get picked up for vivid, wily or xenial). MongoDB has not yet released a ...
0
votes
0answers
12 views

Mongo DB crashing a lot [closed]

How can I stop my mongo database from crashing inside the linux kernel? Here is my config: - true = false Here is my config: - true = false
0
votes
1answer
26 views

How can i install Mongodb on 32 bit ubuntu?

Is there any possible for installation of mongodb on ubuntu
0
votes
1answer
22 views

Unable to install mongodb on ubuntu 15.10 [duplicate]

There is an errors when executing,the error as follows. pccs063@pccs063-System-Product-Name:~$ mongo MongoDB shell version: 2.4.14 connecting to: test Fri May 13 13:03:55.501 Error: couldn't connect ...
-1
votes
0answers
5 views

processing mongodb-10gen

I've got an Errors were encountered while processing mongodb-10gen. when I executing this comment(sudo apt-get install mongodb-10gen) and at the end of execution shows as follows: "Errors were ...
0
votes
2answers
111 views

Mongodb (3.2) doesn't start on Lubuntu 16.04LTS as service

For whatever reason, whenever I try to start it as a service (sudo service mongod start) I get the following error: Failed to start mongod.service: Unit mongod.service not found. I followed the ...
1
vote
0answers
33 views

Mongod service suddenly stopped at night. Understanding why

I've created a node.js server with a mongodb database on Ubuntu. I installed mongodb with the official documentation, using upstart. This morning, my node server wake me up with crash logs saying the ...
2
votes
4answers
2k views

How to find out on which port mongo is?

I know that default mongo port is 27017 and I can connect to this instance on such port. But I tried to figure it out by other means. I found that mongo is running by ps aux | grep mongo with it I ...
0
votes
1answer
73 views

MongDB installation failed on Ubuntu 16.04

I followed instructions given on the official MongoDB website (https://docs.mongodb.org/manual/tutorial/install-mongodb-on-ubuntu/) and I get this error when trying to install MongoDB. How to fix this ...
0
votes
0answers
30 views

How to install MEAN JS on Ubuntu 14.04?

I have tried to install MEAN JS on my local machine by myself but it did not work. Has anybody experience with that or maybe know about a proved step by step guide? There are some instructions when ...
39
votes
12answers
34k views

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 ...
0
votes
1answer
106 views

MongoDB 3.2.6 init script is missing

I followed the directions to install MongoDB via apt-get. There was a hiccup with verification, but tracking this down on StackExchange indicated it was a known issue with the signing process, so I ...
13
votes
6answers
75k views

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.
0
votes
1answer
600 views

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 thought that sudo apt-get install php5-mongo (which is enough for Ubuntu 14.04 LTS) would be enough but I was wrong. I'm ...
0
votes
0answers
104 views

MongoDB 3.0.2 won't start after upgrading to Ubuntu 16.04

I recently upgraded to Ubuntu 16.04 after which MongoDB 3.0.2 is not starting. $ sudo service mongod start which would throw error: Failed to start mongod.service: Unit mongod.service failed to ...
9
votes
3answers
6k views

Install Mongo 3.2 on Ubuntu 15.10

I want to install Mongo 3.2 on Ubuntu 15.10. The official mongodb site gives steps up to 14.04. On the other hand, using the normal ppa from Ubuntu uses the 2.6 version (which is kinda way too ...
1
vote
0answers
71 views

can't add key - keyserver timed out

I'm trying to install mongodb on ubuntu 15.10. While following this - Install Mongo 3.2 on Ubuntu 15.10 - i got the following error message: W: GPG error: http://repo.mongodb.org ...
3
votes
1answer
32 views

Using apt-get to install always fails referencing MongoDB not starting

I tried to install mongodb last week for an unrelated project and now whenever I try to sudo apt-get install any other package I get an error that says: * Starting database mongodb ...
4
votes
1answer
157 views

Robomongo not switching keyboard layouts without reload on Ubuntu

I have installed Robomongo 0.8.4(a mongodb administering tool) on Ubuntu 13.10 with a deb-package downloaded from it's official site. When I switch the keyboard layout it does switch system-wide but ...
1
vote
1answer
36 views

Mongod service doesn't start with enableEncryption: true option in mongod.conf

According to «Configuration File Options» manual, the MongoDB security options have a boolean parameter enableEncryption. I paid attention that the service mongod of MongoDB 3.2.4 is failed to start ...
0
votes
1answer
206 views

Can't start MongoDB, mongod is always stop/waiting

I try to run MongoDB 3.2.4 on Ubuntu 14.04: sudo service mongod start And get the result: mongod start/running, process 67725 But when I check the status I get: mongod stop/waiting I tried to ...
34
votes
4answers
52k views

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 ...
11
votes
4answers
12k views

MongoDB 3.0.2 won't start after upgrading to Ubuntu 15.10

I recently upgraded to Ubuntu 15.10 after which MongoDB 3.0.2 is not starting. $ sudo service mongod start which would throw error: Failed to start mongod.service: Unit mongod.service failed to ...
0
votes
0answers
71 views

Mongo DB installation error in Ubuntu 15.10

So I tried installing MongoDB on my Ubuntu 15.10 as mentioned on this thread. http://askubuntu.com/a/724788/525385 On sudo apt-get install mongodb-org I get the following message Get:1 ...
0
votes
0answers
14 views

Turning home server into MongoDb server

I have an old laptop from that I want to turn into a MongoDB server and connect to it from a VPS. I want to know the steps necessary for me to turn this home server into a server that can be accessed ...
1
vote
1answer
222 views

Run MongoDB service as daemon of SystemD on Ubuntu 15.10

MongoDB just supports versions of Ubuntu Long Term Support (LTS). The last is Ubuntu 14.04 LTS, where the init process is managed by Upstart proprietary of Canonical. However I'm using Ubuntu 15.10 ...
0
votes
0answers
53 views

How to complete remove/purge NPM - NODE - Mongodb -Mongo express?

I am complete Noob in NPM - NODE - Mongodb - Mongo express, I tried to install them month ago and I really don't remember how I did install them, I know they are installed because I can get the ...
36
votes
12answers
79k views

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 ...
0
votes
1answer
29 views

Running a node app in ubuntu

I have a node application that I basically run in 4 steps since I also need to run mongodb and redis: mongod --config=/etc/mongod.conf service redis start npm run local npm run work-local Right now ...
0
votes
1answer
22 views

Problem after removal of MongoDB

I installed mongoDB using this instruction manual, but was unable to start it, so I decided to remove the Database by following same instruction set. Since the removal I don't get default options when ...
4
votes
1answer
1k views

How to install MongoDB 3.2 on Ubuntu 15.10?

I followed these instructions: http://tecadmin.net/install-mongodb-on-ubuntu/ $ echo "deb http://repo.mongodb.org/apt/debian "$(lsb_release -sc)"/mongodb-org/3.2 main" | sudo tee ...
0
votes
0answers
41 views

Mongodb can't store data on fat32 mounted partition

I trying to change mongodb dbpath to folder on mounted ssd disk. I have this disk mounted with this options: UUID=78B1-B348 /home/avetome/work vfat ...
0
votes
1answer
449 views

Unable to connect to mongo on remote server

I have installed mongo on machine1(Ubuntu 14.04.3 LTS server) in my local network. I have also opened the port 27017 as mentioned in this guide using following commands: sudo iptables -A INPUT -p tcp ...
0
votes
0answers
30 views

Problem while installing mongodb from terminal and from tar

Earlier I had mongod and mongo installed using terminal, version (2.4) without first uninstalling it downloaded the tar file of mongoDB 0f version and extracted it and added it to the path, at that ...
0
votes
1answer
43 views

Why was the mongodb-dev package removed from Ubuntu after 14.04?

It is still present in Debian, but the latest version of Ubuntu that has it is 14.04 LTS. I wonder why? I haven't found any reason for it.
1
vote
2answers
314 views

MongoDB installation failing

I am following the simple steps to install mongoDB: First: apt-key adv --keyserver keyserver.ubuntu.com --recv 7F0CEB10 Worked Good Second: echo "deb ...
0
votes
1answer
35 views

How to stop mongod after “unkown instance” error

After running two mongodb instance, I can't stop mongod service. After executing: $ sudo service mongod stop Stop: Unkown instance I know that this question have been asked but they are looking for ...
1
vote
1answer
217 views

SystemD: Run 3 instances of MongoDB

My current setup: mongodb me@server:/lib/systemd/system$ cat mongodb.service [Unit] Description=An object/document-oriented database Documentation=man:mongod(1) [Service] User=mongodb ...
7
votes
3answers
17k views

How to change the location that MongoDB uses to store its data?

I edited the MongoDB config file to store it's data in /home/user/data/mongod. But data is still written to the old directory, supposedly because the permissions to the new folder are not granted - ...
0
votes
1answer
405 views

Is there any mongoldb GUI tool support mongodb 3.2?

MongoDB 3.2 is just released. Does any mongoldb GUI tool support mongoldb 3.2?
0
votes
2answers
229 views

Error while starting Mongodb

While starting the Mongodb I got this error is socket connection: 7 12:03:31.230 [initandlisten] ERROR: listen(): bind() failed errno:98 Address already in use for socket: 127.0.0.1:27017 Tue Apr 7 ...
1
vote
1answer
398 views

Run 'sudo service mongod start' at boot time

Ubuntu 15.10 I am TOTALLY confused by all the posts about the new service loaders, and rather concerned that Mongo don't seem to think that it is their issue to solve. Here is one of several posts ...
3
votes
4answers
5k views

E: Unable to locate package mongodb-org

I am trying to install mongodb on ubuntu 14.04 and I am following the steps on docs.mongodb.org But when I get to the step: sudo apt-get install -y mongodb-org I get the following error : ...
2
votes
2answers
2k views

mongodb service doesn't restart after being stopped

Currently I am unable to start mongodb with the usual command sudo service mongodb start. When I do that, I get something like: mongodb start/running, process 23387 however no such process is ...
4
votes
2answers
7k views

How to migrate MongoDB 2.6 to 3.0 with WiredTiger

MongoDB 3.0 introduces a new storage engine called wiredTiger which results in greatly reduced memory and disk space usage. Since my DB is currently at ~20 million objects and using up ~70GB of ...