# Cannot execute binary file

**URL:** https://community.unix.com/t/cannot-execute-binary-file/343111
**Category:** Red Hat
**Created:** [May 26, 2014, 3:47pm UTC](https://community.unix.com/t/cannot-execute-binary-file/343111 "2014-05-26T15:47:24Z")
**Posts on this page:** 2
**Page:** 1

<div class="post-metadata">

### Author: ![Nandy](https://community.unix.com/letter_avatar/nandy/32/5_5575768a8748004e209b776fc1b2916d.png) [@Nandy](https://community.unix.com/u/Nandy)
#### Post date: [May 26, 2014, 3:47pm UTC](https://community.unix.com/t/cannot-execute-binary-file/343111/1 "2014-05-26T15:47:24Z")

</div>

Hi,

When i was trying to execute binary file i am getting the below " cannot execute binary file " error message."

My Unix Version is : Red Hat Enterprise Linux Server release 5.1 (Tikanga)

Logged in as Sudo user and $PATH Value is below

/usr/kerberos/sbin:/usr/kerberos/bin:/usr/local/bin:/usr/bin:/bin:/usr/X11R6/bin:/home/fornanthu/bin

I tried surfing the forums but the answers did not resolve my issues as i have changed my $PATH value as mentioned in the forum and tried.

Regards,  
Nandy

---

<div class="post-metadata">

### Author: ![Aia](https://community.unix.com/user_avatar/community.unix.com/aia/32/917_2.png) [@Aia](https://community.unix.com/u/Aia)
#### Post date: [May 26, 2014, 4:08pm UTC](https://community.unix.com/t/cannot-execute-binary-file/343111/2 "2014-05-26T16:08:21Z")

</div>

> [@nandy](#):
>
> Hi,
> 
> When i was trying to execute binary file i am getting the below " cannot execute binary file " error message."
> 
> My Unix Version is : Red Hat Enterprise Linux Server release 5.1 (Tikanga)
> 
> Logged in as Sudo user and $PATH Value is below
> 
> /usr/kerberos/sbin:/usr/kerberos/bin:/usr/local/bin:/usr/bin:/bin:/usr/X11R6/bin:/home/fornanthu/bin
> 
> I tried surfing the forums but the answers did not resolve my issues as i have changed my $PATH value as mentioned in the forum and tried.
> 
> Regards,  
> Nandy

Are you trying to run a 64bit executable in a 32bit system?

---------- Post updated at 02:08 PM ---------- Previous update was at 02:03 PM ----------

Could you post the output of:

```plaintext
uname -a
file <path/to/binary>

```
