Solaris10 64 位上的 Mongodb - 我收到“无效参数”当尝试运行 ./mongod 时
我已经从 mongo 站点解压并解压缩了 Solaris 安装包 - 版本 1.6.3。当我尝试运行 ./mongod 命令时,我得到以下信息(以 root 身份运行):
$ ./mongod
bash: ./mongod: Invalid argument
其余可执行文件也会发生同样的情况。我已按照说明创建了数据文件夹,但我可能缺少一些基本内容。我还 chmod'd 和 chown'd 整个目录,但没有运气。
想法?
I've unzipped and detarred the solaris install package from the mongo site - version 1.6.3. When I try to run the ./mongod command I get the following (running as root):
$ ./mongod
bash: ./mongod: Invalid argument
Same thing happens for the rest of the executables. I've created the data folder as per the instructions, but I'm probably missing something basic. I've also chmod'd and chown'd the entire directory, but no luck.
Thoughts?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
这可能是 Solaris SPARC 大尾数法问题的表现形式吗?我遇到了同样的问题,其他网络搜索让我认为 Mongo 与 Solaris SPARC 机器不兼容。如果这影响到您,请投票支持修复。
https://jira.mongodb.org/browse/SERVER-1625
Could this be how the Solaris SPARC big-endian problem manifests itself? I am running into same problem and other web searching makes me think Mongo isn't compatible w/ Solaris SPARC machines. If this impacts you please vote for fix.
https://jira.mongodb.org/browse/SERVER-1625
一般来说,您不需要以 root 身份运行 mongo。我会尝试显式定义
--dbpath
和--logpath
。看看这是否至少为您提供了包含更多崩溃详细信息的日志文件?Generally, you should not need to run mongo as root. I would try to explicitly define both the
--dbpath
and the--logpath
. See if that doesn't at least give you a log file with more details of the crash?