[SERVER-41415] mongodb start failed,encountered an illegal file format or internal value. Created: 31/May/19 Updated: 04/Jun/19 Resolved: 04/Jun/19 |
|
| Status: | Closed |
| Project: | Core Server |
| Component/s: | WiredTiger |
| Affects Version/s: | 3.6.8 |
| Fix Version/s: | None |
| Type: | Bug | Priority: | Major - P3 |
| Reporter: | lyswhut | Assignee: | Eric Sedor |
| Resolution: | Done | Votes: | 0 |
| Labels: | wtc | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Environment: |
Cent OS 6 |
||
| Attachments: |
|
| Operating System: | ALL |
| Participants: |
| Description |
|
Hi,My MongoDB can't start, I tried to fix it with this solution: https://superuser.com/questions/914215/mongod-start-failed-monogdb-3-0-2-database-storageengine-wiredtiger, but still failed.
I attached the wiredtiger files. If some could help me I would be extremely grateful. |
| Comments |
| Comment by lyswhut [ 04/Jun/19 ] |
|
Roger that! Thank you for your advice! |
| Comment by Eric Sedor [ 04/Jun/19 ] |
|
Glad to hear! Be sure to check out this backup documentation. Other recommendations to avoid a problem like in the future are:
|
| Comment by lyswhut [ 04/Jun/19 ] |
|
@eric.sedor, thank you very much for your help, the repair file you provided successfully repaired it, it is now working again. My server is a VPS. I have this problem after I use the snapshot to restore the VPS. The server is running when the snapshot is taken. Thanks again |
| Comment by Eric Sedor [ 03/Jun/19 ] |
|
lyshwut, this error message leads us to suspect corruption in the wiredTiger.wt file. Please make a complete copy of the database's $dbpath directory to work off of and safeguard the current $dbpath. Our ability to determine the source of this corruption depends greatly on your ability to provide:
That said, I've attached a repair attempt of the files you provided as SERVER-41415_repair_attempt.tgz |