[SERVER-49538] Each time server restarts, mongod fails to start Created: 16/Jul/20 Updated: 27/Oct/23 Resolved: 16/Jul/20 |
|
| Status: | Closed |
| Project: | Core Server |
| Component/s: | None |
| Affects Version/s: | None |
| Fix Version/s: | None |
| Type: | Bug | Priority: | Major - P3 |
| Reporter: | firstName lastName | Assignee: | Dmitry Agranat |
| Resolution: | Community Answered | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Environment: |
Ubuntu 18.04 LTS, mongodb 4.0.10 |
||
| Operating System: | ALL |
| Participants: |
| Description |
|
After server machine reboot, mongod fails to start with error code: 48.
and problem persist. Short logs: 2020-07-16T07:22:34.792+0200 I CONTROL [initandlisten] options: { config: "/etc/mongod.conf", net: { bindIp: "127.0.0.1,192.168.2.170", port: 27017 }, processManageme$ |
| Comments |
| Comment by firstName lastName [ 16/Jul/20 ] |
|
Hi and thanks Dmitry, I already had in mongod.conf local static ip address of server, just forgot to post that in bug report. Cheers, firstName
|
| Comment by Dmitry Agranat [ 16/Jul/20 ] |
|
You need to bind values with appropriate internal IP or resolvable hostname. The SERVER project is for bugs and feature suggestions for the MongoDB server. As this ticket does not appear to be a bug, I will now close it. If you need further assistance troubleshooting, I encourage you to ask our community by posting on the MongoDB Community Forums or on Stack Overflow with the mongodb tag. Regards, |
| Comment by firstName lastName [ 16/Jul/20 ] |
|
Forgot to add, when server reboots mongodb-27017.sock has valid user permisions: 'srwx------ 1 mongodb mongodb 0 јул 16 07:31 mongodb-27017.sock' |