mdowen 发表于 2012-03-07 10:10

Linux下启动MongoDB出现dbexit: really exiting now

启动的时候出现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 Mar7 10:07:48 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 Mar7 10:07:48 db version v1.8.1, pdfile version 4.5
Wed Mar7 10:07:48 git version: a429cd4f535b2499cc4130b06ff7c26f41c00f04
Wed Mar7 10:07:48 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 Mar7 10:07:48 exception in initAndListen std::exception: repairpath (/tmp/mongodb) does not exist, terminating
Wed Mar7 10:07:48 dbexit:
Wed Mar7 10:07:48 shutdown: going to close listening sockets...
Wed Mar7 10:07:48 shutdown: going to flush diaglog...
Wed Mar7 10:07:48 shutdown: going to close sockets...
Wed Mar7 10:07:48 shutdown: waiting for fs preallocator...
Wed Mar7 10:07:48 shutdown: closing all files...
Wed Mar7 10:07:48 closeAllFiles() finished
Wed Mar7 10:07:48 dbexit: really exiting now

poilkj0 发表于 2012-04-23 14:12

页: [1]
查看完整版本: Linux下启动MongoDB出现dbexit: really exiting now