[SERVER-35183] Starup the mongodb service failed after setup a slave node on the same server with the same port Created: 23/May/18 Updated: 25/Nov/18 Resolved: 25/Oct/18 |
|
| Status: | Closed |
| Project: | Core Server |
| Component/s: | WiredTiger |
| Affects Version/s: | 3.4.4 |
| Fix Version/s: | None |
| Type: | Question | Priority: | Major - P3 |
| Reporter: | ky | Assignee: | Kelsey Schubert |
| Resolution: | Incomplete | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Environment: |
windows server 2012 datacenter |
||
| Participants: |
| Description |
|
I can't startup the mongodb process as a windows service after setup a slave node on the same server with the same port 27017.I had recieved an error code 1067 by the windows warnning.And I check the mongo log files, I get the main error message below:
I had tried to run the --repair command to solved the problem, but still occur an error. Here is the error message after run the --repair command:
The windows service run with the command list below:
And the slave node setup command list below, the source ip in the command point to the same server
After search few similar issue on the internet, I still not found the solution how to repair it.Plz help, thx a lot.
|
| Comments |
| Comment by Kelsey Schubert [ 19/Jun/18 ] |
|
Hi ky, Thanks for reporting this issue, and sorry for the delay getting back to you. Unfortunately, in this case, it appears that a collection file has become corrupted on disk. It's not clear from the description how this corruption occurred. If you have the logs from both nodes covering the time where they were brought up concurrently on the same port, it may help us better understand the situation that led to the corruption observed. Would you please upload these files to the ticket, so we can investigate? Thank you, |
| Comment by ky [ 28/May/18 ] |
|
Hello guys! Now I have ensured that this error caused by the server abnormal shutdown,I will attach corresponding files to fix it if you want.Any help would be greatly appreciated! |