[SERVER-22073] Getting : conflicts with current storage engine option for directoryPerDB Created: 06/Jan/16 Updated: 09/Aug/18 Resolved: 06/Jan/16 |
|
| Status: | Closed |
| Project: | Core Server |
| Component/s: | Admin |
| Affects Version/s: | 3.0.4 |
| Fix Version/s: | None |
| Type: | Question | Priority: | Major - P3 |
| Reporter: | ASHISH FRANCIS | Assignee: | Kelsey Schubert |
| Resolution: | Done | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Attachments: |
|
| Participants: |
| Description |
|
I am trying to start mongod but getting below error: ===================================
When i run I am getting error.
Mongod.log says...
|
| Comments |
| Comment by Harshad More [ 09/Aug/18 ] |
|
Thank you abd.dsnt.care@gmail.com . I also got the same error
and I deleted all the contents from DB path and this error gone. Thank you very much. Appreciated your help.
|
| Comment by Ramon Fernandez Marina [ 02/Jul/18 ] |
|
Thanks for sharing your solution abd.dsnt.care@gmail.com. For others watching, note that the solution above is only viable if one doesn't need to preserve their data; if one needs to preserve the data, it can be copied to a new node via db.copyDatabase() or backup and restore for example. Regards, |
| Comment by Abd Care [ 26/Jun/18 ] |
|
Hey, I too ran into this issue but was able to figure it out. This issue can be solved by deleting all the contents from the "dbpath" folder and restarting the mongod server. Hope it helped. |
| Comment by Kelsey Schubert [ 06/Jan/16 ] |
|
Hi afran, Thanks for your report. Please note that SERVER project is for reporting bugs or feature suggestions for the MongoDB server. Please consider reviewing our documentation on configuration options, specifically directoryPerDB. For MongoDB-related support discussion please post on the mongodb-users group or Stack Overflow with the mongodb tag. A question like this involving more discussion would be best posted on the mongodb-users group. Kind regards, |