SRCDS Steam group


DoDS & hl2mp Servers crashing on Ubuntu
#1
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...

Reply
#2
i only seeing a lot of people who uses Xbuntu. it might be cause the isntaller is so sucking easy, that everyone ueses it. But an easy distro make easy normal things and impossible dificult ones. on this machine what you describe i think the bes one is a centos or fedora core. both have good support and are mor serous than Xbuntus.

PD: top all Xbuntu fans: i was ubuntu tester on past versions and supporter, but i hate their sucking methods and "make linux easy ways"
so, i know about im speaking. there are a lot of different linux with greater support and stable.

own choice: slackware
Linux IsiX 64 Generic Desktop ValHalla 2.6.33.4 x86_64
Intel Core 2 Duo T8400 4Gb Ram 40G SSD Intel
[Image: b_460x42_C000000-454234-696149-FFFFFF-FFF468-FFF468.png]
DoD 31 Comunity DoD 31 Spanish Comunity
Erste SS Panzer Grendier Division [DOD Clan]
Reply
#3
Go search the Ubuntu forums and upgrade to Ubuntu 6.06. I'm assuming you're running 5? I'm currently running TS and DOD:S servers on my Ubuntu Intel box in 64 bit mode with no issues. I like the GUI, and I'm running all the current updates (as well as MySQL5, Apache2, PHP5, blah blah).

Good luck dude.
Reply
#4
"Go search the Ubuntu forums and upgrade to Ubuntu 6.06. I'm assuming you're running 5?"

Hey thanks for your help sfunk1x but according to the server info I published in my original post, the version of Ubuntu is already the latest..

ie.
cat /etc/issue
Ubuntu 6.06.1 LTS \n \l

It's interesting though that yours is running ok while mine isnt.
I have checked the Ubuntu forums as well, but I might check again and maybe post a query there too. I might even query you a bit further if I hit brick walls. :-)
Thanks for your help.
Reply
#5
Do be a favor, try adding the switch -binary srcds_amd

Try the 32 binary and see how well that works.
[Image: userbar_wow.jpg]
starting 9/24/2006 if your problem has been solved please edit your first post and add [solved] to the begining of the title. Thanks.
Reply
#6
cryotek Wrote:Do be a favor, try adding the switch -binary srcds_amd

Try the 32 binary and see how well that works.

yes test it this way, it might run ...
Linux IsiX 64 Generic Desktop ValHalla 2.6.33.4 x86_64
Intel Core 2 Duo T8400 4Gb Ram 40G SSD Intel
[Image: b_460x42_C000000-454234-696149-FFFFFF-FFF468-FFF468.png]
DoD 31 Comunity DoD 31 Spanish Comunity
Erste SS Panzer Grendier Division [DOD Clan]
Reply
#7
Cryotek & Get,

Thanks for your help in this. I attempted your suggestion however srcds spat the dummy and didn't understand that parameter. I couldn't find much on "-binary" on the net myself so I guess it is an undocumented feature? Either way, it didn't understand it. I think I was using it right? I'm assuming "-binary srcds_amd" was meant to be added in the srcds_run command line?
(if not, then I'll look a right dick :-p )

Although this didn't work, it prompted me to remove all parameters and make the command line as simple as possible just in case one of the options was giving me the problem. (not sure why I didn't think of that before?) unfortunately this still didn't work.

I have even copied the shell script I use to sucessfully start CSS and modified the copy to run DoD just in case there was corrupting or foreign characters in the orginal shell script but again, the server dies when a client connects.

This is so frustrating given the CSS works perfectly and they are both using the same engine.

Thanks anyway guys, I appreciate your assistance.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)