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

learn more… | top users | synonyms

1
vote
0answers
21 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
1k 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
20 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
24 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 ...
37
votes
12answers
31k 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
19 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
72k 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
299 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
50 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 ...
7
votes
3answers
4k 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
1answer
2k 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
1answer
235 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 ...
0
votes
0answers
41 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
29 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
154 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
28 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
91 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 ...
33
votes
4answers
50k 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 ...
10
votes
4answers
11k 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
58 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
13 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
133 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
43 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 ...
0
votes
1answer
348 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 ...
36
votes
12answers
77k 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
25 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
20 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
35 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
312 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
29 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
37 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
309 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
33 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
199 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
377 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
220 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
337 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
6k 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 ...
6
votes
3answers
7k views

How should I start MongoDB on a NUMA machine?

When I first installed MongoDB 2.2.3 with apt-get, following the instructions from 10gen installation guide, it auto starts when the server starts. However, after following the instructions in ...
0
votes
1answer
83 views

Database / systemctl issues after switch to 15.04

I recently updated Ubuntu to 15.04. Since then, I've been having issues starting and stopping postgres and mongodb, which also affects apt-get when it tries to install or uninstall them. Here's the ...
1
vote
1answer
128 views

Problem when bootstrapping Juju with MAAS

I'm a newcomer of ubuntu cloud. Recently, I'm trying to install maas and juju on my servers. Installation of maas is all right,but not juju. When I ran juju bootstrap -e maas ,after waiting for ...
1
vote
1answer
44 views

httptest http://tools.maxcdn.com/http Nginx does not answer

My Ubuntu Server: Ubuntu 14.04 x64 1GB of RAM , 30GB SSD Drives I add MongoDB server nginx on Ubuntu. Working on my website. My problem now httptest creatng ( http://tools.maxcdn.com/http ) ...
1
vote
1answer
25 views

Updating a charm on juju charms

I installed mongodb on my juju charms. How do I update it. The version installed from the juju deploy mongodb is version 2.4.I tried to update it using the juju ssh but I kept getting the error ...
0
votes
1answer
84 views

Need help fixing Segmentation Fault

I'm still fairly new to linux and find myself making annoying noob mistakes. Yet, still loving the experience so what does that really say about me? I ran into an interesting problem that I'm not ...
0
votes
1answer
93 views

unable to connect to mongoDB getting error

Hi I am trying to install mongo database on Ubuntu and after install when I run the command mongo getting this error: MongoDB shell version: 2.4.14 connecting to: test Sun Oct 11 12:06:28.161 Error: ...
0
votes
0answers
28 views

Meteor-Angular Ubuntu app is not showing its MongoDB Collection while running on localhost:3000

=> Started proxy. => Started MongoDB. => Started your app. => App running at: http://localhost:3000/ The browser only shows the link HOME but fails to deliver the collection. I checked MongoDB ...