我刚刚将 Meteor 版本 0.5.9 (45fef52095) 安装到我的 CentOS 版本 6.3 (Final) 服务器 (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)
我在 apache 用户下作为 /mnt/apshared 安装了 Windows SBS 服务器的 samba 共享。我在其中创建了一个名为“webmeteor”的目录。我在“webmeteor”目录中创建了一个名为“myapp”的应用程序,所以我的目录是这样的:/mnt/apshared/webmeteor/myapp。
我以 root 身份登录。当我尝试使用该meteor
命令运行应用程序时,我收到以下错误消息:
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 问题:Creating a new meteor.js file and get error 100, MongoDB not able to write - 然而,遵循这些建议(sudo'ing the meteor 命令,并检查我的磁盘空间有 70GB 可用空间)没有奏效。我很确定这些问题与许可有关。
我尝试chown
递归到 root:root (因为我以 root 身份登录),并chmod
递归到 777,但无济于事。
我在问你,接下来我应该尝试什么来让我的 Meteor 应用程序启动?
提前致谢。