9
在將mongodb副本集轉換爲獨立服務器後,我遇到以下警告。我做了rs.remove('host'),並在啓動mongo db時刪除了replSet參數。將副本集轉換爲獨立服務器後遇到MongoDB警告
[[email protected] ~]# mongo
MongoDB shell version: 2.4.3
connecting to: test
Server has startup warnings:
Tue Jul 9 17:18:46.076 [initandlisten]
Tue Jul 9 17:18:46.076 [initandlisten] ** WARNING: mongod started without --replSet yet 1 documents are present in local.system.replset
Tue Jul 9 17:18:46.077 [initandlisten] ** Restart with --replSet unless you are doing maintenance and no other clients are connected.
Tue Jul 9 17:18:46.077 [initandlisten] ** The TTL collection monitor will not start because of this.
Tue Jul 9 17:18:46.077 [initandlisten] ** For more info see http://dochub.mongodb.org/core/ttlcollections
Tue Jul 9 17:18:46.077 [initandlisten]
>
請幫忙。需要立即修復它。謝謝。
我具有完全相同的問題和消息仍然出現。我也收到以下消息:'>使用本地 切換到db本地 > db.dropDatabase() {「dropped」:「local」,「ok」:1} > rs.status() { 「ok」:0,「errmsg」:「沒有運行--replSet」}' – hfranco