Lab 2 python /shared/ not giving any out put

vagrant@m312:~$ hostname -f
vagrant@m312:~$ mongod --config /shared/single.cfg
about to fork child process, waiting until server is ready for connections.
forked process: 13434
child process started successfully, parent exiting
vagrant@m312:~$ python /shared/

why python/shared/ not working ?

Hi @Mahrukh_Khan

If there is no output from Python, it might be that Python was not correctly installed when your Vagrant image was provisioned. I’d suggest re-provisioning your Vagrant box to see if this resolves the issue. This thread has some similar issues which I’d suggest you review as they may be helpful.

Kindest regards,

Actually, only when I changed number of connection to 20 ( " python /shared/ -n 20 ") I started to see error in log file “NETWORK [thread1] connection refused because too many open connections: 10”.
With default parameter of 12 no connections were refused and I saw “NETWORK [thread1] connection accepted from #114 (11 connections now open)”