** NOTE: when using MongoDB 32 bit, you are limited to about 2 gigabytes of data
** see http://blog.mongodb.org/post/137788967/32-bit-limitations
** with --dur, the limit is lower
Tue Sep 18 11:21:42 [initandlisten] db version v1.8.1, pdfile version 4.5
Tue Sep 18 11:21:42 [initandlisten] git version: a429cd4f535b2499cc4130b06ff7c26f41c00f04
Tue Sep 18 11:21:42 [initandlisten] build sys info: windows (5, 1, 2600, 2, 'Service Pack 3') BOOST_LIB_VERSION=1_35
**************
old lock file: D:\www\mongodb\data\mongod.lock. probably means unclean shutdown
recommend removing file and running --repair
see: http://dochub.mongodb.org/core/repair for more information
*************
Tue Sep 18 11:21:42 [initandlisten] exception in initAndListen std::exception: old lock file, terminating
Tue Sep 18 11:21:42 dbexit:
Tue Sep 18 11:21:42 [initandlisten] shutdown: going to close listening sockets...
Tue Sep 18 11:21:42 [initandlisten] shutdown: going to flush diaglog...
Tue Sep 18 11:21:42 [initandlisten] shutdown: going to close sockets...
Tue Sep 18 11:21:42 [initandlisten] shutdown: waiting for fs preallocator...
Tue Sep 18 11:21:42 [initandlisten] shutdown: closing all files...
Tue Sep 18 11:21:42 closeAllFiles() finished
Tue Sep 18 11:21:42 dbexit: really exiting now
网上都是Linux环境下的,语句的确方便很多。。。
windows下sb解决方法:直接到该目录下删除mongod.lock