流星:意外的mongo退出代码100 [英] Meteor: unexpected mongo exit code 100

查看:804
本文介绍了流星:意外的mongo退出代码100的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我刚刚在我的CentOS版本6.3(Final)服务器(Linux版本2.6.32-279.19.1.el6.i686(mockbuild@c6b8.bsys.dev.centos.org)上安装了Meteor版本0.5.9(45fef52095) )(gcc version 4.4.6 20120305(Red Hat 4.4.6-4)(GCC))#1 SMP Wed Dec 19 04:30:58 UTC 2012)

I have just installed Meteor version 0.5.9 (45fef52095) to my CentOS release 6.3 (Final) server (Linux version 2.6.32-279.19.1.el6.i686 (mockbuild@c6b8.bsys.dev.centos.org) (gcc version 4.4.6 20120305 (Red Hat 4.4.6-4) (GCC) ) #1 SMP Wed Dec 19 04:30:58 UTC 2012)

我有一个samba共享给一个Windows SBS服务器作为/ mnt / apshared安装在apache用户下。我在这个名为webmeteor内创建了一个目录。我在'webmeteor'目录中创建了一个名为'myapp'的应用程序,所以我的目录是这样的:/ mnt / apshared / webmeteor / myapp。

I have a samba share to a Windows SBS server mounted as /mnt/apshared under the apache user. I have created a directory inside this called 'webmeteor'. I have created an app called 'myapp' inside the 'webmeteor' directory, so my directory is like so: /mnt/apshared/webmeteor/myapp.

作为根。当我尝试使用 meteor 命令运行应用程序时,我会收到以下错误消息:

I am logged in as root. When I try to run the app using the meteor command, I am given the following error messages:

Unexpected mongo exit code 100. Restarting.
Unexpected mongo exit code 100. Restarting.
Unexpected mongo exit code 100. Restarting.
Can't start mongod

MongoDB had an unspecified uncaught exception.
Check to make sure that MongoDB is able to write to its database directory.

我的第一个调用点是这个StackOverflow问题:创建一个新的meteor.js文件并获取错误100,MongoDB不能写 - 但是,遵循这些建议(sudo'ing meteor命令,并检查磁盘空间,我有70GB免费)没有工作。

My first point of call was this StackOverflow question: Creating a new meteor.js file and get error 100, MongoDB not able to write -- however, following these suggestions (sudo'ing the meteor command, and checking for disk space of which I have 70GB free) has not worked. I am quite certain that these issues are permission related.

我已尝试向 chown 递归到root:root因为我以root身份登录),并且 chmod 也递归到777,但是没有效果。

I have tried to chown recursively to root:root (as I am logged in as root), and chmod to 777 recursively also, but to no avail.

提前感谢。

推荐答案

看起来像一个临时解决方案可以通过运行meteor从一个目录不是在装载中找到。 Mongodb似乎不太热衷于分享,所以你需要设置rsync来定期将文件从你的共享文件复制到meteor运行的目录。

It looks like a temporary solution can be found by running meteor out of a directory that isn't in the mount. Mongodb doesn't seem to take too kindly to shares, so you'll need set up rsync to periodically copy the files from your share to the directory where meteor is running.

资料来源:问题在Meteor中运行示例

这篇关于流星:意外的mongo退出代码100的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆