I have a application that gives the error:
nhsupsserver: cannot execute binary file
I read some texts and the most speak about an architecture mismatch and executable file.
The line that references the error is
do_start() { $NHSUPSSERVER -d }
I tried with a 32 and 64 bit executable but the same thing happened
cubietruck:/usr/local/nhs# file nhsupsserver64 nhsupsserver64: ELF 64-bit LSB executable, x86-64, version 1 (SYSV), dynamically linked (uses shared libs), for GNU/Linux 2.6.18, BuildID[sha1]=0x90896f88ce3ae94d53190615abf4f2075ee1b18d, not stripped cubietruck:/usr/local/nhs# file nhsupsserver32 nhsupsserver32: ELF 32-bit LSB executable, Intel 80386, version 1 (SYSV), dynamically linked (uses shared libs), for GNU/Linux 2.6.18, BuildID[sha1]=0x5a63e079574fae633eb538a4400f5e6f6e224752, not stripped cubietruck:/usr/local/nhs# uname -a Linux cubietruck 3.4.61+ #1 SMP PREEMPT Tue Dec 17 19:28:39 CST 2013 armv7l armv7l armv7l GNU/Linux
What is going on?