谢谢 私信的朋友
日志如下:
forked process: 12593
all output going to: /data/mongodb/t4/master.log
child process started successfully, parent exiting
[root@BJ-ZW-XG-MongoDB-V-0-12 t4]# tail -f master.log
mongod(_ZN5mongo11msgassertedEiPKc+0x9b) [0xd9f55b]
mongod(_ZN5mongo10ReplSource14sync_pullOpLogERi+0x4880) [0xba0fa0]
mongod(_ZN5mongo10ReplSource4syncERi+0x2d3) [0xba14b3]
mongod(_ZN5mongo9_replMainERSt6vectorIN5boost10shared_ptrINS_10ReplSourceEEESaIS4_EERi+0xea) [0xba3f8a]
mongod(_ZN5mongo8replMainEv+0xc1) [0xba4691]
mongod(_ZN5mongo15replSlaveThreadEv+0x4c) [0xba4b1c]
mongod() [0xe26609]
/lib64/libpthread.so.0(+0x7aa1) [0x7f816009faa1]
/lib64/libc.so.6(clone+0x6d) [0x7f815f444bcd]
Wed Oct 25 02:47:11.265 [replslave] repl: AssertionException trying to slave off of a non-master
Wed Oct 25 02:47:13.266 [replslave] trying to slave off of a non-master
Assertion: 13344:trying to slave off of a non-master
0xdddd81 0xd9f55b 0xba0fa0 0xba14b3 0xba3f8a 0xba4691 0xba4b1c 0xe26609 0x7f816009faa1 0x7f815f444bcd
mongod(_ZN5mongo15printStackTraceERSo+0x21) [0xdddd81]
mongod(_ZN5mongo11msgassertedEiPKc+0x9b) [0xd9f55b]
mongod(_ZN5mongo10ReplSource14sync_pullOpLogERi+0x4880) [0xba0fa0]
mongod(_ZN5mongo10ReplSource4syncERi+0x2d3) [0xba14b3]
mongod(_ZN5mongo9_replMainERSt6vectorIN5boost10shared_ptrINS_10ReplSourceEEESaIS4_EERi+0xea) [0xba3f8a]
mongod(_ZN5mongo8replMainEv+0xc1) [0xba4691]
mongod(_ZN5mongo15replSlaveThreadEv+0x4c) [0xba4b1c]
mongod() [0xe26609]
/lib64/libpthread.so.0(+0x7aa1) [0x7f816009faa1]
/lib64/libc.so.6(clone+0x6d) [0x7f815f444bcd]
Wed Oct 25 02:47:13.272 [replslave] repl: AssertionException trying to slave off of a non-master
Wed Oct 25 02:47:15.274 [replslave] trying to slave off of a non-master
Assertion: 13344:trying to slave off of a non-master
0xdddd81 0xd9f55b 0xba0fa0 0xba14b3 0xba3f8a 0xba4691 0xba4b1c 0xe26609 0x7f816009faa1 0x7f815f444bcd
mongod(_ZN5mongo15printStackTraceERSo+0x21) [0xdddd81]
mongod(_ZN5mongo11msgassertedEiPKc+0x9b) [0xd9f55b]
mongod(_ZN5mongo10ReplSource14sync_pullOpLogERi+0x4880) [0xba0fa0]
mongod(_ZN5mongo10ReplSource4syncERi+0x2d3) [0xba14b3]
mongod(_ZN5mongo9_replMainERSt6vectorIN5boost10shared_ptrINS_10ReplSourceEEESaIS4_EERi+0xea) [0xba3f8a]
mongod(_ZN5mongo8replMainEv+0xc1) [0xba4691]
mongod(_ZN5mongo15replSlaveThreadEv+0x4c) [0xba4b1c]
mongod() [0xe26609]
/lib64/libpthread.so.0(+0x7aa1) [0x7f816009faa1]
/lib64/libc.so.6(clone+0x6d) [0x7f815f444bcd]
Wed Oct 25 02:47:15.280 [replslave] repl: AssertionException trying to slave off of a non-master
Wed Oct 25 02:47:17.281 [replslave] trying to slave off of a non-master
Assertion: 13344:trying to slave off of a non-master
0xdddd81 0xd9f55b 0xba0fa0 0xba14b3 0xba3f8a 0xba4691 0xba4b1c 0xe26609 0x7f816009faa1 0x7f815f444bcd
mongod(_ZN5mongo15printStackTraceERSo+0x21) [0xdddd81]
mongod(_ZN5mongo11msgassertedEiPKc+0x9b) [0xd9f55b]
mongod(_ZN5mongo10ReplSource14sync_pullOpLogERi+0x4880) [0xba0fa0]
mongod(_ZN5mongo10ReplSource4syncERi+0x2d3) [0xba14b3]
mongod(_ZN5mongo9_replMainERSt6vectorIN5boost10shared_ptrINS_10ReplSourceEEESaIS4_EERi+0xea) [0xba3f8a]
mongod(_ZN5mongo8replMainEv+0xc1) [0xba4691]
mongod(_ZN5mongo15replSlaveThreadEv+0x4c) [0xba4b1c]
mongod() [0xe26609]
/lib64/libpthread.so.0(+0x7aa1) [0x7f816009faa1]
/lib64/libc.so.6(clone+0x6d) [0x7f815f444bcd]
Wed Oct 25 02:47:17.287 [replslave] repl: AssertionException trying to slave off of a non-master
Wed Oct 25 02:47:19.289 [replslave] trying to slave off of a non-master
Assertion: 13344:trying to slave off of a non-master
0xdddd81 0xd9f55b 0xba0fa0 0xba14b3 0xba3f8a 0xba4691 0xba4b1c 0xe26609 0x7f816009faa1 0x7f815f444bcd
mongod(_ZN5mongo15printStackTraceERSo+0x21) [0xdddd81]
mongod(_ZN5mongo11msgassertedEiPKc+0x9b) [0xd9f55b]
mongod(_ZN5mongo10ReplSource14sync_pullOpLogERi+0x4880) [0xba0fa0]
mongod(_ZN5mongo10ReplSource4syncERi+0x2d3) [0xba14b3]
mongod(_ZN5mongo9_replMainERSt6vectorIN5boost10shared_ptrINS_10ReplSourceEEESaIS4_EERi+0xea) [0xba3f8a]
mongod(_ZN5mongo8replMainEv+0xc1) [0xba4691]
mongod(_ZN5mongo15replSlaveThreadEv+0x4c) [0xba4b1c]
mongod() [0xe26609]
/lib64/libpthread.so.0(+0x7aa1) [0x7f816009faa1]
/lib64/libc.so.6(clone+0x6d) [0x7f815f444bcd]
Wed Oct 25 02:47:19.294 [replslave] repl: AssertionException trying to slave off of a non-master
Wed Oct 25 02:47:21.296 [replslave] trying to slave off of a non-master
Assertion: 13344:trying to slave off of a non-master
0xdddd81 0xd9f55b 0xba0fa0 0xba14b3 0xba3f8a 0xba4691 0xba4b1c 0xe26609 0x7f816009faa1 0x7f815f444bcd
mongod(_ZN5mongo15printStackTraceERSo+0x21) [0xdddd81]
mongod(_ZN5mongo11msgassertedEiPKc+0x9b) [0xd9f55b]
mongod(_ZN5mongo10ReplSource14sync_pullOpLogERi+0x4880) [0xba0fa0]
mongod(_ZN5mongo10ReplSource4syncERi+0x2d3) [0xba14b3]
mongod(_ZN5mongo9_replMainERSt6vectorIN5boost10shared_ptrINS_10ReplSourceEEESaIS4_EERi+0xea) [0xba3f8a]
mongod(_ZN5mongo8replMainEv+0xc1) [0xba4691]
mongod(_ZN5mongo15replSlaveThreadEv+0x4c) [0xba4b1c]
mongod() [0xe26609]
/lib64/libpthread.so.0(+0x7aa1) [0x7f816009faa1]
/lib64/libc.so.6(clone+0x6d) [0x7f815f444bcd]
Wed Oct 25 02:47:21.301 [replslave] repl: AssertionException trying to slave off of a non-master