I’m about to start with Lab: Shard a collection, yet, when I try to bring the 1st mongod cluster (the m103-repl), for every mongod that I try to activate, it gets stuck (screenshot attached).
It doesn’t fork the process and also, it doesn’t allow me to continue on the same terminal. If I open a new terminal, i check the running processes and I find this:
And I only ran once the mongod with mongod-repl-1.conf file.
I imagine that this is happening because it is under the mongos service, but when I run mongos with its configuration file, the same happens.
Then, I ran a standard mongod session and it worked allright, so I imagine that this is happening because of the configuration files.
Thank you for your help.
net: port: 27001 bindIp: localhost,192.168.103.100 security: authorization: enabled keyFile: /var/mongodb/pki/m103-keyfile storage: dbPath: /var/mongodb/db/1 wiredTiger: engineConfig: cacheSizeGB: .1 systemLog: path: /var/mongodb/db/mongod1.log destination: file logAppend: true operationProfiling: mode: slowOp slowOpThresholdMs: 50 processManagement: fork: true replication: replSetName: m103-repl sharding: clusterRole: shardsvr
sharding: configDB: m103-csrs/192.168.103.100:26001,192.168.103.100:26002,192.168.103.100:26003 security: keyFile: /var/mongodb/pki/m103-keyfile net: bindIp: localhost,192.168.103.100 port: 26000 systemLog: destination: file path: /var/mongodb/db/mongos.log logAppend: true processManagement: fork: true