I’m trying to deploy this Fullstack app to a DigitalOcean droplet: https://github.com/maismin/stock-portfolio-app-demo I installed MongoDB like how to documentation said and then I started it and didn’t do anything else (I don’t know if I need to actually make a database or not this is the first time I’m using MongoDB). Then I cloned the repo, then I installed NPM
Tag: mongodb
MongoDB ops manager “java.lang.OutOfMemoryError: unable to create native thread”
Im currently setting up a new MongoDB ops manager machine. Installation works fine but I can’t start the mongodb-mms service. The starting of Instance 0 fails with an java.lang.OutOfMemoryError exception. I use the same configuration as on my test server (2 CPU cores, 8gb ram), there the service starts without any interrupt. Changing the ulimit configuration / starting the service
Shell Script : MongoDB Dump
I’m creating a shell script to automatically dump the database. I have the current code below. The problem is when I’m opening the zip file it shows a single binary file. Usually, when I dump manually it consists of bson and json files. I don’t know what I’m doing wrong I’m expecting a zip file with bson and json file.
Is it possible for someone log into MongoDB without the correct password if authentication is enabled?
I recently setup my first MongoDB database in an production environment. I looked up some guides for deployment and followed them. I had the following in my config: And I created an admin user (the only user) that looks like this: I also switched the outward facing port for the database (through nginx) to a nearby port that wasn’t the
kubectl exec behaving strangely, stating command not found even though the binary is there in the pod
So have an OpenShift cluster and running a pod in the mongodb-test namespace. The pod is running fine When I exec into the pod and run the mongo command, I dont get any issue and the command works as expected. Now the problem is when I try to run the same command using below syntax I get mongo not found
How to fix MongoError: unsupporter server version?
I am trying to run a Node.js server with MongoDB. I followed the tutorials closely. Here is my app.js file: ` When I try to run it, however, I get the following error: How can I fix this? My package.json file says I am using version ^3.0.0-rc0. I cant seem to find a solution anywhere online. Answer Upgrade to the
Problems establishing connection with DB
Platform: LINUX. I am a beginner of MongoDB and pymongo. After installing pymongo, here is a simple test I tried on ipython: At this point, it chokes. And in the end, spits out a “Error 111: connection refused” error. So, I tried invoking MongoDB straight from the terminal and I still got the error below [look at the far end].
How can we check if our mongodb is running on EC2 linux server?
I have installed and started the MongoDB on EC2 Linux instance. How can I verify whether it is running or not? 1 way I got to know how to verify whether it is started or not is: By checking the contents of the file at /var/log/mongodb/mongod.log for a line reading: [initandlisten] waiting for connections on port which I have not
mongodb wrong members id
I’m trying to change the priority of the members of the replica set: cfg = rs.conf(); output: } cfg.members[5].priority = 0.5 cfg.members[4].priority = 0.5 but id:3 change normaly: cfg.members[3].priority = 0.5 what am I doing wrong? And why my version of the config too big? So many times that I couldn’t change the configuration) Answer You should address to elements
Docker-compose – mongodb could not be authenticated
After installing Docker Toolbox on Windows 10 and starting docker-machine, I run docker-compose up, I run into this error: The following packages cannot be authenticated mongodb-org-shell The code in the dockerfile: RUN apt-key adv –keyserver hkp://keyserver.ubuntu.com:80 –recv EA312927 RUN echo “deb http://repo.mongodb.org/apt/ubuntu trusty/mongodb-org/3.2 multiverse” | tee /etc/apt/sources.list.d/mongodb-org-3.2.list RUN apt-get update RUN apt-get install -y mongodb-org-shell RUN apt-get install -y mongodb-org-tools