2015-08-23 43 views
0

當凝視mongoDB服務器時,它遇到錯誤以下,並且mongoDB服務器無法啓動。當凝視mongoDB服務器時,它遇到錯誤

2015-08-23T17:38:39.583+0530 I JOURNAL [initandlisten] journal dir=C:\data\db\journal 
2015-08-23T17:38:39.587+0530 I JOURNAL [initandlisten] recover : no journal files present, no recovery needed 
2015-08-23T17:38:39.588+0530 I JOURNAL [initandlisten] 
2015-08-23T17:38:39.589+0530 E JOURNAL [initandlisten] Insufficient free space for journal files 
2015-08-23T17:38:39.589+0530 I JOURNAL [initandlisten] Please make at least 3379MB available in C:\data\db\journal or use --smallfiles 
2015-08-23T17:38:39.590+0530 I JOURNAL [initandlisten] 
2015-08-23T17:38:39.590+0530 I STORAGE [initandlisten] exception in initAndListen: 15926 Insufficient free space for journals, terminating 
2015-08-23T17:38:39.591+0530 I CONTROL [initandlisten] now exiting 
2015-08-23T17:38:39.592+0530 I NETWORK [initandlisten] shutdown: going to close listening sockets... 
2015-08-23T17:38:39.592+0530 I NETWORK [initandlisten] shutdown: going to flush diaglog... 
2015-08-23T17:38:39.593+0530 I NETWORK [initandlisten] shutdown: going to close sockets... 
2015-08-23T17:38:39.593+0530 I STORAGE [initandlisten] shutdown: waiting for fs preallocator... 
2015-08-23T17:38:39.593+0530 I STORAGE [initandlisten] shutdown: final commit... 
2015-08-23T17:38:39.594+0530 I STORAGE [initandlisten] shutdown: closing all files... 
2015-08-23T17:38:39.594+0530 I STORAGE [initandlisten] closeAllFiles() finished 
2015-08-23T17:38:39.595+0530 I CONTROL [initandlisten] dbexit: rc: 100 

當C:\數據被刪除時,它的作品。我遵循this教程。但它沒有奏效。你能幫我解決這個問題嗎?

+1

錯誤信息中提到''可用空間不足' - 您是否處理過/考慮過這個問題? – Lix

+0

問題是當我在上面的cmd上運行mongod時,會顯示錯誤消息。 –

+1

請再看看我的評論**和**在錯誤消息文本。 錯誤消息是說您沒有足夠的可用空間。你是否檢查過你有足夠的空間來啓動'mongod'實例? – Lix

回答

1

正如Lix所說,所有的信息都在錯誤信息中。特別是在:爲期刊

可用空間不足文件
請在C語言中至少3379MB:\ DATA \ DB \期刊或使用--smallfiles

如果你在自由至少3379MB你的C分區你應該可以啓動MongoDB服務器。

相關問題