Apr 09, 2010 13:41
Running my own linux server
Hi All,
I'm trying to run my own bolo server on Linux for a few friends, but I'm having a bit of trouble. I've tried two different things so far:
1. The linux binary from winbolo.com -- downloaded OK, but I get an error when I try to use it:
[code:1:ecb7af80af]$ ./linbolods
-bash: ./linbolods: No such file or directory[/code:1:ecb7af80af]
This looks like there's a library missing, but I'm not sure what it would be - I have glibc installed and SDL (since I can compile it). ltrace and strace don't give me many clues either, or I'm just not reading them properly:
[code:1:ecb7af80af]~/winbolo/linbolo117-server$ ltrace /home/anthony/winbolo/linbolo117-server/linbolods
Can't execute `/home/anthony/winbolo/linbolo117-server/linbolods': No such file or directory
PTRACE_SETOPTIONS: No such process[/code:1:ecb7af80af]
and
[code:1:ecb7af80af]~/winbolo/linbolo117-server$ strace /home/anthony/winbolo/linbolo117-server/linbolods
execve("/home/anthony/winbolo/linbolo117-server/linbolods", ["/home/anthony/winbolo/linbolo117"...], [/* 18 vars */]) = -1 ENOENT (No such file or directory)
dup(2) = 3
fcntl(3, F_GETFL) = 0x8002 (flags O_RDWR|O_LARGEFILE)
fstat(3, {st_mode=S_IFCHR|0600, st_rdev=makedev(136, 0), ...}) = 0
mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x2aff19ee0000
lseek(3, 0, SEEK_CUR) = -1 ESPIPE (Illegal seek)
write(3, "strace: exec: No such file or dir"..., 40strace: exec: No such file or directory
) = 40
close(3) = 0
munmap(0x2aff19ee0000, 4096) = 0
exit_group(1) = ?
~/winbolo/linbolo117-server$[/code:1:ecb7af80af]
2. I've tried building from scratch, which works, but I can't seem to connect. The code is the latest from the Google Code repository, and claims to be 1.16, even though 1.17 is up on winbolo.com. I have it running, but I can't connect to it with 1.17, 1.16 or 1.15. The client claims not to be able to connect (check firewall, port, etc.) and with 1.17 the server gives this message:
[code:1:ecb7af80af]~/winbolo$ ./linbolods -map maps/bigcity.map -port 4242 -gametype Open -ai no -nowinbolonet -maxplayers 16 -addr XXX.XXX.XXX.XXX
LinBolo Server - v1.16 (12/02/09)
LinBolo Copyright 1998-2006 John Morrison
Bolo Copyright 1987-1995 Stuart Cheshire
Core Simulation Startup
Server Transport Startup
Thread Manager Startup
Type "help" for help, "quit" to exit.
Info packet request from XXX.XXX.XXX.XXX (my client's IP address)
[/code:1:ecb7af80af]
And then nothing. Can anyone shed any light on what's going on? Is this an RSA key issue or something? (Although I suspect that I might get a different error message if that were the case).
Thanks in advance,
Anthony
I'm trying to run my own bolo server on Linux for a few friends, but I'm having a bit of trouble. I've tried two different things so far:
1. The linux binary from winbolo.com -- downloaded OK, but I get an error when I try to use it:
[code:1:ecb7af80af]$ ./linbolods
-bash: ./linbolods: No such file or directory[/code:1:ecb7af80af]
This looks like there's a library missing, but I'm not sure what it would be - I have glibc installed and SDL (since I can compile it). ltrace and strace don't give me many clues either, or I'm just not reading them properly:
[code:1:ecb7af80af]~/winbolo/linbolo117-server$ ltrace /home/anthony/winbolo/linbolo117-server/linbolods
Can't execute `/home/anthony/winbolo/linbolo117-server/linbolods': No such file or directory
PTRACE_SETOPTIONS: No such process[/code:1:ecb7af80af]
and
[code:1:ecb7af80af]~/winbolo/linbolo117-server$ strace /home/anthony/winbolo/linbolo117-server/linbolods
execve("/home/anthony/winbolo/linbolo117-server/linbolods", ["/home/anthony/winbolo/linbolo117"...], [/* 18 vars */]) = -1 ENOENT (No such file or directory)
dup(2) = 3
fcntl(3, F_GETFL) = 0x8002 (flags O_RDWR|O_LARGEFILE)
fstat(3, {st_mode=S_IFCHR|0600, st_rdev=makedev(136, 0), ...}) = 0
mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x2aff19ee0000
lseek(3, 0, SEEK_CUR) = -1 ESPIPE (Illegal seek)
write(3, "strace: exec: No such file or dir"..., 40strace: exec: No such file or directory
) = 40
close(3) = 0
munmap(0x2aff19ee0000, 4096) = 0
exit_group(1) = ?
~/winbolo/linbolo117-server$[/code:1:ecb7af80af]
2. I've tried building from scratch, which works, but I can't seem to connect. The code is the latest from the Google Code repository, and claims to be 1.16, even though 1.17 is up on winbolo.com. I have it running, but I can't connect to it with 1.17, 1.16 or 1.15. The client claims not to be able to connect (check firewall, port, etc.) and with 1.17 the server gives this message:
[code:1:ecb7af80af]~/winbolo$ ./linbolods -map maps/bigcity.map -port 4242 -gametype Open -ai no -nowinbolonet -maxplayers 16 -addr XXX.XXX.XXX.XXX
LinBolo Server - v1.16 (12/02/09)
LinBolo Copyright 1998-2006 John Morrison
Bolo Copyright 1987-1995 Stuart Cheshire
Core Simulation Startup
Server Transport Startup
Thread Manager Startup
Type "help" for help, "quit" to exit.
Info packet request from XXX.XXX.XXX.XXX (my client's IP address)
[/code:1:ecb7af80af]
And then nothing. Can anyone shed any light on what's going on? Is this an RSA key issue or something? (Although I suspect that I might get a different error message if that were the case).
Thanks in advance,
Anthony