You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
If all is well, the log output of this command should include:
[thread2] waiting for connections on port 27017
Verify that the server is listening on 27017:
mongo
Expected Behaviour
Mongos should start up and listen on TCP:27017. The final connection test returns:
mongos>
(It may also return some warnings - this is ok)
Observed Behaviour
Mongos never completes startup and does not open a listening socket on TCP:27017. The final connection test returns:
exception: connect failed
The mongos log does not report "waiting for connections on port 27017"
Other notes:
With further testing, I have shown that it is possible to run the config server (mongod) in bash and the mongos process natively in Windows (using a Windows-specific binary download), but that the mongos will not successfully complete startup and will not listen on TCP:27017.
I have tested the above steps on native Ubuntu (AWS) and it worked as expected.
The text was updated successfully, but these errors were encountered:
Versions
Microsoft Windows [Version 10.0.16299.0]
MongoDB 3.4.9 (latest release version) installed from MongoDB repos using apt
Steps to reproduce
(Taken from here )
(It may be necessary to wait for 5s after this command for the config server to complete initialisation)
If all is well, the log output of this command should include:
Expected Behaviour
Mongos should start up and listen on TCP:27017. The final connection test returns:
(It may also return some warnings - this is ok)
Observed Behaviour
Mongos never completes startup and does not open a listening socket on TCP:27017. The final connection test returns:
The mongos log does not report "waiting for connections on port 27017"
Other notes:
With further testing, I have shown that it is possible to run the config server (mongod) in bash and the mongos process natively in Windows (using a Windows-specific binary download), but that the mongos will not successfully complete startup and will not listen on TCP:27017.
I have tested the above steps on native Ubuntu (AWS) and it worked as expected.
The text was updated successfully, but these errors were encountered: