-
Type:
Bug
-
Resolution: Done
-
Priority:
Critical - P2
-
None
-
Affects Version/s: 3.0.4
-
Component/s: Admin, WiredTiger
-
None
-
Environment:centos 6.4
-
Linux
-
None
-
None
-
None
-
None
-
None
-
None
-
None
hello:
my machine system is centos6.4,after an unexpected reboot my mongodb can't be start correctly.and the data is 285G,I am repair two days and detect it can't start correctly may because of WiredTiger.wt was damaged.the following is my manage process!
[work@bjs-ihotel-ichartmongodb-01 mongodb]$ ./bin/mongod -f ./conf/mongod.conf about to fork child process, waiting until server is ready for connections. forked process: 26446 ERROR: child process failed, exited with error number 14 [work@bjs-ihotel-ichartmongodb-01 data]$ rm -fr /home/work/ichartmongodb/mongodb/data/mongod.lock [work@bjs-ihotel-ichartmongodb-01 data]$ rm -fr /home/work/ichartmongodb/mongodb/data/mongod/mongod.lock [work@bjs-ihotel-ichartmongodb-01 data]$ rm -fr /home/work/ichartmongodb/mongodb/data/mongod/WiredTiger.lock [work@bjs-ihotel-ichartmongodb-01 data]$ /home/work/ichartmongodb/mongodb/bin/mongod --dbpath=/home/work/ichartmongodb/mongodb/data --port=27017 --logpath=/home/work/ichartmongodb/mongodb/log/mongodb.log --repair --fork about to fork child process, waiting until server is ready for connections. forked process: 27873 child process started successfully, parent exiting [work@bjs-ihotel-ichartmongodb-01 data]$ /home/work/ichartmongodb/mongodb/bin/mongod -f /home/work/ichartmongodb/mongodb/conf/mongod.conf about to fork child process, waiting until server is ready for connections. forked process: 28042 ERROR: child process failed, exited with error number 14 [work@bjs-ihotel-ichartmongodb-01 ~]$ mv /home/work/ichartmongodb/mongodb/data/mongod/WiredTiger* /home/work/lei.zhang/new/now [work@bjs-ihotel-ichartmongodb-01 ~]$ du -sh /home/work/lei.zhang/new/now/WiredTiger.wt 16M /home/work/lei.zhang/new/now/WiredTiger.wt [work@bjs-ihotel-ichartmongodb-01 ~]$ /home/work/ichartmongodb/mongodb/bin/mongod --dbpath=/home/work/ichartmongodb/mongodb/data --port=27017 --logpath=/home/work/ichartmongodb/mongodb/log/mongodb.log --repair --fork about to fork child process, waiting until server is ready for connections. forked process: 29078 child process started successfully, parent exiting [work@bjs-ihotel-ichartmongodb-01 ~]$ /home/work/ichartmongodb/mongodb/bin/mongod -f /home/work/ichartmongodb/mongodb/conf/mongod.conf about to fork child process, waiting until server is ready for connections. forked process: 29206 child process started successfully, parent exiting [work@bjs-ihotel-ichartmongodb-01 ~]$ /home/work/ichartmongodb/mongodb/bin/mongod -f /home/work/ichartmongodb/mongodb/conf/arbiter.conf about to fork child process, waiting until server is ready for connections. forked process: 30051 child process started successfully, parent exiting [work@bjs-ihotel-ichartmongodb-01 ~]$ du -sh /home/work/ichartmongodb/mongodb/data/mongod/WiredTiger.wt 76K /home/work/ichartmongodb/mongodb/data/mongod/WiredTiger.wt
but my page show
{"errno":505,"timestamp":1470813472,"errmsg":"Failed to connect to: 192.168.110.221:27017: ismaster: got unknown node type"}
and i think this because WiredTiger.wt damaged because machine reboot,and i need to recover WiredTiger.wt. please help me ,i had try my best to repair it ,but all is useless。thank you,the attachment is the old WiredTiger.wt