Hi all,
Thanks in advance to anyone who can give me some advice on this issue. I'm not a Unix/Linux guru but do work in these environments so not an absolute newbie.
I admin srcds on a remote server that the owner has recently upgraded from WinXP to Ubuntu 64bit. I since have had many problems in getting anything to work but between the owner and I, we have managed to get CSS up and running using the dchroot -d ./css_server.sh command.
The command line in the css_server.sh shell script is...
./srcds_run -console -game cstrike +map de_tides +maxplayers 32 -autoupdate -tickrate 66 -pidfile csssrcds.pid -port 27015
This is now working really well and I don't think I have any further problems with CSS. So from there on, I decided to install both hl2mp and DoD servers.
Using a similar command line as above, I have managed to install both servers successfully and get them up running. However, the second I attempt to connect to the servers, they immediately crash. The resulting error messages are...
davidf@pugserver:~/srcds$ ./run_srcds.sh dods_server.sh
(dapper) ./dods_server.sh
Starting DoD:Source Server
Auto detecting CPU
Using AMD-Opteron (64 bit) Optimised binary.
Auto-restarting the server on crash
Updating server using Steam.
Checking bootstrapper version ...
Updating Installation
Checking/Installing 'Base Source Shared Materials' version 8
Checking/Installing 'Base Source Shared Models' version 4
Checking/Installing 'Base Source Shared Sounds' version 4
Checking/Installing 'Day of Defeat Source Base Content' version 12
Checking/Installing 'Source Dedicated Server Linux' version 62
HLDS installation up to date
Console initialized.
Game.dll loaded for "Day of Defeat"
maxplayers set to 32
maxplayers set to 32
Network: IP 127.0.1.1, mode MP, dedicated Yes, ports 27015 SV / 27005 CL
Error: Material "nature/cloud002" : proxy "TextureScroll" not found!
couldn't exec skill1.cfg
Executing dedicated server config file
Error: Material "sprites/bubble" : proxy "AnimatedTexture" not found!
Error: Material "particle/smokestack" : proxy "ParticleSphereProxy" not found!
Error: Material "models/weapons/w_models/tnt/w_tnt_red" : proxy "Sine" not found!
Error: Material "sprites/glow_test02" : proxy "lampbeam" not found!
Section [Scenes]: 0 resources total 0 bytes, 0.00 % of limit (2.10 MB)
couldn't exec dod_colmar.cfg
Adding master server 207.173.177.11:27011
Adding master server 69.28.151.162:27011
Connection to Steam servers successful.
VAC secure mode is activated.
Client "[CML-DBA] JimBeam" connected (220.239.202.128:27005).
*** glibc detected *** free(): invalid pointer: 0x557be000 ***
./srcds_run: line 344: 20717 Aborted (core dumped) $HL_CMD
Add "-debug" to the ./srcds_run command line to generate a debug.log to help with solving this problem
Sat Aug 26 02:48:59 UTC 2006: Server restart in 10 seconds
Sat Aug 26 02:49:02 UTC 2006: Server Quit
So although everything works fine with CSS, both DoD and hl2mp are crashing as explained. Note that both the problem server will run for hours providing nobody connects.
My next step was to run the program in debug mode. As I have never done this before I am getting (newbie) errors. I added the parameters -debug (and later -debuglog) to the command line and I do have gdb installed but it can't find gdb. I'm sure this is just an operator error however it is currently preventing me from producing a debug.log to view here.
If anyone has any suggestions or has experienced this behaviour I would appreciate and suggestions or advice.
Linux environment information is as follows...
cat /etc/issue
Ubuntu 6.06.1 LTS \n \l
cat /proc/version
Linux version 2.6.15-23-amd64-server (buildd@yellow) (gcc version 4.0.3 (Ubuntu 4.0.3-1ubuntu5)) #1 SMP Tue May 23 13:57:20 UTC 2006
uname -a:
Linux server 2.6.15-23-amd64-server #1 SMP Tue May 23 13:57:20 UTC 2006 x86_64 GNU/Linux
ldd --version:
ldd (GNU libc) 2.3.6
Copyright © 2005 Free Software Foundation, Inc.
This is free software; see the source for copying conditions. There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
Written by Roland McGrath and Ulrich Drepper.
gdb -v:
GNU gdb 6.4-debian
Copyright 2005 Free Software Foundation, Inc.
GDB is free software, covered by the GNU General Public License, and you are
welcome to change it and/or distribute copies of it under certain conditions.
Type "show copying" to see the conditions.
There is absolutely no warranty for GDB. Type "show warranty" for details.
This GDB was configured as "x86_64-linux-gnu".
cat /proc/cpuinfo:
processor : 0
vendor_id : AuthenticAMD
cpu family : 15
model : 47
model name : AMD Athlon 64 Processor 3000+
stepping : 2
cpu MHz : 1854.167
cache size : 512 KB
fpu : yes
fpu_exception : yes
cpuid level : 1
wp : yes
flags : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush mmx fxsr sse sse2 syscall nx mmxext fxsr_opt lm 3dnowext 3dnow pni lahf_lm
bogomips : 3712.71
TLB size : 1024 4K pages
clflush size : 64
cache_alignment : 64
address sizes : 40 bits physical, 48 bits virtual
power management: ts fid vid ttp tm stc
Let me know if you need any further information.
The confusing part for me is that CSS works fine and that is obviously using the same srcds binaries.
Cheers...
Thanks in advance to anyone who can give me some advice on this issue. I'm not a Unix/Linux guru but do work in these environments so not an absolute newbie.
I admin srcds on a remote server that the owner has recently upgraded from WinXP to Ubuntu 64bit. I since have had many problems in getting anything to work but between the owner and I, we have managed to get CSS up and running using the dchroot -d ./css_server.sh command.
The command line in the css_server.sh shell script is...
./srcds_run -console -game cstrike +map de_tides +maxplayers 32 -autoupdate -tickrate 66 -pidfile csssrcds.pid -port 27015
This is now working really well and I don't think I have any further problems with CSS. So from there on, I decided to install both hl2mp and DoD servers.
Using a similar command line as above, I have managed to install both servers successfully and get them up running. However, the second I attempt to connect to the servers, they immediately crash. The resulting error messages are...
davidf@pugserver:~/srcds$ ./run_srcds.sh dods_server.sh
(dapper) ./dods_server.sh
Starting DoD:Source Server
Auto detecting CPU
Using AMD-Opteron (64 bit) Optimised binary.
Auto-restarting the server on crash
Updating server using Steam.
Checking bootstrapper version ...
Updating Installation
Checking/Installing 'Base Source Shared Materials' version 8
Checking/Installing 'Base Source Shared Models' version 4
Checking/Installing 'Base Source Shared Sounds' version 4
Checking/Installing 'Day of Defeat Source Base Content' version 12
Checking/Installing 'Source Dedicated Server Linux' version 62
HLDS installation up to date
Console initialized.
Game.dll loaded for "Day of Defeat"
maxplayers set to 32
maxplayers set to 32
Network: IP 127.0.1.1, mode MP, dedicated Yes, ports 27015 SV / 27005 CL
Error: Material "nature/cloud002" : proxy "TextureScroll" not found!
couldn't exec skill1.cfg
Executing dedicated server config file
Error: Material "sprites/bubble" : proxy "AnimatedTexture" not found!
Error: Material "particle/smokestack" : proxy "ParticleSphereProxy" not found!
Error: Material "models/weapons/w_models/tnt/w_tnt_red" : proxy "Sine" not found!
Error: Material "sprites/glow_test02" : proxy "lampbeam" not found!
Section [Scenes]: 0 resources total 0 bytes, 0.00 % of limit (2.10 MB)
couldn't exec dod_colmar.cfg
Adding master server 207.173.177.11:27011
Adding master server 69.28.151.162:27011
Connection to Steam servers successful.
VAC secure mode is activated.
Client "[CML-DBA] JimBeam" connected (220.239.202.128:27005).
*** glibc detected *** free(): invalid pointer: 0x557be000 ***
./srcds_run: line 344: 20717 Aborted (core dumped) $HL_CMD
Add "-debug" to the ./srcds_run command line to generate a debug.log to help with solving this problem
Sat Aug 26 02:48:59 UTC 2006: Server restart in 10 seconds
Sat Aug 26 02:49:02 UTC 2006: Server Quit
So although everything works fine with CSS, both DoD and hl2mp are crashing as explained. Note that both the problem server will run for hours providing nobody connects.
My next step was to run the program in debug mode. As I have never done this before I am getting (newbie) errors. I added the parameters -debug (and later -debuglog) to the command line and I do have gdb installed but it can't find gdb. I'm sure this is just an operator error however it is currently preventing me from producing a debug.log to view here.
If anyone has any suggestions or has experienced this behaviour I would appreciate and suggestions or advice.
Linux environment information is as follows...
cat /etc/issue
Ubuntu 6.06.1 LTS \n \l
cat /proc/version
Linux version 2.6.15-23-amd64-server (buildd@yellow) (gcc version 4.0.3 (Ubuntu 4.0.3-1ubuntu5)) #1 SMP Tue May 23 13:57:20 UTC 2006
uname -a:
Linux server 2.6.15-23-amd64-server #1 SMP Tue May 23 13:57:20 UTC 2006 x86_64 GNU/Linux
ldd --version:
ldd (GNU libc) 2.3.6
Copyright © 2005 Free Software Foundation, Inc.
This is free software; see the source for copying conditions. There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
Written by Roland McGrath and Ulrich Drepper.
gdb -v:
GNU gdb 6.4-debian
Copyright 2005 Free Software Foundation, Inc.
GDB is free software, covered by the GNU General Public License, and you are
welcome to change it and/or distribute copies of it under certain conditions.
Type "show copying" to see the conditions.
There is absolutely no warranty for GDB. Type "show warranty" for details.
This GDB was configured as "x86_64-linux-gnu".
cat /proc/cpuinfo:
processor : 0
vendor_id : AuthenticAMD
cpu family : 15
model : 47
model name : AMD Athlon 64 Processor 3000+
stepping : 2
cpu MHz : 1854.167
cache size : 512 KB
fpu : yes
fpu_exception : yes
cpuid level : 1
wp : yes
flags : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush mmx fxsr sse sse2 syscall nx mmxext fxsr_opt lm 3dnowext 3dnow pni lahf_lm
bogomips : 3712.71
TLB size : 1024 4K pages
clflush size : 64
cache_alignment : 64
address sizes : 40 bits physical, 48 bits virtual
power management: ts fid vid ttp tm stc
Let me know if you need any further information.
The confusing part for me is that CSS works fine and that is obviously using the same srcds binaries.
Cheers...