Category : mongodb

I want to setup mongo replica sets with docker-compose, and I was doing some tests. I runned rs.initiate(…) on one of the replica sets and it’s configuration got stuck there, it is not removed when on docker-compose down(kill, up –force-recreate) my current compose yml version: ‘2’ services: mongors1: container_name: mongors1 image: mongo command: mongod –replSet ..

Read more

I have an EC2 instance in AWS with a mongo docker container that init a mongo router such as : docker run –network mongo-net -p 27051:27017 –expose=27017 -d –name=mongos51 mongo mongos –port 27017 –configdb configserver/configserver41:27017,configserver42:27017 –bind_ip 0.0.0.0 I have opened my SG in AWS to allow any connections and i can reach the public IP ..

Read more

I checked related problems, but i didn’t found good solution. Related problem: Getting MongoCommandException: Command failed with error 18 (AuthenticationFailed): 'Authentication failed.' on server localhost:27017 Here the anwer is to create not root user manually. Do we have another options to solve this problem? P.S. also tried to use authentication by admin table. My docker ..

Read more

I am facing one issue. I have installed mongodb through docker and in my docker logs I am getting some logs coming from mongoDB continuously. I am explaining some sample logs below. {"t":{"$date":"2021-09-20T07:08:46.470+00:00"},"s":"I", "c":"STORAGE", "id":22430, "ctx":"WTCheckpointThread","msg":"WiredTiger message","attr":{"message":"[1632121726:470856][11:0x7f81f6abe700], WT_SESSION.checkpoint: [WT_VERB_CHECKPOINT_PROGRESS] saving checkpoint snapshot min: 229, snapshot max: 229 snapshot count: 0, oldest timestamp: (0, 0) , ..

Read more