开发者

Mongodb on solaris10 64bit - I'm getting 'Invalid argument' when trying to run ./mongod

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?


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


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?

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜