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

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

问题描述

我刚刚将 Meteor 版本 0.5.9 (45fef52095) 安装到我的 CentOS 版本 6.3(最终版)服务器(Linux 版本 2.6.32-279.19.1.el6.i686 (mockbuild@c6b8.bsys.dev.centos.org)) (gcc 版本 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)

我有一个到 Windows SBS 服务器的 samba 共享,在 apache 用户下安装为/mnt/apshared.我在其中创建了一个名为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.

我以 root 身份登录.当我尝试使用 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 无法写入 -- 但是,请遵循这些建议(使用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 递归地chown 递归到 root:root(因为我以 root 身份登录),并且 chmod 也递归地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 应用程序启动?

I am asking you, what should I try next, to allow my Meteor app to start?

提前致谢.

推荐答案

看起来可以通过从不在挂载中的目录中运行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天全站免登陆