Error when launching config file

C:\Users\admin\university\m312\m312-vagrant-env>mongod --config /shared/single.cfg
Error reading config file: No such file or directory
try ‘mongod --help’ for more information


The error message is telling you that the configuration file is not located at ‘/shared/single.cfg’ . I would recommend looking around the VM to find out whether the /shared folder is mounted correctly – and where it’s mounted, and whether the single.cfg file has been correctly placed.