[SERVER-56645] MongoDB does not start with authorization enabled Created: 05/May/21 Updated: 06/May/21 Resolved: 06/May/21 |
|
| Status: | Closed |
| Project: | Core Server |
| Component/s: | None |
| Affects Version/s: | None |
| Fix Version/s: | None |
| Type: | Bug | Priority: | Major - P3 |
| Reporter: | Brian Rivera | Assignee: | Edwin Zhou |
| Resolution: | Done | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Operating System: | ALL |
| Steps To Reproduce: | add security: authorization: enabled to the config file, restart the service and try logging in. |
| Participants: |
| Description |
|
Every time I enable "security: authorization: enabled", I get the following error - "connecting to: mongodb://127.0.0.1:27017/?authSource=admin&gssapiServiceName=mongodb |
| Comments |
| Comment by Edwin Zhou [ 06/May/21 ] |
|
We're happy to hear you've been able to resolve this issue. Thank you for following up! As a reminder, please note that the SERVER project is for bugs and feature suggestions for the MongoDB server. As this ticket does not appear to be a bug, for future issues I encourage you to ask our community by posting on the MongoDB Developer Community Forums. Best, |
| Comment by Brian Rivera [ 06/May/21 ] |
|
So it seems that I did not include two spaces before "authorization: enabled". Issue has been resolved. Thank you |