2017-03-08T15:21:16.453+0800 I NETWORK [thread1] waiting for connections on port 27017
2017-03-08T15:21:17.026+0800 I FTDC [ftdc] Unclean full-time diagnostic data capture shutdown detected, found interim file, some metrics may have been lost.
为什么在等待端口连接出现之后出现了下面的那句?是什么原因导致的呢?新手求解
1、删除掉diagnostic数据:
rm -f /var/lib/mongo/diagnostic.data/*
2、启动mongodb。
供参考。
Love MongoDB! Have Fun!