SRCDS Steam group


Hosting Multiple GMod Servers on same machine
#1
Question 
Hey,

I have a pretty powerful linux server and wanted to host some GMod servers on it. But i honestly know nothing about Garry's Mod at all. I use GameCP to manage my current game servers which is Minecraft. I know that GameCP has an a GMod install that I can download and use but it just throws errors upon start up.


Start up command:

Code:
./srcds_run -console -game garrysmod +ip 142.4.219.98 -port 27015 +map $STARTMAP +maxplayers 50 +fps_max 512 +alias fps_max wait +sv_visiblemaxplayers 50 +alias sv_visiblemaxplayers wait +hostname wold.dedicated.private.chunkyhosting.com

When I start the server

Code:
####### SERVICE START AT 2013-04-05 08:59 BY ROE #######

Auto detecting CPU
Using default binary: ./srcds_linux
Server will auto-restart if there is a crash.
Running a benchmark to measure system clock frequency...
Finished RDTSC test. To prevent the startup delay from this benchmark, set the environment variable RDTSC_FREQUENCY to 3600.000000 on this system. This value is dependent upon the CPU clock speed and architecture and should be determined separately for each server. The use of this mechanism for timing can be disabled by setting RDTSC_FREQUENCY to 'disabled'.
Using breakpad minidump system
Using breakpad crash handler

Console initialized.
./srcds_run: line 372: 10407 Segmentation fault(core dumped) $HL_CMD
Add "-debug" to the ./srcds_run command line to generate a debug.log to help with solving this problem
Fri Apr 5 08:59:18 EDT 2013: Server restart in 10 seconds

I added the -debug to the command line so it looks like this:

Code:
./srcds_run -console -game garrysmod +ip 142.4.219.98 -port 27015 +map $STARTMAP +maxplayers 50 +fps_max 512 +alias fps_max wait +sv_visiblemaxplayers 50 +alias sv_visiblemaxplayers wait +hostname wold.dedicated.private.chunkyhosting.com -debug

with this result

Code:
####### SERVICE START AT 2013-04-05 09:00 BY ROE #######

Auto detecting CPU
Using default binary: ./srcds_linux
Enabling debug mode
Server will auto-restart if there is a crash.
Running a benchmark to measure system clock frequency...
Finished RDTSC test. To prevent the startup delay from this benchmark, set the environment variable RDTSC_FREQUENCY to 3600.000000 on this system. This value is dependent upon the CPU clock speed and architecture and should be determined separately for each server. The use of this mechanism for timing can be disabled by setting RDTSC_FREQUENCY to 'disabled'.
Using breakpad minidump system
Using breakpad crash handler

Console initialized.
./srcds_run: line 372: 10725 Segmentation fault(core dumped) $HL_CMD

warning: Can't read pathname for load map: Input/output error.
debug.cmds:5: Error in sourced command file:
No function contains program counter for selected frame.
email debug.log to linux@valvesoftware.com
Fri Apr 5 09:01:04 EDT 2013: Server restart in 10 seconds

here is the debug.log info
Code:
----------------------------------------------
CRASH: Fri Apr  5 09:01:03 EDT 2013
Start Line: ./srcds_linux -console -game garrysmod +ip 142.4.219.98 -port 27015 +map gm_construct +maxplayers 50 +fps_max 512 +alias fps_max wait +sv_visiblemaxplayers 50 +alias sv_visiblemaxplayers wait +hostname wold.dedicated.private.chunkyhosting.com -debug
[New LWP 10725]
[New LWP 10726]
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
Core was generated by `./srcds_linux -console -game garrysmod +ip 142.4.219.98 -port 27015 +map gm_con'.
Program terminated with signal 11, Segmentation fault.
#0  0x00000000 in ?? ()
#0  0x00000000 in ?? ()
#1  0xf6c58dcd in CModAppSystemGroup::Create() () from /home/datrealroe/service38/garrysmod/orangebox/bin/engine.so
#2  0xf6c7258c in CAppSystemGroup::OnStartup() () from /home/datrealroe/service38/garrysmod/orangebox/bin/engine.so
#3  0xf6c72a09 in CAppSystemGroup::Run() () from /home/datrealroe/service38/garrysmod/orangebox/bin/engine.so
#4  0xf6c585aa in CDedicatedServerAPI::ModInit(ModInfo_t&) () from /home/datrealroe/service38/garrysmod/orangebox/bin/engine.so
#5  0xf700e1f6 in CDedicatedAppSystemGroup::Main() () from bin/dedicated.so
#6  0xf7011cb8 in CAppSystemGroup::Run() () from bin/dedicated.so
#7  0xf701399c in CSteamApplication::Main() () from bin/dedicated.so
#8  0xf7011cb8 in CAppSystemGroup::Run() () from bin/dedicated.so
#9  0xf700e65d in main () from bin/dedicated.so
#10 0xf700fad5 in DedicatedMain () from bin/dedicated.so
#11 0x080488ad in main ()
No symbol table info available.
eax            0xf6db7134    -153390796
ecx            0x0    0
edx            0x0    0
ebx            0xf6d4939c    -153840740
esp            0xff9fc2fc    0xff9fc2fc
ebp            0xff9fc378    0xff9fc378
esi            0x0    0
edi            0xff9fc458    -6306728
eip            0x0    0x0
eflags         0x10202    [ IF RF ]
cs             0x23    35
ss             0x2b    43
ds             0x2b    43
es             0x2b    43
fs             0x0    0
gs             0x63    99
From        To          Syms Read   Shared Object Library
0xf7734960  0xf7752fd8  Yes (*)     bin/libtier0.so
0xf76769f0  0xf769ee44  Yes (*)     bin/libvstdlib.so
0xf7643430  0xf765dc38  Yes (*)     /lib32/libm.so.6
0xf763aa60  0xf763ba38  Yes (*)     /lib32/libdl.so.2
0xf7623650  0xf762f9f8  Yes         /lib32/libpthread.so.0
0xf748df10  0xf75c166c  Yes (*)     /lib32/libc.so.6
0xf777b820  0xf779404f  Yes (*)     /lib/ld-linux.so.2
0xf6fc0920  0xf7049f58  Yes (*)     bin/dedicated.so
0xf6fa8630  0xf6fb2f54  Yes (*)     bin/libsteam_api.so
0xf6f26cc0  0xf6f6ed75  Yes         bin/libstdc++.so.6
0xf6ecee04  0xf6ede490  Yes         bin/libgcc_s.so.1
0xf6a96260  0xf6cd8ac8  Yes (*)     /home/datrealroe/service38/garrysmod/orangebox/bin/engine.so
0xf65e1270  0xf660a19c  Yes (*)     /home/datrealroe/service38/garrysmod/orangebox/bin/soundemittersystem.so
0xf6489240  0xf658763c  Yes (*)     /home/datrealroe/service38/garrysmod/orangebox/bin/materialsystem.so
0xf4fe93b0  0xf50aab18  Yes (*)     /home/datrealroe/service38/garrysmod/orangebox/bin/studiorender.so
0xf4df7bc0  0xf4f830f8  Yes (*)     /home/datrealroe/service38/garrysmod/orangebox/bin/vphysics.so
0xf4d7b880  0xf4dd11d8  Yes (*)     /home/datrealroe/service38/garrysmod/orangebox/bin/datacache.so
0xf4d62ae0  0xf4d6eee4  Yes (*)     /home/datrealroe/service38/garrysmod/orangebox/bin/shaderapiempty.so
(*): Shared library is missing debugging information.
End of Source crash report
----------------------------------------------

So I thought about installing it manually.

So how would I go about installing multiple Garry's Mod servers on the same machine?

I read through this guide http://maurits.tv/data/garrysmod/wiki/wiki.garrysmod.com/indexfd7a.html

But it needs to be a human there installs it using that guide since I have to type yes upon installing steam.

I would be very gratefull with any help with this since the Garry's Mod world is something very new for me.

Best Regards,
- Roe
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)