/bin/sh: /usr/jdk64/jdk1.7.0_45/bin/java: cannot execute binary file
问题 I installed Ambari server successfully, But when I try to start that server it says, /bin/sh: /usr/jdk64/jdk1.7.0_45/bin/java: cannot execute binary file So could you please help me to resolve this. Thank You. 回答1: It might be wrong architecture. You might be running java x64 on x32 machine. As @G.S mentioned in comments the same problem was disscussed at superuser 来源: https://stackoverflow.com/questions/25841222/bin-sh-usr-jdk64-jdk1-7-0-45-bin-java-cannot-execute-binary-file