Showing results for 
Search instead for 
Did you mean: 

Problems executing binary

Christoph Rothe_3
Frequent Advisor

Problems executing binary

Hi all,

I am currently trying to run a program on the linux computer of my webhoster. They do not have good service but they are cheap.

The problem ist the following

ls -al shoutcast
total 173
drwxr-xr-x 3 radio-ne radio-ne 1024 Apr 16 10:04 .
drwxr-x--x 6 radio-ne radio-ne 1024 Apr 17 05:50 ..
-rw-r--r-- 1 radio-ne radio-ne 22553 Apr 16 09:58 README
drwxr-xr-x 2 radio-ne radio-ne 1024 Apr 16 09:58 content
-rwxr-xr-x 1 radio-ne radio-ne 132916 Apr 16 09:58 sc_serv
-rw-r--r-- 1 radio-ne radio-ne 14068 Apr 16 10:04 sc_serv.conf
> shoutcast/sc_server
bash: shoutcast*/sc_server: No such file or directory
This error message looks as if the sc_server binary was not there. But it is there, it is executable and it is really a binary, not a script.

Do you know what the problem might be ?


Kodjo Agbenu
Honored Contributor

Re: Problems executing binary

Hello Christoph,

2 remarks about your question :

=> You typed "sc_server" but the "ls -al" command shows "sc_serv".

=> the "ls -al" shows shoutcast*/sc_serv. In fact, it seems that there is a star character "*" after the shoutcast. Therefore, you have to type :


THE BACKSLASH IS MANDATORY ! In fact, if you ommit backslash, the star "*" character will be interpreted by the shell itself. Sometimes, it may give unattended result !

Good luck.

Learn and explain...
Christoph Rothe_3
Frequent Advisor

Re: Problems executing binary

Hi Kodjo,

you are right and you are not. It was my fault, because I "beautified" the commandlines for security reasons before I posted them.

I executed the correct command as I can complete the path by pressing TAB.

I also think I found the problem: The Kernel is still version 2.0.36 and so binaries for the newer kernels - which also includes other versions of the libraries - will not work.

I think I will habe to set up a linux with an older kernel and recompile icecast (as shoutcast is only provided as a binary)