Address already in use Error 100

Configuring Replica Set M103 LAB, i am stuck with this issue , please help
2019-08-31T10:44:50.362+0000 I STORAGE [initandlisten] exception in initAndListen std::exception: listen: Address already in use, terminating
2019-08-31T10:44:50.362+0000 I NETWORK [initandlisten] shutdown: going to close listening sockets…
2019-08-31T10:44:50.362+0000 I NETWORK [initandlisten] removing socket file: /tmp/mongodb-27003.sock
2019-08-31T10:44:50.362+0000 I REPL [initandlisten] shutdown: removing all drop-pending collections…
2019-08-31T10:44:50.362+0000 I REPL [initandlisten] shutdown: removing checkpointTimestamp collection…
2019-08-31T10:44:50.362+0000 I REPL [initandlisten] shutting down replication subsystems
2019-08-31T10:44:50.363+0000 I FTDC [initandlisten] Shutting down full-time diagnostic data capture
2019-08-31T10:44:50.363+0000 I STORAGE [initandlisten] WiredTigerKVEngine shutting down
2019-08-31T10:44:50.567+0000 I STORAGE [initandlisten] WiredTiger message [1567248290:567502][4259:0x7f19c7deeac0], txn-recover: Main recovery loop: starting at 13/5376
2019-08-31T10:44:50.632+0000 I STORAGE [initandlisten] WiredTiger message [1567248290:632699][4259:0x7f19c7deeac0], txn-recover: Recovering log 13 through 14
2019-08-31T10:44:50.670+0000 I STORAGE [initandlisten] WiredTiger message [1567248290:670339][4259:0x7f19c7deeac0], txn-recover: Recovering log 14 through 14
2019-08-31T10:44:50.701+0000 I STORAGE [initandlisten] WiredTiger message [1567248290:701556][4259:0x7f19c7deeac0], txn-recover: Set global recovery timestamp: 0
2019-08-31T10:44:50.722+0000 I STORAGE [initandlisten] shutdown: removing fs lock…
2019-08-31T10:44:50.722+0000 I CONTROL [initandlisten] now exiting
2019-08-31T10:44:50.722+0000 I CONTROL [initandlisten] shutting down with code:100

this issue is solved. in bindIP i mistakenly add localhost and also 127.0.0.1 again, hence it may throw error

1 Like