Subject: [mongodb-user] Re: mongos starts but doesn't
listen on its assigned port



Hi David

Debian “Jessie” 8 with mongo-org installed using apt-get.

Did you use the installation instructions available on Install MongoDB Community Edition on Debian? If not, you may want to follow the instruction on that page since it will install the latest MongoDB version for you.

Verified with mongo shell: all config servers are reachable and rs.status() shows that the configDB cluster is functional

Could you share the output of rs.status()? How about the shard servers?

Mongos starts and stays running using mongodb user account, but
“netstat -plnt” shows that it’s not listening on any port and nothing is
listening on port 27017

This sounds like mongos did not start properly. Could you verify using ps aux that the mongos process is running? If not, there should be an error message in /var/log/mongodb/mongos.log.

Verified with netstat: Standalone mongodb runs under mongodb user
account and “netstat -plnt” shows it’s listening on 27017

Do you mean that you tried to start a standalone mongod to verify that a process can listen to port 27017?

You may want to peruse the procedure outlined in Deploy a Sharded Cluster page for hints of what went wrong.

Best regards,
Kevin

--
You received this message beca...

use you are subscribed to the Google Groups "mongodb-user"
group.
 
For other MongoDB technical support options, see: https://docs.mongodb.com/manual/support/
---
You received this message because you are subscribed to the Google Groups "mongodb-user" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [email protected].
To post to this group, send email to [email protected].
Visit this group at https://groups.google.com/group/mongodb-user.
To view this discussion on the web visit https://groups.google.com/d/msgid/mongodb-user/31d8fc9e-87b7-4775-8757-cfb2e47319b7%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.



Programming list archiving by: Enterprise Git Hosting