mongodb - 在 Meteor 中运行示例的问题

我正在测试 Meteor 示例,这是我在 todos 示例中运行 meteor 时看到的:

Unexpected mongo exit code 100. Restarting.
Unexpected mongo exit code 100. Restarting.
Unexpected mongo exit code 100. Restarting.
Can't start mongod. Check for other processes listening on port 3002 or other meteors running in the same project.

如果我在命令行中运行 mongod 会发生这种情况:

Thu Apr 12 19:27:39 Mongo DB : starting : pid = 2686 port = 27017 dbpath = /data/db/ master = 0 slave = 0  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 for more

Thu Apr 12 19:27:39 db version v1.4.4, pdfile version 4.5
Thu Apr 12 19:27:39 git version: nogitversion
Thu Apr 12 19:27:39 sys info: Linux murphy 2.6.32.14-dsa-ia32 #1 SMP Thu May 27 16:19:20 CEST 2010 i686 BOOST_LIB_VERSION=1_42
Thu Apr 12 19:27:39 waiting for connections on port 27017
Thu Apr 12 19:27:39 listen(): bind() failed errno:98 Address already in use for port: 27017
Thu Apr 12 19:27:39 MiniWebServer: bind() failed port:28017 errno:98 Address already in use
Thu Apr 12 19:27:39   addr already in use
Thu Apr 12 19:27:39 warning: web admin interface failed to initialize on port 28017

有人帮忙吗?谢谢!

最佳答案

我遇到了同样的问题。修正:

警告:这会清除您的本地数据库:

meteor reset

https://stackoverflow.com/questions/10103830/

相关文章:

mongodb - 如何查询 MongoDB 以测试项目是否存在?

mongodb - 升级mongodb没有效果仍然显示旧版本

node.js - Mongoose - 验证电子邮件语法

python - 在 Flask 中将表单 POST 对象转换为适合 mongodb 的表示形式

node.js - MongoDB - 错误 : invalid schema, 预期 mongod

arrays - MongoDB重命名数组中的数据库字段

mongodb - 如何在 mongodb 配置文件中设置授权?

mongodb - MongoDB 中的条件 $sum

mongodb - 无法在提供的主机和端口上连接到 MongoDB

mongodb - 用于 maxdistance 和 MongoDB 的单位?