linux下安装mongodb 报错:
bash: ./mongod: cannot execute binary file不知什么原因?

解决方案 »

  1.   

    这个问题看来对你很急啊。我在javaeye上回答过你了。
    解决步骤:
    $ ls -l `which mongod` 查看是否有执行权限。
    如果没有执行权限,chmod执行权限。
    如果有执行权限,看是否是把 32bit和64bit搞错了。默认是32位
    引用
    Small Instance – default*1.7 GB memory
    1 EC2 Compute Unit (1 virtual core with 1 EC2 Compute Unit)
    160 GB instance storage
    32-bit platform
    I/O Performance: Moderate
    API name: m1.smallLarge Instance7.5 GB memory
    4 EC2 Compute Units (2 virtual cores with 2 EC2 Compute Units each)
    850 GB instance storage
    64-bit platform
    I/O Performance: High
    API name: m1.large问题解决了,就给分吧  嘿嘿