Troubleshooting advice for: -bash: cannot execute binary file: Exec format error
Clash Royale CLAN TAG#URR8PPP
up vote
0
down vote
favorite
I am new to Linux so would love a simple explanation of how to troubleshoot this problem:
I have a mining rig and am trying to run a program ./garlicoind
but I get this error:
-bash: ./garicoind: cannot execute binary file: Exec format error
Is this a common problem? What does it indicate?
bash binary troubleshooting
add a comment |Â
up vote
0
down vote
favorite
I am new to Linux so would love a simple explanation of how to troubleshoot this problem:
I have a mining rig and am trying to run a program ./garlicoind
but I get this error:
-bash: ./garicoind: cannot execute binary file: Exec format error
Is this a common problem? What does it indicate?
bash binary troubleshooting
Maybe it is a binary for a different architecture. Look atfile garlicoind
to find out a bit more about that file.
â yeti
Jan 31 at 19:26
For debugging askubuntu.com/questions/648555/â¦
â user13107
Feb 1 at 4:35
add a comment |Â
up vote
0
down vote
favorite
up vote
0
down vote
favorite
I am new to Linux so would love a simple explanation of how to troubleshoot this problem:
I have a mining rig and am trying to run a program ./garlicoind
but I get this error:
-bash: ./garicoind: cannot execute binary file: Exec format error
Is this a common problem? What does it indicate?
bash binary troubleshooting
I am new to Linux so would love a simple explanation of how to troubleshoot this problem:
I have a mining rig and am trying to run a program ./garlicoind
but I get this error:
-bash: ./garicoind: cannot execute binary file: Exec format error
Is this a common problem? What does it indicate?
bash binary troubleshooting
edited Jan 31 at 19:29
yeti
2,36611223
2,36611223
asked Jan 31 at 19:15
talker90
32
32
Maybe it is a binary for a different architecture. Look atfile garlicoind
to find out a bit more about that file.
â yeti
Jan 31 at 19:26
For debugging askubuntu.com/questions/648555/â¦
â user13107
Feb 1 at 4:35
add a comment |Â
Maybe it is a binary for a different architecture. Look atfile garlicoind
to find out a bit more about that file.
â yeti
Jan 31 at 19:26
For debugging askubuntu.com/questions/648555/â¦
â user13107
Feb 1 at 4:35
Maybe it is a binary for a different architecture. Look at
file garlicoind
to find out a bit more about that file.â yeti
Jan 31 at 19:26
Maybe it is a binary for a different architecture. Look at
file garlicoind
to find out a bit more about that file.â yeti
Jan 31 at 19:26
For debugging askubuntu.com/questions/648555/â¦
â user13107
Feb 1 at 4:35
For debugging askubuntu.com/questions/648555/â¦
â user13107
Feb 1 at 4:35
add a comment |Â
1 Answer
1
active
oldest
votes
up vote
1
down vote
accepted
The program you have is most likely a binary compiled for a different architecture than the machine on which you're trying to run.
You can obtain the binary's architecture type by running
file garlicoind
and you can obtain your machine's architecture type by
uname -m
If they are different, you need either to get the correct binary for your architecture, or to get the code source of the program and compile it yourself.
1
Thanks! This was indeed the problem. I was trying to run a 32-bit program on my 64-bit machine
â talker90
Feb 3 at 9:58
add a comment |Â
1 Answer
1
active
oldest
votes
1 Answer
1
active
oldest
votes
active
oldest
votes
active
oldest
votes
up vote
1
down vote
accepted
The program you have is most likely a binary compiled for a different architecture than the machine on which you're trying to run.
You can obtain the binary's architecture type by running
file garlicoind
and you can obtain your machine's architecture type by
uname -m
If they are different, you need either to get the correct binary for your architecture, or to get the code source of the program and compile it yourself.
1
Thanks! This was indeed the problem. I was trying to run a 32-bit program on my 64-bit machine
â talker90
Feb 3 at 9:58
add a comment |Â
up vote
1
down vote
accepted
The program you have is most likely a binary compiled for a different architecture than the machine on which you're trying to run.
You can obtain the binary's architecture type by running
file garlicoind
and you can obtain your machine's architecture type by
uname -m
If they are different, you need either to get the correct binary for your architecture, or to get the code source of the program and compile it yourself.
1
Thanks! This was indeed the problem. I was trying to run a 32-bit program on my 64-bit machine
â talker90
Feb 3 at 9:58
add a comment |Â
up vote
1
down vote
accepted
up vote
1
down vote
accepted
The program you have is most likely a binary compiled for a different architecture than the machine on which you're trying to run.
You can obtain the binary's architecture type by running
file garlicoind
and you can obtain your machine's architecture type by
uname -m
If they are different, you need either to get the correct binary for your architecture, or to get the code source of the program and compile it yourself.
The program you have is most likely a binary compiled for a different architecture than the machine on which you're trying to run.
You can obtain the binary's architecture type by running
file garlicoind
and you can obtain your machine's architecture type by
uname -m
If they are different, you need either to get the correct binary for your architecture, or to get the code source of the program and compile it yourself.
answered Feb 1 at 13:33
dr01
15k114768
15k114768
1
Thanks! This was indeed the problem. I was trying to run a 32-bit program on my 64-bit machine
â talker90
Feb 3 at 9:58
add a comment |Â
1
Thanks! This was indeed the problem. I was trying to run a 32-bit program on my 64-bit machine
â talker90
Feb 3 at 9:58
1
1
Thanks! This was indeed the problem. I was trying to run a 32-bit program on my 64-bit machine
â talker90
Feb 3 at 9:58
Thanks! This was indeed the problem. I was trying to run a 32-bit program on my 64-bit machine
â talker90
Feb 3 at 9:58
add a comment |Â
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2funix.stackexchange.com%2fquestions%2f421049%2ftroubleshooting-advice-for-bash-cannot-execute-binary-file-exec-format-error%23new-answer', 'question_page');
);
Post as a guest
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Maybe it is a binary for a different architecture. Look at
file garlicoind
to find out a bit more about that file.â yeti
Jan 31 at 19:26
For debugging askubuntu.com/questions/648555/â¦
â user13107
Feb 1 at 4:35