在linux服务器上运行mongodb时出错
我正在尝试运行以下命令:在linux服务器上运行mongodb时出错,linux,mongodb,Linux,Mongodb,我正在尝试运行以下命令: mongod --storageEngine wiredTiger --dbpath data --logpath logs/mongo.log 在linux服务器上,但它给了我一个错误 cannot execute binary file: Exec format error 当我试图用readelf-d查看文件mongod的依赖关系时,它给出了太多错误: readelf: Warning: The e_shentsize field in the ELF hea
mongod --storageEngine wiredTiger --dbpath data --logpath logs/mongo.log
在linux服务器上,但它给了我一个错误
cannot execute binary file: Exec format error
当我试图用readelf-d
查看文件mongod的依赖关系时,它给出了太多错误:
readelf: Warning: The e_shentsize field in the ELF header is larger than the size of an ELF section header
readelf: Error: Reading 0x9c00000 bytes extends past end of file for section headers
我没有找到有关此错误的任何信息问题出在linux版本上我在linux服务器64位中使用mongodb 32位您是如何获得二进制文件的?它是从您的发行版存储库中获得的吗?是的,它位于mongodb下载文件中