首頁  >  問答  >  主體

bash - Linux环境下:cannot execute binary file

linux环境下执行命令时,遇到cannot execute binary file错误。。
已经修改过文件权限为 777 ,求助应该如何解决。。

错误内容大致如下:
/ebank/spdb/fundftp $ ./tftclient -ddown -h2 -rmcp/mrdata/mcp_990108160004411_20160413.txt mcp_990108160004411_20160413.txt -t
-bash: ./tftclient: cannot execute binary file
执行tftclient工具下载文件时,提示不能执行二进制文件

我用file命令看了下,显示
/ebank/spdb/fundftp $ file tftclient
tftclient: PA-RISC2.0 shared executable dynamically linked - not stripped

大家讲道理大家讲道理2742 天前767

全部回覆(2)我來回復

  • 迷茫

    迷茫2017-04-17 16:26:29

    你的命令是如何得到的呢?本機編譯的?還是怎樣

    回覆
    0
  • 高洛峰

    高洛峰2017-04-17 16:26:29

    PA-RISC和你這台機器的硬體一致嗎?可正常執行檔的架構(例如file /bin/sh)是什麼?

    回覆
    0
  • 取消回覆