-->

2017年5月2日星期二

MongoDB: Unclean full-time diagnostic data capture shutdown detected

如果run mongod 的時候出現以下的error message的話!

Error:
Unclean full-time diagnostic data capture shutdown detected, found interim file, some metrics may have been lost. OK

那麼直接刪除一個叫 diagnostic.data 的檔案,之後重新再run mongod就可以解決了。

diagnostic.data 的檔案應該儲存在database folder內,例如 c:\data\db\ folder 內.

非常簡單,不過都寫出步驟:
1. stop mongod
2. kill mongod process
3. del c:\data\db\diagnostic.data
4. run mongod
5. done.

沒有留言:

發佈留言