14.04 - MongoDB could not start: bind_ip error: bind() failed errno:99 Cannot assign requested address for socket - Ask Ubuntu


i follow installation instructions mongodb-org in mongodb documentation. ubuntu version 14.04. /etc/mongod.conf

# mongod.conf  # documentation of options, see: #   http://docs.mongodb.org/manual/reference/configuration-options/  # , how store data. storage:   dbpath: /var/lib/mongodb   journal:     enabled: true #  engine: #  mmapv1: #  wiredtiger:  # write logging data. systemlog:   destination: file   logappend: true   path: /var/log/mongodb/mongod.log  # network interfaces net:   port: 27017   bindip: 127.0.0.1,54.169.117.134   #processmanagement:  #security:  #operationprofiling:  #replication:  #sharding:  ## enterprise-only options:  #auditlog:  #snmp: 

when try sudo service mongod start, returns mongod start/running, process 6400 sudo service mongod status returns mongod stop/waiting, check /var/log/mongodb/mongod.log , this:

2016-11-04t14:59:21.366+0700 e network  [initandlisten] listen(): bind() failed errno:99 cannot assign requested address socket: 54.169.117.134:27017 2016-11-04t14:59:21.366+0700 e storage  [initandlisten] failed set sockets during startup. 2016-11-04t14:59:21.366+0700 control  [initandlisten] dbexit:  rc: 48 

i run command line check whether process running on port 27017 sudo netstat -peant | grep ":27017", nothing running port, meaning port 27017 available. please me fix this


Comments

Popular posts from this blog

download - Firefox cannot save files (most of the time), how to solve? - Super User

windows - "-2146893807 NTE_NOT_FOUND" when repair certificate store - Super User

sql server - "Configuration file does not exist", Event ID 274 - Super User