- 论坛徽章:
- 0
|
启动的时候出现dbexit: really exiting now
我也看了网上的解决办法,说是删除db目录下的lock文件即可,
但是我也删了好几次,而再启动的时候还是出现这个错误. 不知道各位知道如何解决么.- root@node234 mongodb]# /data/mongodb/mongodb-linux-i686-1.8.1/bin/mongod --dbpath=/data/db -repairpath /tmp/mongodb
- Wed Mar 7 10:07:48 [initandlisten] MongoDB starting : pid=25363 port=27017 dbpath=/data/db 32-bit
- ** 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
- Wed Mar 7 10:07:48 [initandlisten] db version v1.8.1, pdfile version 4.5
- Wed Mar 7 10:07:48 [initandlisten] git version: a429cd4f535b2499cc4130b06ff7c26f41c00f04
- Wed Mar 7 10:07:48 [initandlisten] build sys info: Linux bs-linux32.10gen.cc 2.6.21.7-2.fc8xen #1 SMP Fri Feb 15 12:39:36 EST 2008 i686 BOOST_LIB_VERSION=1_37
- Wed Mar 7 10:07:48 [initandlisten] exception in initAndListen std::exception: repairpath (/tmp/mongodb) does not exist, terminating
- Wed Mar 7 10:07:48 dbexit:
- Wed Mar 7 10:07:48 [initandlisten] shutdown: going to close listening sockets...
- Wed Mar 7 10:07:48 [initandlisten] shutdown: going to flush diaglog...
- Wed Mar 7 10:07:48 [initandlisten] shutdown: going to close sockets...
- Wed Mar 7 10:07:48 [initandlisten] shutdown: waiting for fs preallocator...
- Wed Mar 7 10:07:48 [initandlisten] shutdown: closing all files...
- Wed Mar 7 10:07:48 closeAllFiles() finished
- Wed Mar 7 10:07:48 dbexit: really exiting now
复制代码 |
|