MongoDB:"errmsg" : "DBClientBase::findN: transport error:
當在重新搭建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(); 一切正常。
不得不感嘆,開源的事情,生命力強悍啊,讓我膽戰心驚!
來自 “ ITPUB部落格 ” ,連結:http://blog.itpub.net/26230597/viewspace-1103369/,如需轉載,請註明出處,否則將追究法律責任。
相關文章
- 小程式 · 報錯:Error: errCode: -501007 ,errMsg: Invalid Key Name (__keyPath)Error
- mongodb核心transport_layer網路傳輸層模組原始碼實現三MongoDB原始碼
- mongodb核心transport_layer 網路傳輸層模組原始碼實現四MongoDB原始碼
- MongoDB server returned error on SASL authentication step: BSON field 'saslCoMongoDBServerError
- HDU 1385 Minimum Transport Cost
- golang http/transport 程式碼分析GolangHTTP
- [GAUSS-51808] : The env file contains errmsg: {'Node[192.168.56.181]': 'Output:AI
- Oracle DG管理Redo Transport服務Oracle
- 【微信小程式】“errMsg“:“navigateTo:fail can not navigateTo a tabbar page“微信小程式AItabBar
- MongoDB報錯mongorestore: error while loading shared libraries: libsasl2.so.2MongoDBRESTErrorWhile
- mongodb核心原始碼實現及效能最佳化:transport_layer網路傳輸層模組原始碼實現二MongoDB原始碼
- [20180812]TRANSPORT_CONNECT_TIMEOUT and RETRY_COUNT.txt
- mongodb錯誤解決辦法-bash: ./mongod: cannot execute binary file: Exec format errorMongoDBORMError
- 小程式真機報錯errMsg: “hideLoading:fail:toast can‘t be found“ ?IDEAIAST
- 7 Redo Transport Services 日誌傳輸服務
- Oracle 12C RMAN Cross-Platform Transport of PDBsOracleROSPlatform
- Transport Layer Security for UDP&TCP(TLS/DTLS1.2)UDPTCPTLS
- elastic學習-elastic stack 基礎安全(transport層)AST
- Oracle 12c RMAN Cross-Platform Transport of a Closed PDBOracleROSPlatform
- MongoDB 備份恢復啟動後執行操作報錯:Error:couldn't add user:not masterMongoDBErrorAST
- 微博Motan中的transport模組一些點
- ERROR 2026 (HY000): SSL connection error: unknown error numberError
- Oracle 12c RMAN Performing Cross-Platform Transport of a PDB Using InconsistentOracleROSPlatform
- 關於nginx HTTP Strict Transport Security (HSTS) Policy Not Enabled 的處理NginxHTTP
- mount error(5): Input/output errorError
- 【ERROR】OPatch failed with error code 73ErrorAI
- Original error: Error: socket hang upError
- error:03000086:digital envelope routines::initialization errorErrorGit
- 如何解決"Parse error: syntax error"Error
- ERROR 1045 (28000): ProxySQL Error: 報錯ErrorSQL
- 遷移學習(SOT)《Cross-domain Activity Recognition via Substructural Optimal Transport》遷移學習ROSAIStruct
- MongoDBMongoDB
- Error page: / Error infos: DedeCms錯誤警告Error
- Last_IO_Error: Got fatal error 1236ASTErrorGo
- 《計算機網路》第六章:傳輸層(The Transport Layer)計算機網路
- Error for iOSErroriOS
- MongoDB系列--深入理解MongoDB聚合(Aggregation )MongoDB
- Setup had an error Error: At least one of these paths should existErrorAST
- Mongodb NotesMongoDB