Server does not start with "screen"(VDS), without the "screen" starts normally. Use the "libcod2_1_0"(nomysql) Help please.
Error: "[screen is terminating]"
Server does not start with "screen"(VDS), without the "screen" starts normally. Use the "libcod2_1_0"(nomysql) Help please.
Error: "[screen is terminating]"
Post startup line + OS
Have you tried:
instead of just using screen directly in your startup line?Code:screen -AmdS server screen -x server
"Does not work" is an error report for a bug between keyboard and chair.
All hail Artie Effem
CentOS
//
LD_PRELOAD="/root/cod2/libcod2_1_0.so" screen ./run_server +set sv_maxclients 8 +set fs_game test +exec server.cfg +map_rotate +set net_ip 194.94.124.234 +set net_port 28969 +set dedicated 2
/== [screen terminating]
///////////////////////
chmod 755, all files!
//////////////////////
LD_PRELOAD="/root/cod2/libcod2_1_0.so" ./run_server +set sv_maxclients 8 +set fs_game test +exec server.cfg +map_rotate +set net_ip 194.94.124.234 +set net_port 28969 +set dedicated 2
/== normal start
You are trying to "inject" the .so into the "screen" process, which is obviously not the Call of Duty server...
Make a file called server.sh, enter:
Code:LD_PRELOAD="/root/cod2/libcod2_1_0.so" ./run_server +set sv_maxclients 8 +set fs_game test +exec server.cfg +map_rotate +set net_ip 194.94.124.234 +set net_port 28969 +set dedicated 2And start it your old way:Code:chmod +x server.sh
Which is ofc cumbersome, because the screen session has no name then, hence rather start it as IzNoGoD pointed out, by entering the screen-session and simply type:Code:screen server.sh
Code:./server.sh
timescale 0.01
x works fine too
"Does not work" is an error report for a bug between keyboard and chair.
All hail Artie Effem
Ni3ls (25th January 2015)
screen -r will fail when the screen is attached already, while -x never fails ^^
timescale 0.01
Ni3ls (25th January 2015)
Ah oke, didnt know that. I thought it might be a typo
Thx, guys)) I dont have problem))
result: "screen -amdS cod2"
screen -rd ...
LD_PRELOAD...