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

learn more… | top users | synonyms

3
votes
1answer
37 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] ...
0
votes
1answer
68 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
33 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 ...
1
vote
0answers
40 views

Mounting /opt/mongo on new partition or resize primary partition on VMWare server

i was assigned to add space to our virtual machine running ubutnu 12.04 LTS. Our provider increased disk space in VMWare and i now need to expand it from the system. The server has only one primary ...
0
votes
1answer
66 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
38 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 ...
1
vote
0answers
56 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
189 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 ...
2
votes
1answer
169 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?
2
votes
1answer
93 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 ...
0
votes
1answer
166 views

How do I enable CGI execution in the root directory of Apache

I have built an Ubuntu server and need to execute CGI scripts in the root directory. I keep finding tutorials on how to execute them from cgi-bin but that isn't desired in my situation. I've installed ...
1
vote
1answer
1k views

MongoDB could not connect local server

I had mongdb installed and evrything was working fine. I wanted to delete the mongodb lock. By mistake the directory /var/lib/mongodb/ got deleted. So, I uninstalled mongo db and installed again. But ...
1
vote
0answers
192 views

jujud hangs when connecting to the mongo : may be tls handshake error

juju bootstrap will create instances through my private cloud(openstack), and run some command just like install mongo, jujud bootstrap, it will appears this: 2013-11-19 11:27:32 DEBUG juju.agent ...
1
vote
1answer
399 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
2answers
578 views

Juju/MAAS in vSphere to test OpenStack

I have the below setup in my lab vSphere to test Openstack deployment with juju. MAAS server vm have 2 interfaces [ one have internet access using proxy and another internal 192.168 n/w for dhcp and ...
1
vote
1answer
2k 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 ...
0
votes
2answers
167 views

How can I install MongoDB on a different drive?

I have a Ubuntu 13.04 computer with two hard drives; one is 30GB, the other is 500GB. I use the 30GB drive for the OS and I install everythign else on the 500GB drive. How can I install MongoDB on ...
0
votes
0answers
97 views

Running MongoVUE using Wine

I am getting error dialog INVALID PARAMETER after clicking okay button THERE IS NO WINDOWS PROGRAM CONFIGURED TO OPEN THIS TYPE OF FILE Please someone link me portable link for mongoVUE and ...
1
vote
1answer
107 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 ...
3
votes
1answer
441 views

juju hangs when connecting to mongo

Whenever I run any juju activity which connects to mongodb, the connection seems to connect OK but hang. I'm using the stable ppa and running on ubuntu 13.04 desktop. $ juju status --debug ...
0
votes
1answer
243 views

How to run mongodb with my username instead of default user mongodb

I want to run mongodb service by my defined username and group instead of using mongodb user. How can i change from mongodb user to mydesiredusername?
0
votes
1answer
1k views

MongoDB super-admin authenticates fine but still gets unauthorized query errors?

I have started using MongoDB with authentication. As per the documentation I used the localhost exception to create an admin user with the single role of userAdminAnyDatabase. That all went fine. ...
14
votes
1answer
7k 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 ...
1
vote
1answer
299 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 ...
0
votes
0answers
50 views

How can I apply a patch to a package?

I tried to install mongodb on my machine using this guide. However I ran into this problem. This link also contains a patch. The patch file is init.d.patch How can I apply this patch?
1
vote
2answers
160 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, ...
0
votes
0answers
41 views

How to start 2 mongodb services

I need to start 2 MongoDB 2.4.4 Instances as Services on a Ubuntu 12.04 LTS One is a replica from another server and the other one is a testsystem. Simply cloning the upstart script in /etc/init/ ...
1
vote
1answer
290 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 ...
3
votes
1answer
2k 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
941 views

How can I install 64 bit mongodb after installing 32 bit

I recently installed mongodb for a project for a data mining class I'm taking and while loading all the documents I needed I got an error specifying mongodb is out of memory and that I needed to ...
1
vote
1answer
206 views

Mongodb shell is giving an error while connecting?

When you try to connect to mongodb it is giving a following error: root@ip-10-87-37-28:~# mongo MongoDB shell version: 2.0.4 connecting to: test Fri Mar 8 07:40:11 Error: couldn't connect to server ...
2
votes
1answer
161 views

What is skew value in Mongo DB Database replication?

I have just started the three MongoDB replica servers. I do not understand what is this screw value what it should be on which server? Which values should I monitor I have taken 2 screenshots ...
3
votes
3answers
451 views

Unable to install in mongodb

I am tring to install mongodb but its getting failed again and again. I am getting following error: mongodb is not found. I using following command to install mongodb: sudo apt-get install mongodb ...
6
votes
2answers
3k 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 - ...
2
votes
2answers
683 views

Configuring mongo DB to work with NTFS drive

I have 120 GB SSD Drive with two partitions (NTFS with Windows and ext4 with Ubintu) and 2TB NTFS HDD shared between Windows and Ubuntu. I configured my HDD to be properly mounted on system boot: # ...
2
votes
1answer
88 views

How to make a juju relation between rails and mongodb?

The juju charm of mongodb does have support for which relations? Is possible to make a relation between rails and mongodb?
2
votes
4answers
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 ...
0
votes
1answer
145 views

Confusion installing mongodb manually because of sitting behind a proxy

I am forced to install mongodb manually on an Ubuntu server because the machine sits behind a proxy and there is no way to temporary open port 11371 for key exchange to happen. I am following this ...
2
votes
2answers
970 views

How to move over from init.d to upstart for nginx

I have an init.d script for nginx that normally works fine. However, after a reboot it doesn't work properly and the worker process would die leaving just the master process. nginx has some mongodb ...
1
vote
2answers
1k views

How to fix sources list to get the MongoDB packages

I was reading a tutorial for mongoDB and it ended up to where I should have added a deb package in Ubuntu 11.10 sources list, I was able to find /etc/apt/sources.list.d/. I need to fetch the package ...
12
votes
10answers
23k 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
61 views

Use MongoDB and PyMongo inside an PyGTK app

I am abort to make an Python app with Quickly. The app need to store some data in an database, To this I am planing to use MongoDB. So my question is like this: How can I make the py-app to auto ...
0
votes
1answer
2k 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
2answers
2k views

mongod fails to start with error: mongod: symbol lookup error: mongod: undefined symbol: _ZN7pcrecpp2RE4InitEPKcPKNS_10RE_OptionsE

I am trying to start mongod but I get $ mongod mongod --help for help and startup options mongod: symbol lookup error: mongod: undefined symbol: _ZN7pcrecpp2RE4InitEPKcPKNS_10RE_OptionsE Searching ...
4
votes
3answers
3k 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 ...
13
votes
4answers
24k 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
1answer
617 views

Is it possible to run 64-bit mongo db on my 32-bit pae enabled ubuntu?

If answer is negative then which workaround would be less painful? Reinstall the system? Run mongo in virtual machine with 64bit ubuntu? For now I need mongo only for dev purposes, but my test ...
0
votes
1answer
324 views

Installation of MongoDB via SoftwareCenter failed

I installed mongodb from the Ubuntu Software center, but when I want to run it from command line I get an error message like: mongod --help for help and startup options Sun Feb 12 10:51:14 ...
9
votes
5answers
22k 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.
2
votes
0answers
1k views

Are there any good Mongodb GUI clients? [duplicate]

Possible Duplicate: What is a good MongoDB GUI client? Are there any good Mongodb GUI clients for Ubuntu? (Preferably that will run on Ubuntu 11.04.) I found one (JmongoBrowser) but I'm not ...