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

标签 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

关于mongodb - 在 Meteor 中运行示例的问题,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/10103830/

相关文章:

mongodb 分片自增 shard-key

node.js - mongoDB 处理 1-n n-n 关系的最佳实践是什么?

mysql - 在 Meteor 中使用响应式(Reactive) MySQL 数据库(更新?)

Meteor:在热码推送时向用户发送消息

api - 有什么方法可以让我的 meteor 应用加载时播放youtube视频,并知道视频何时停止播放,以便我播放下一个?

mongodb - 将本地 mongo 集合部署到 meteor.com 服务器

javascript - Mongodb:无法使用字符串字段名称附加到数组

java - Jongo 更新查询不起作用

javascript - 更新 mongodb 文档中另一个数组内的嵌套数组字段

inheritance - IronRouter 在路由 Controller 上扩展数据选项