Open andreialecu opened 4 years ago
Same without the --host
option. I only added it to troubleshoot.
Seems to be some sort of error with the data directory, the same data directory works when using Windows Subsystem for Linux. Maybe there's some incompatibility between Mongo for Linux and Win32's data directories.
Running it without --keep
seems to make it start properly.
Would be nice to print the actual error that stopped the replica set from starting.
I also came across this issue, and it only occurred the first time I used run-rs. After a data directory gets created you can use the -k
flag again and it works. Might have something to do with the purging and/or creating a data directory?
thanks for commenting @JadenH - this worked for me too
We're having a similar issue but in our case even the second time the command is run we get the same error, the only way to get it working is to first run it without --keep
and then with
See below: