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

learn more… | top users | synonyms

6
votes
5answers
5k views
+50

How do I install MongoDB 3.0 in Vivid?

The official vivid package for mongodb is 2.x, and the packages that MongoDB provide themselves on http://repo.mongodb.org/apt/ubuntu/dists/trusty/ are only available for LTS releases. An alternative ...
0
votes
0answers
17 views

Having Trouble Installing MongoDB for setting up Deployd on Ubuntu Server 14.04 Trusty 84bit

I'm following this process: http://terraltech.com/how-to-setup-deployd-on-ubuntu-server/ And EVERYTHING goes fine without a hitch, then I get to this section: mongo shell And it says that mongo ...
0
votes
0answers
35 views

lsof: WARNING: can't stat() fuse.gvfsd-fuse file system /run/user/1000/gvfs Output information may be incomplete

I am using this command sudo lsof | grep mongod | grep TCP it shows record but first it shows below warning i am guesing its not showing me the whole list of open connection lsof: WARNING: can't ...
2
votes
3answers
11k views

ERROR: dbpath does not exist

I set dbpath in mongodb config file: #dbpath=/var/lib/mongodb dbpath=~/data/db Then try start mongodb but got error: ERROR: dbpath (~/data/db) does not exist. Allthough I can check existance of ~...
8
votes
2answers
24k views

How to completely uninstall mongodb 2.6.3 from ubuntu 13.04 [closed]

I am running following command: sudo apt-get remove mongodb And its giving output: Reading package lists... Done Building dependency tree Reading state information... Done Package 'mongodb' ...
26
votes
3answers
99k 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 ...
1
vote
2answers
51 views

Debugging systemd for mongodb 3.2 on ubuntu 16.04 — sig 15 killing

I've installed mongodb-org and mongodb-org-server following the instructions on mongodb.org (though for ubuntu 14.x) At this point running mongodb directly works; sudo -H -u mongodb bash -c "/usr/...
1
vote
1answer
14 views

MongoDB, How can I migrate database to new cluster with higher version without an outage [closed]

We are having our mongodb cluster at AWS and our production DB mongo is very old - we are still using version 2.6 then latest version at the moment is 3.2.7. We need to upgrade mongodb binaries to the ...
6
votes
2answers
7k 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
116 views

public key not available when installing mongodb on ubuntu 15.10

I am following the accepted answer in this topic to install mongodb on ubuntu 15.10, but got an error message after I ran 'sudo apt-get update': Reading package lists... Done W: GPG error: http://...
12
votes
4answers
15k 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 ...
7
votes
3answers
18k 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 - ...
1
vote
0answers
294 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, ...
0
votes
1answer
47 views

E: Package 'pkg-config' has no installation candidate [closed]

I am on Ubuntu 14.10 and I try to install new mongodb driver, but I have this error: configure: error: Cannot find OpenSSL's libraries ERROR: `/tmp/pear/temp/mongodb/configure' failed I find that i ...
0
votes
1answer
1k 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
453 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
18k 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.
0
votes
1answer
58 views

How can i install Mongodb on 32 bit ubuntu? [closed]

Is there any possible for installation of mongodb on ubuntu
0
votes
1answer
30 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 ...
0
votes
2answers
294 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
37 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
3k 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 ...
1
vote
1answer
240 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
33 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 ...
41
votes
12answers
39k 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
295 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 re-...
13
votes
6answers
78k 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.
1
vote
1answer
1k 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
188 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 ...
11
votes
3answers
8k 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 back)...
1
vote
0answers
143 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 trusty/mongodb-org/...
3
votes
1answer
41 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 [fail]...
4
votes
1answer
160 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
40 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
583 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 ...
35
votes
4answers
56k 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 ...
0
votes
0answers
90 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 http://repo....
0
votes
0answers
20 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
513 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
60 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 ...
35
votes
12answers
82k 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
36 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
25 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 ...
5
votes
1answer
2k 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 /etc/apt/sources....
0
votes
0answers
46 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 users,rw,utf8,umask=111,dmask=000,...
0
votes
1answer
857 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
32 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
56 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
324 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 http://downloads-distro.mongodb.org/repo/...
0
votes
1answer
45 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 ...