Lab1-Error in replica set script for VM

I am getting an error while trying to execute the - replica set script in Lab1 for error handling, I am using the course VM.

ERROR: child process failed, exited with error number 48
To see additional information in this output, start without the “–fork” option.

@Rahul_97214,
This error usually comes when there is a process already running with the port number you are using to start mongod process from the shell.
Try disconnecting completely and give your replica set to connect.

And of course: any and all errors will be found in the logfile which you configured! So check the log files for details.

1 Like