我在一个临时目录中有我的 mongo 数据文件。
我通过提供以下命令启动服务器: ./mongod --dbpath /nlu/users/ig/mongodb 它工作正常,我可以使用 python 驱动程序写入数据库。我今天收到此错误。请帮忙看看如何解决。
还有如何设置tokudb_fs_reserve_percent?谢谢!
bash-3.2$ ./mongod --dbpath /nlu/users/ig/tokudata
Mon Jul 15 18:22:28 nssize is a deprecated parameter
Mon Jul 15 18:22:28 [initandlisten] TokuMX starting : pid=9880 port=27017 dbpath=/nlu/users/indrani_gorti/tokudata 64-bit host=unv-ig
Mon Jul 15 18:22:28 [initandlisten] TokuMX mongod server v1.0.1-mongodb-2.2.4, using TokuKV rev 8f8d303
Mon Jul 15 18:22:28 [initandlisten] git version: 101a2f8
Mon Jul 15 18:22:28 [initandlisten] build info: Linux lex1.tokutek.com 2.6.18- 308.8.2.el5 #1 SMP Tue Jun 12 09:58:12 EDT 2012 x86_64 BOOST_LIB_VERSION=1_49
Mon Jul 15 18:22:28 [initandlisten] options: { dbpath: "/nlu/users/indrani_gorti/tokudata" }
Mon Jul 15 18:22:29 [initandlisten] [tokumx] startup
Mon Jul 15 18:22:29 [initandlisten] [tokumx] locktree max memory set to 418906316 bytes.
Mon Jul 15 18:22:32 2013 Tokudb file system space is low
Mon Jul 15 18:22:32 [initandlisten] ERROR: listen(): bind() failed errno:98 Address already in use for socket: 0.0.0.0:27017
Mon Jul 15 18:22:32 [initandlisten] ERROR: addr already in use
Mon Jul 15 18:22:32 [initandlisten] now exiting
Mon Jul 15 18:22:32 dbexit:
Mon Jul 15 18:22:32 [initandlisten] shutdown: going to close listening sockets...
Mon Jul 15 18:22:32 [initandlisten] shutdown: going to flush diaglog...
Mon Jul 15 18:22:32 [initandlisten] shutdown: going to close sockets...
Mon Jul 15 18:22:32 [initandlisten] shutdown: going to close databases...
Mon Jul 15 18:22:32 [initandlisten] shutdown: going to shutdown TokuKV...
Mon Jul 15 18:22:32 [initandlisten] [tokumx] shutdown
Mon Jul 15 18:22:32 [TTLMonitor] ERROR: Client::shutdown not called: TTLMonitor
Mon Jul 15 18:22:32 [websvr] ERROR: listen(): bind() failed errno:98 Address already in use for socket: 0.0.0.0:28017
Mon Jul 15 18:22:32 [websvr] ERROR: addr already in use
Mon Jul 15 18:22:33 [initandlisten] shutdown: removing fs lock...
Mon Jul 15 18:22:33 dbexit: really exiting now