1

Topic: Problem with running server (FreeBSD 9.0 64bit)

Hello!
I was looking for solutions my problem, but I didn't find. I tried run Teeworlds server, like here: https://www.teeworlds.com/forum/viewtopic.php?id=9189 , but something went wrong:

[moops@mydevil]:<~/tee/teeworlds>$ bash start.sh start
Welcome to the CEHosting startscript!
Starting the Teeworlds server(s)...
Checking defined variables and values..
Done
Checking for online servers..
usage: sleep seconds
Done
Checking internet connection..
Done
Giving permissions..
Done
Clearing old PID and LOG files..
Done
Creating directories..
Done
Starting the servers..
Started server '1'
usage: sleep seconds
All servers are started!
Checking server status..
usage: sleep seconds
 sob 21 kwi 2012 19:59:42 CEST WARNING: Not all servers have started!
Only '0' of '1' servers have started!
You might want to check the log files of the not running servers!

Please help.

2

Re: Problem with running server (FreeBSD 9.0 64bit)

Hello Moops,
I made this script. The first problem is not really a problem, but it looks like your system does not like the way I used the command sleep, probably because I used an s at the end for seconds that is not really needed, but in the end it should not really be a problem, so for now ignore it. Now when you came to this point of starting, the script made a folder for log files called "logs". Go into this directory and copy and paste the content here from a file called "server1.log".

3

Re: Problem with running server (FreeBSD 9.0 64bit)

/usr/home/moops/tee/teeworlds/server.sh: source: not found
usage: sleep seconds
/usr/home/moops/tee/teeworlds/server.sh: ${CONFIGFILE[...}: Bad substitution

4 (edited by GBKing 2012-04-21 21:53:27)

Re: Problem with running server (FreeBSD 9.0 64bit)

Alright, reinstall the script using the compability script on the page from where you installed it and it should work smile

EDIT: In the compability version I now removed the s for seconds.

5 (edited by Moops 2012-04-21 22:10:27)

Re: Problem with running server (FreeBSD 9.0 64bit)

Now I have another problem hmm Please help.

/usr/home/moops/server/teeworlds/server.sh: /usr/home/moops/server/teeworlds/srvfiles/teeworlds_srv_64: Błędny format pliku wykonywalnego

Błędny format pliku wykonywalnego (pl) - Invalid executable format (eng)?

6 (edited by GBKing 2012-04-21 22:37:47)

Re: Problem with running server (FreeBSD 9.0 64bit)

I have never used FreeBSD before, but it seems to be close to Unix. You also say that you had problems running it before. Is it possible that the teeworlds_srv_64 does not work for your system? Did you compile it yourself, because the files from the download will not work for FreeBSD. But well, the script at least seems to work now! smile
Try to compile the teeworlds_srv yourself...

By the way thank you minus

7

Re: Problem with running server (FreeBSD 9.0 64bit)

GBKing wrote:

I have never used FreeBSD before, but it seems to be close to Unix. You also say that you had problems running it before. Is it possible that the teeworlds_srv_64 does not work for your system? Did you compile it yourself, because the files from the download will not work for FreeBSD. But well, the script at least seems to work now! smile
Try to compile the teeworlds_srv yourself...

By the way thank you minus

I think this is the answer to your problem. The linux binaries won't work on a Free BSD system.