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

learn more… | top users | synonyms

3
votes
2answers
148 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
0answers
17 views

How to install MongoDb 3+ on Ubuntu?

I've read this manual from the official website and did all the steps. sudo apt-key adv --keyserver hkp://keyserver.ubuntu.com:80 --recv 7F0CEB10 echo "deb http://repo.mongodb.org/apt/ubuntu ...
0
votes
0answers
7 views

Keeping MongoDB, MySql data in different partition

I am creating a ubuntu server 14.04 virtual machine and attached an empty disk to it. I have installed nodejs and mongoDB. I want to store all my mongoDB data in that empty partion.
0
votes
2answers
68 views

Can not uninstall MongoDB

It seems that following the official MongoDB installation instructions when installing on Debian makes you heading for a world of pain. First, it did not install correctly, so now I am trying to ...
8
votes
4answers
7k views

MongoDB suddenly stopped working today (12.04)

After I updated to 12.04 a month or two ago I installed MongoDB via APT. Since that time it has worked well. I made no changes to the config or anything - it just worked out of the box. Today it ...
0
votes
1answer
196 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 : ...
0
votes
1answer
16 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 ...
0
votes
0answers
67 views

Connect to MongoDB database on Vagrant(VM) from local machine (using RoboMongo)

I have installed MongoDB on Vagrant based VM, and I can connect to it on VM. But not from my local machine. I'm using RoboMongo to connect and following are the credentials, Host - 127.0.0.1 Port - ...
2
votes
1answer
3k views

Mongo Driver PHP - Can't install [sasl.h not found!]

I can't install mongo driver into my ubuntu development system. When I run the command sudo pecl install mongo I got this error: configure: error: sasl.h not found! ERROR: ...
1
vote
2answers
1k views

Mongod server not woking due to the following error

sanket@sanket:~$ sudo mongod sudo: unable to resolve host sanket [sudo] password for sanket: mongod --help for help and startup options Sun Oct 5 09:58:48.970 [initandlisten] MongoDB starting : ...
-1
votes
1answer
62 views

MongoDB Connection Error

After Successful installation of mongodb Server on Ubuntu 14.04.01, when i changed default bind address that is 127.0.0.1 to my local LAN ip. monogoDB shows connection error
6
votes
2answers
12k 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 ...
7
votes
1answer
5k views

How to increase buffered data limit?

Within Ubuntu I've created a MongoDB Db collection containing 1 million records, and when trying to run a sort command against it, I'm getting the following error: "$err" : "Runner error: Overflow ...
3
votes
5answers
2k views

issues in installation of mongo DB

I was installing mongo DB on my Ubuntu-12.04 system, but while i give the following command in my terminal apt-key adv --keyserver keyserver.ubuntu.com --recv 7F0CEB10 It gives me the following ...
1
vote
0answers
47 views

can not install moadmin in ubuntu 12.04

I am trying to use phpMoAdmin to use the gui in mongo database. I download the moadmin.php file and place it in the /var/www folder. But when I try to access it using localhost/moadmin , it tries to ...
0
votes
1answer
174 views

Unable to install mongodb

I try to install mongodb on server machine(Ubuntu server) using installing mongodb. When i used sudo apt-get update, i found 404 Not Found for many urls as the following errors: W: Failed to fetch ...
0
votes
1answer
86 views

Whats does this Sever error mean?

> org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'videoMobileController': Invocation of init > method failed; nested exception is > ...
0
votes
0answers
31 views
25
votes
11answers
45k 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 ...
1
vote
1answer
1k views

Error while trying to install mongoDB [closed]

I want to install mongoDB on Debian. The problem is when I try to do that the output is like this: Reading package lists... Done Building dependency tree Reading state information... Done ...
0
votes
0answers
10 views

Mongodb tool having administrative priviledges

I am looking for Mongodb tool much like oracle application express having administrative priviledges and multiple user can be created
0
votes
1answer
772 views

How to overcome the `connect failed` exception with mongodb?

I have installed mongodb once both trough the package manager (and purged it) and once following the official install instructions. When running mongo I get the error MongoDB shell version: 2.4.11 ...
0
votes
1answer
251 views

Setting the mongodb

Mongodb needs some configuration to run. It needs to create this hierarchy /data/db/. Where can I find mongo files? and where do I create this directories?!
15
votes
1answer
11k views

Installing the latest Node.js / MongoDB?

How can I install Node.js and MongoDB so they are the most current versions? The available versions from package manager are not up to date, and PPA from Chris Lea for Node.js doesn't get updated on ...
0
votes
1answer
2k views

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

Setting persistent readahead buffer other than in rc.local?

My MongoDB servers need a custom readahead setting for the devices that contain the database files. I've added the following to /etc/rc.local: blockdev --setra 32 /dev/md127 This works, but since ...
0
votes
1answer
249 views

Bulk Insert a CSV file into MongoDB through Ubuntu terminal?

I'm trying to performance test MongoDB through Ubuntu, and I've run into problems trying to upload a CSV file to populate the database. My DB is called 'Assignment' and I want to create a collection: ...
0
votes
1answer
41 views

system.profile.find() command returns no results

I'm trying to run queries against MongoDB (in Ubuntu) and analyse the execution times. I think i've set the profiler up correctly, but when I run a query against it, i'm not getting any response ...
3
votes
2answers
6k 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' ...
2
votes
3answers
7k 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 ...
1
vote
0answers
171 views

Ubuntu 14 doesn't auto-start mongodb at reboot

I have a stock install of Ubuntu 14, installed a few weeks ago. I installed mongodb with apt-get. When I run sudo service mongodb start then the service runs correctly and I can access all the ...
0
votes
1answer
291 views

“GPG Error: Clearsigned file isn't valid” When Installing Mongodb

I am trying to install mongodb using the instructions provided on this page. http://thecodebarbarian.wordpress.com/2013/07/22/introduction-to-the-mean-stack-part-one-setting-up-your-tools/ I get to ...
3
votes
2answers
7k 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
0answers
261 views

How can I manually remove a corrupt package?

Currently I'm trying to remove MongoDB, but when I try to execute using one of the commands below; sudo apt-get purge mongodb mongodb-clients mongodb-server mongodb-dev sudo apt-get purge ...
1
vote
0answers
315 views

14.04 mongodb does not start with start command

mongodb runs from command line, but when the start mongod command is used it gives the message at the bottom. If I do sudo start mongod I get mongod start/running, process 1433 but there is nothing ...
6
votes
2answers
8k 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 - ...
3
votes
0answers
124 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 ...
3
votes
1answer
1k views

Unable to create lock file when starting mongod via upstart

I'm trying to set up my mongodb upstart script to work as an arbiter, but I'm having permission problems when trying to create the lock file in the data directory: Tue Apr 1 17:11:01 [initandlisten] ...
20
votes
2answers
51k 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 ...
0
votes
1answer
1k views

Installing mongo db on ubuntu 12.04? [duplicate]

I want to install MongoDB on Ubuntu. I am following the official instructions from Install MongoDB on Ubuntu. Now when I do: sudo apt-get update it's giving me: W: Duplicate sources.list entry ...
0
votes
1answer
145 views

Why is Juju failing to deploy my sharded MongoDB cluster?

I am trying to deploy a sharded MongoDB cluster on Amazon EC2, using the directions at http://manage.jujucharms.com/charms/precise/mongodb. However (and I have tried this three times), my mongos ...
4
votes
1answer
413 views

juju bootstrap fails on local environment - Could not install mongo service

I'm attempting to use JuJu install for the first time. I created a 12.04 guest VM just for this process and I'm getting an error when I try an complete the bootstrap process sudo juju bootstrap ERROR ...
1
vote
2answers
392 views

How to craft a crontable entry that keeps MongoDB running in the event of a crash?

I need help crafting a crontable entry that will make sure the MongoDB service (daemon) is running on a particular port and if it is not, start it. I want to set this up so that if MongoDB crashes, ...
1
vote
1answer
476 views

Command fails to execute in upstart session job

This command: mongod --fork --dbpath ../data --smallfiles --logpath ../data/mongo.log runs perfectly from terminal, while in directory /mongo/bin/ But, when I use same command and directory for ...
1
vote
1answer
1k views

Upstart: Start server after mongodb

i would like to start a server after mongodb has started. Is it correct to use start on started mongodb? Example upstart script: start on started mongodb stop on starting rc RUNLEVEL=[016] respawn ...
1
vote
1answer
157 views

MongoDb installation failing

I am following te simple steps to install mongodb: First: apt-key adv --keyserver keyserver.ubuntu.com --recv 7F0CEB10 Worked Good Second: echo "deb ...
3
votes
1answer
5k views

How do I specify mongodb's config file?

I am running mongodb as a service on ubuntu server. How can I specify the config file that mongoDB uses? Is there a file with the command that starts mongod that I can edit to add the --config flag?
1
vote
1answer
275 views

mongodb does not shutdown cleanly on system shutdown

When I shutdown Ubuntu running mongodb (installed via apt), occasionally mongodb doesn't appear to finish shutting down completely - the log file matches a healthy shutdown, closing files, cleaning up ...
1
vote
1answer
855 views

mongodb with 13.10 service problems

I installed mongodb with the instructions here. Fresh installation of ubuntu btw. It installed without error, but upon attempting to start, stop or restart the service, I got start: Unknown job: ...
2
votes
1answer
772 views

How do I build mongodb with SSL support on saucy?

The mongodb packages in ubuntu do not contain SSL support (this is due to a restriction from 10gen, the makers of mongo). However, you're supposed to be able to build it yourself... but the ...