Warning: file_get_contents(/data/phpspider/zhask/data//catemap/2/linux/24.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181

Warning: file_get_contents(/data/phpspider/zhask/data//catemap/6/mongodb/12.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
在linux服务器上运行mongodb时出错_Linux_Mongodb - Fatal编程技术网

在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下载文件中