Lab-configure a sharded cluster

when iam executing

vagrant@m103:~$ mongos -f mongos.conf

iam getting error like this

about to fork child process, waiting until server is ready for connections.
forked process: 7622
ERROR: child process failed, exited with error number 48
To see additional information in this output, start without the “–fork” option

Please run without --fork as suggested in above message
It will throw error on your screen as to why it is failing
Mostly due to missing dirs,wrong permissions etc
Also check mongos.log

Hi @SUJANA_42894,

Please follow the instructions suggested by @Ramachandra_37567. We need to look at the log file in order to figure out the exact issue here.

Shubham Ranjan
Curriculum Services Engineer