Hi,
I had setup 2 shards in my environment with config and data replica set. After reboot of my machine none of the commands (mongod, mongos) are working. Mongod is failing with below error:
Aborted (core dumped)
Mongos is hung with below output:
vagrant@m103:~$ mongos -f mongos.conf
2019-03-04T14:36:29.788+0000 W SHARDING [main] Running a sharded cluster with
fewer than 3 config servers should only be done for testing purposes and is not
recommended for production.
about to fork child process, waiting until server is ready for connections.
forked process: 3028
Content of one of the conf files:
sharding:
clusterRole: shardsvr
storage:
dbPath: /var/mongodb/db/1
wiredTiger:
engineConfig:
cacheSizeGB: .1
net:
bindIp: 192.168.103.100,localhost
port: 27001
security:
authorization: enabled
keyFile: /var/mongodb/pki/m103-keyfile
systemLog:
destination: file
path: /var/mongodb/db/mongod1.log
logAppend: true
##processManagement:
fork: true
replication:
replSetName: m103-repl
Can you please let me know what could be the issue here ?
Thanks,
Prashant.