FOORGIVE ME RANDOMEN Sep 22, 2012 @ 12:25pm
GMod [TTT] Linux Server Help Needed
well I'm setting up a dedicated ttt server, but I gots some errors.
well, I need to get it up and runnin before I mod the ♥♥♥♥ out of it, so here's where you come in.
I got's that darn "segmentation failed" error, and I can't fix it :/
I'm runnin dis on ubuntu 12.04 LTS 64 bit, and when I read dis page http://maurits.tv/data/garrysmod/wiki/wiki.garrysmod.com/indexfd7a.html it says "If server gives an error "Segmentation failed" and you're using 64bit linux, you can try launching directly srcds_i486 instead of srcds_run" But I can't get this to work, someone help a bro out here.
Showing 1-10 of 10 comments
< >
Marky Mark Sep 22, 2012 @ 12:35pm 
You bet I'll help a bro out!
sudo apt-get update && sudo apt-get install lib32gcc1
Since SRCDS is an x86 program, you need the libraries to run it. Hope it helps.
cd /srcds_directory/
rm -rf bin
./steam -command update -game orangebox -dir . -verify_all
Maybe you overwritten the binaries? This block will help that.
Last edited by Marky Mark; Sep 22, 2012 @ 12:40pm
FOORGIVE ME RANDOMEN Sep 22, 2012 @ 12:47pm 
thanks bro, tryin this now...
FOORGIVE ME RANDOMEN Sep 22, 2012 @ 1:22pm 
ok, there's a lot of different stuff comin up now, but still a segmentation failed error...
I added -debug and got the log,
Right here
{
----------------------------------------------
CRASH: Sat Sep 22 15:19:40 CDT 2012
Start Line: ./srcds_i486 -console -game garrysmod +maxplayers 16 +map gm_construct -autoupdate -debug
[New LWP 8941]
[New LWP 8942]
[New LWP 8939]
[New LWP 8946]
[New LWP 8938]
[New LWP 8937]
[New LWP 8944]
[New LWP 8936]
[New LWP 8940]
Core was generated by `./srcds_linux -console -game garrysmod +maxplayers 16 +map gm_construct -debug'.
Program terminated with signal 11, Segmentation fault.
#0 0xf76184a8 in ?? ()
#0 0xf76184a8 in ?? ()
#1 0xf75cd5a2 in ?? ()
#2 0xeedb0acc in ?? ()
Backtrace stopped: previous frame inner to this frame (corrupt stack?)
No symbol table info available.
No shared libraries loaded at this time.
Stack level 0, frame at 0xeecdab70:
eip = 0xf76184a8; saved eip 0xf75cd5a2
called by frame at 0xeecdab74
Arglist at 0xeecdab68, args:
Locals at 0xeecdab68, Previous frame's sp is 0xeecdab70
Saved registers:
eip at 0xeecdab6c
End of Source crash report
----------------------------------------------
}
Marky Mark Sep 22, 2012 @ 1:29pm 
Try using the following command to start up:
./srcds_run -console -game garrysmod +maxplayers 16 +map gm_construct +port 27015 -autoupdate -debug
FOORGIVE ME RANDOMEN Sep 22, 2012 @ 1:34pm 
hmm, still gave me a segmentation failure, but in console it says,
"could not locate steam binary:./steam, ignoring"
Marky Mark Sep 22, 2012 @ 1:39pm 
Try this...
cd ..
ls
You should see a directory called "Steam" there. If not, run this again.
cd /srcds/
rm -rf bin
./steam -command update -game tf -dir . -verify_all
This time it'll install Team Fortress 2 server files and the binaries along-side the garrysmod stuff already there, plus you'll be able to use the Team Fortress 2 items in game on the server.
Last edited by Marky Mark; Sep 22, 2012 @ 1:42pm
FOORGIVE ME RANDOMEN Sep 22, 2012 @ 1:47pm 
Yeah, I can see the steam directory...
FOORGIVE ME RANDOMEN Sep 22, 2012 @ 1:48pm 
There's also a warning, "core file may not match executable"
Marky Mark Sep 22, 2012 @ 2:02pm 
If it was my server, I'd delete all of the directories and then do an install with these commands:
cd
mkdir gmod
cd gmod
wget http://www.steampowered.com/download/hldsupdatetool.bin
chmod +x hldsupdatetool.bin
./hldsupdatetool.bin
./steam
./steam -command update -game tf -dir .
./steam -command update -game garrysmod -dir .
Then running the newly installed SRCDS by running these commands:
screen -S gmodserver
cd
cd /gmod/orangebox/
./srcds_run -console -game garrysmod +maxplayers 16 +map gm_construct -autoupdate +port 27015
CTRL + A + D
This might sound bad, but this in theory should provide you with a clean working install.
Last edited by Marky Mark; Sep 22, 2012 @ 2:02pm
FOORGIVE ME RANDOMEN Sep 22, 2012 @ 2:05pm 
ok, I think I'll try just a couple other random ideas, then when they fail, I'll do that...
Showing 1-10 of 10 comments
< >
Per page: 15 30 50