Take the 2-minute tour ×
Unix & Linux Stack Exchange is a question and answer site for users of Linux, FreeBSD and other Un*x-like operating systems.. It's 100% free, no registration required.

Possible Duplicate:
Getting “Not found” message when running a 32-bit binary on a 64-bit system

ts3user@...:~/ts3$ dir
CHANGELOG
LICENSE
doc
...
ts3server.pid
ts3server_linux_x86
ts3server_minimal_runscript.sh
ts3server_startscript.sh
tsdns 
ts3user@...:~/ts3$ ./ts3server_linux_x86
sh: ./ts3server_linux_x86: No such file or directory

As you can see, dir command reports existence of teamspeak executable. However, when I try to launch it, it states that the file does not exist. What is that? I did chmod 0777 to that directory and chomd 0755 to ts3server_linux_x86.

share|improve this question

marked as duplicate by Gilles, jasonwryan, Renan, Ulrich Dangel, Mat Nov 24 '12 at 10:52

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.

1  
By the way, the *nix command is really ls, not dir :) –  Michael Kjörling Nov 23 '12 at 22:53

2 Answers 2

up vote 4 down vote accepted

Teamspeak has two server package:"Server amd64" or "Server x86"

You try to execute the 32 bits version, and I guess your linux is 64 bits.

Two solutions:

  1. download the 64 bits package

  2. install the ia32 libs to be able to run 32 bits binaries: sudo apt-get install ia32-libs

share|improve this answer
    
Thank you, you vere absolutelly right. Now it's time to go to TS forums to find out, why i cannoct connect to the server using normal client. (telnet works just fine) –  Tomáš Zato Nov 23 '12 at 17:54
    
Its so unfortunate, but I need 2 more reputation to be able to vote up your post :( –  Tomáš Zato Nov 23 '12 at 17:55

One (non-)obvious situation I can think of when something like this can happen, is if there is a non-printing character (e.g. a space) at the beginning or the end of the file name, but you fail to account for that in your command invocation. It would appear to be unlikely in this particular case, but has been known to bite people.

Try typing: ./*ts3server_linux_x86* tab and see what that expands to. Press tab a second time if you don't get anything back (might be needed, depending on what you elided).

share|improve this answer
    
Nope, seems that the filename does not contait any spaces on beginning or the end. It really is a little unlikely for software installer, but it surely was wort a try. –  Tomáš Zato Nov 23 '12 at 16:14

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