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:
Can you please let me know what could be the issue here ?