MongoDB:"errmsg" : "DBClientBase::findN: transport error: 10.xxx.9.xx:37017 query
来源:互联网 发布:html js select 添加 编辑:程序博客网 时间:2024/06/05 04:14
当在重新搭建secondary,在运行rs.status(); 报如下错误
{
"_id" : 2,
"name" : "10.100.9.75:37017",
"health" : 0,
"state" : 8,
"stateStr" : "(not reachable/healthy)",
"uptime" : 0,
"optime" : {
"t" : 0,
"i" : 0
},
"optimeDate" : ISODate("1970-01-01T00:00:00Z"),
"lastHeartbeat" : ISODate("2013-05-10T08:38:52Z"),
"pingMs" : 0,
"errmsg" : "DBClientBase::findN: transport error:10.xxx.9.xx:37017 query: { authenticate: 1, nonce: \"ae865f5ac2267076\", user: \"__system\", key: \"c34231972365ffa80c6743e23cfdc929\" }"
},
google之,很多文章说是openlogsize太小了,赶紧kill mongodb进程,设置openlogsize为60G,重新sync,结果发现一会又报如此错误,不对啊,然后仔细认真看了后台的mongodb运行日志:
Fri May 10 08:41:07 [initandlisten] connection accepted from 10.100.9.01:59322 #237
31578700/47671793 66%
Fri May 10 08:41:17 [initandlisten] connection accepted from 10.100.9.02:47279 #238
Fri May 10 08:41:18 [initandlisten] connection accepted from 10.100.9.01:59326 #239
33645500/47671793 70%
Fri May 10 08:41:19 [initandlisten] connection accepted from 10.100.9.01:59327 #240
Fri May 10 08:41:19 [initandlisten] connection accepted from 10.100.9.01:59328 #241
35710000/47671793 74%
Fri May 10 08:41:29 [initandlisten] connection accepted from 10.100.9.02:47284 #242
Fri May 10 08:41:29 [initandlisten] connection accepted from 10.100.10.199:54327 #243
Fri May 10 08:41:38 [conn247] end connection 10.88.49.124:49908
Fri May 10 08:41:41 [initandlisten] connection accepted from 10.100.9.xx:47293 #248
38000000/47671793 79%
Fri May 10 08:41:42 [initandlisten] connection accepted from 10.100.9.01:59345 #249
Fri May 10 08:41:43 [initandlisten] connection accepted from 10.100.9.01:59347 #250
Fri May 10 08:41:43 [initandlisten] connection accepted from 10.100.9.01:59348 #251
40000000/47671793 83%
Fri May 10 08:41:53 [initandlisten] connection accepted from 10.100.9.02:47295 #252
Fri May 10 08:41:53 [initandlisten] connection accepted from 10.100.9.02:47296 #253
Fri May 10 08:41:53 [conn252] end connection 10.100.9.75:47295
Fri May 10 08:41:54 [initandlisten] connection accepted from 10.100.9.01:59349 #254
Fri May 10 08:41:54 [initandlisten] connection accepted from 10.100.9.01:59350 #255
Fri May 10 08:41:54 [conn254] end connection 10.100.9.74:59349
Fri May 10 08:41:55 [initandlisten] connection accepted from 10.100.9.01:59351 #256
Fri May 10 08:41:55 [initandlisten] connection accepted from 10.100.9.01:59352 #257
Fri May 10 08:41:55 [conn256] end connection 10.100.9.74:59351
Fri May 10 08:41:55 [initandlisten] connection accepted from 10.100.9.01:59353 #258
Fri May 10 08:41:55 [conn257] end connection 10.100.9.74:59352
Fri May 10 08:41:55 [initandlisten] connection accepted from 10.100.9.01:59354 #259
42000000/47671793 88%
Fri May 10 08:42:05 [initandlisten] connection accepted from 10.100.9.02:47302 #260
Fri May 10 08:42:06 [initandlisten] connection accepted from 10.100.9.01:59361 #261
Fri May 10 08:42:07 [initandlisten] connection accepted from 10.100.9.01:59362 #262
Fri May 10 08:42:07 [initandlisten] connection accepted from 10.100.9.01:59363 #263
44000000/47671793 92%
看到了有没有,正在传输数据呢,do not worry, just wait for a moment !
OK, 5分钟之后 ,rs.status(); 一切正常。
不得不感叹,开源的事情,生命力强悍啊,让我胆战心惊!
- MongoDB:"errmsg" : "DBClientBase::findN: transport error: 10.xxx.9.xx:37017 query
- mongodb DBClientBase::findN: transport error: ASSERT问题及解决办法
- C++ error:undefined reference to `XXX(XX)'
- gitlab push时报错error:failed to push some refs to 'git@xxx.xx.xx.xxx:xxxx/xxx.git'
- ERROR 2003 (HY000): Can't connect to MySQL server on 'xxx.xxx.xx.xxx' (111)
- -canOpenURL: failed for URL: "xx" - error:"This app is not allowed to query for scheme xx"
- canOpenURL: failed for URL: "xx" - error:"This app is not allowed to query for scheme xx"
- Brew error: Could not symlink, xx/xx/xxx is not writable
- GWT—DynamicForm 在saveData 时Transport error 400 for http url x/xx/...问题解决办法
- 关于error LNK2005: "char * xxx" (?xx@@3PADA) already defined in xxx
- 关于error LNK2005: "char * xxx" (?xx@@3PADA) already defined in xxx
- Class.forName(xxx.xx.xx)
- Class.forName(xxx.xx.xx)
- Class.forName(xxx.xx.xx)
- 数据库-mysql--IP address 'xxx.xxx.xxx.xx' could not be resolved: getnameinfo() returned error (code: -3
- oracle xx.xxx.xxx排序
- Clsaa.forName(xxx.xxx.xx);
- 数字格式化xx,xxx,xxx
- 程序员的100条座右铭
- leetcode Jump Game II
- Installing CGAL and related programs on Windows operating system v
- Character Encoding Issues(good!!!)
- 当灵感出现时,立即抓住它你可以有很多idea,但如果不实践,他们都等于零
- MongoDB:"errmsg" : "DBClientBase::findN: transport error: 10.xxx.9.xx:37017 query
- C#拾遗
- Struts2的优点
- 自绘按钮的实现
- netcat源代码分析,gethostpoop()函数
- 使用Geany编写一个 HelloWorld 的C语言程序+100以内素数+java helloworld
- strcmp函数的几点记录
- VB.NET入门基础篇
- ↖(^ω^)↗