0

我正在尝试在我的 windows xp 系统上安装 mongodb,我所看到的只是安装没有继续进行.. 有人可以帮助安装 mongodb 吗?

mongod.exe --dbpath d:\xx\Mongodb\Mongodb\data
Fri Jun 29 18:33:21
Fri Jun 29 18:33:21 warning: 32-bit servers don't have journaling enabled by default. Please use --journal if you want durability.
Fri Jun 29 18:33:21
Fri Jun 29 18:33:21 [initandlisten] MongoDB starting : pid=3568 port=27017 dbpath=d:\xx\Mongodb\Mongodb\data 32-bit host=admin1
Fri Jun 29 18:33:21 [initandlisten]
Fri Jun 29 18:33:21 [initandlisten] ** NOTE: when using MongoDB 32 bit, you are limited to about 2 gigabytes of data
Fri Jun 29 18:33:21 [initandlisten] **       see http://blog.mongodb.org/post/137788967/32-bit-limitations
Fri Jun 29 18:33:21 [initandlisten] **       with --journal, the limit is lower
Fri Jun 29 18:33:21 [initandlisten]
Fri Jun 29 18:33:21 [initandlisten] db version v2.0.6, pdfile version 4.5
Fri Jun 29 18:33:21 [initandlisten] git version: e1c0cbc25863f6356aa4e31375add7bb49fb05bc
Fri Jun 29 18:33:21 [initandlisten] build info: windows sys.getwindowsversion(major=6, minor=0, build=6002, platform=2, service_pack='Service Pack 2') BOOST_LIB_VERSION=1_42
Fri Jun 29 18:33:21 [initandlisten] options: { dbpath: "d:\xx\Mongodb\Mongodb\data" }
Fri Jun 29 18:33:21 [initandlisten] waiting for connections on port 27017
Fri Jun 29 18:33:21 [websvr] admin web console waiting for connections on port 28017
Fri Jun 29 18:34:21 [clientcursormon] mem (MB) res:14 virt:46 mapped:0
Fri Jun 29 18:39:21 [clientcursormon] mem (MB) res:14 virt:46 mapped:0
Fri Jun 29 18:40:21 [PeriodicTask::Runner] task: DBConnectionPool-cleaner took:15ms
Fri Jun 29 18:44:21 [clientcursormon] mem (MB) res:0 virt:46 mapped:0
Fri Jun 29 18:49:21 [clientcursormon] mem (MB) res:0 virt:46 mapped:0
Fri Jun 29 18:54:21 [clientcursormon] mem (MB) res:0 virt:46 mapped:0
Fri Jun 29 18:59:21 [clientcursormon] mem (MB) res:0 virt:46 mapped:0
Fri Jun 29 19:04:21 [clientcursormon] mem (MB) res:0 virt:46 mapped:0
4

1 回答 1

0

这是正常的 MongoDB 输出。您可以从线路Fri Jun 29 18:33:21 [initandlisten] waiting for connections on port 27017中得知 mongod 已启动并正在等待连接。

如果您想将 MongoDB 安装为 Windows 服务,您可以使用mongod.exe [options] --install; 在MongoDB 手册中查看更多选项。

关于输出中的最后几行,这些只是意味着 MongoDB 尚未将任何数据文件加载到内存中。当您创建或使用数据时,那里的数字会改变以指示 mongod 正在使用多少常驻(即物理 RAM)、虚拟和映射内存。

于 2012-06-29T14:52:57.113 回答