-1

This question already has an answer here:

I have an app in a remote Linux machine. I am trying to execute the app via ssh, but I get the error:

bash: /app: cannot execute binary file

Why is this happening? The application works fine in the remote machine.

UDATE:

Note related to ./executable: cannot execute binary file since it was a 'make' problem.

marked as duplicate by Thomas Dickey, mdpc, cuonglm bash Dec 30 '15 at 4:33

This question has been asked before and already has an answer. If those answers do not fully address your question, please ask a new question.

  • Not really, because in that case, the problem was a 'make' issue. – Jemme Dec 30 '15 at 1:20
  • 1
    What is the output from file ./executable? Where ./executable is the file you're trying to run? – Andrew Henle Dec 30 '15 at 1:35
  • 2
    What is the full command you're using to launch the app? – David King Dec 30 '15 at 1:40
0

Check mount entry in fstab for exec permission. Check if user account on the remote server shell in etc password.

  • noexec results in "Permission denied" error. – user140866 Dec 30 '15 at 3:59

Not the answer you're looking for? Browse other questions tagged or ask your own question.