• Ubuntu Server Troubles
    14 replies, posted
So I've been renting a dedicated server box, which has Ubuntu running on it. I have full access to it (I can log in as Root and no one else puts files on it, it's my comp but I access it remotely) and I have been using it to host CS:S servers. I had wanted to get a Gmod server running on it when I first got the server a few months ago, but didn't feel like going through Wine so I tabled the project. Recently I decided to give it another shot, and to my surprise (and joy i might add) I found [url]http://wiki.garrysmod.com/?title=Linux_Dedicated_Server_Setup[/url]. I went ahead and followed the guide, using the shell script provided. The script ran fine, no errors and seemed to download all of the files. One problem, the ./steam -command update -game tf -dir . doesn't seem to download the OrangeBox files anymore, which means I don't have the bins needed to run the server. I thought it might have been an issue with the script, so I did it the manual way (despite the fact that thew script did the same thing I did) and got the same problem. Next I tried installing it with CS:S instead of TF, but same problem: no OrangeBox folder/files. Basically it boils down to this: following this guide ([url]http://wiki.garrysmod.com/?title=Linux_Dedicated_Server_Setup[/url]) isn't working for me because I can't seem to get the Linux bins from the OrangeBox files anymore. Any ideas? I could really use the help here, I read through all of this [url]http://www.facepunch.com/showthread.php?t=967092&page=7[/url] trying to find an answer but nothing worked.
The problem is that you're running an operating system that's open-source that takes it's name from a Southern African philosophy.
Try deploying TF first and THEN gmod, you might have more luck. It's working fine on my non-live Debian server. [QUOTE=hideyyo;23977377]The problem is that you're running an operating system that's open-source that takes it's name from a Southern African philosophy.[/QUOTE] Would you like me to kick you in the face, because you're asking for it
[QUOTE=leach139;23977448]Try deploying TF first and THEN gmod, you might have more luck. It's working fine on my non-live Debian server. Would you like me to kick you in the face, because you're asking for it[/QUOTE] Do this, it worked fine for me. TF and THEN Gmod. Oh. look, another retard that thinks becuase its open source its shit.
I tried doing TF and then Gmod, both the script from that guide and the first attempt I made did TF and then Gmod, so I don't think that's it. When I install TF but before installing gmod, the path to my tf folder is ./srcds/tf, shouldn't it be ./srcds/orangebox/tf? That's what it is on all of the CS:S servers that I have running, and that guide seems to think there should be an orangebox folder in there. Thanks for the help guys, I appreciate it.
[QUOTE=IrishSteel;23980149]I tried doing TF and then Gmod, both the script from that guide and the first attempt I made did TF and then Gmod, so I don't think that's it. When I install TF but before installing gmod, the path to my tf folder is ./srcds/tf, shouldn't it be ./srcds/orangebox/tf? That's what it is on all of the CS:S servers that I have running, and that guide seems to think there should be an orangebox folder in there. Thanks for the help guys, I appreciate it.[/QUOTE] Way to multiquote. And BECAUSE it's open source, it's shit. I have had the opportunity to try out Ubuntu. I'm not just another BS poster who says, "OMG IT'S LINUX BURN IT LOL." I'm a poster that is like "Hey, I've tried that. It isn't too good."
[QUOTE=hideyyo;23980298]Way to multiquote. And BECAUSE it's open source, it's shit. I have had the opportunity to try out Ubuntu. I'm not just another BS poster who says, "OMG IT'S LINUX BURN IT LOL." I'm a poster that is like "Hey, I've tried that. It isn't too good."[/QUOTE] I'm glad that you are capable of forming opinions about the things that you have used, however that opinion does not in fact help me (or anyone else like me) with this problem. And as to why I chose to use Ubuntu, the server costs about $200 a month. Adding Windows to it would have cost me an extra $30 a month, and that plus the cost of my webhost and the 50 person Ventrilo server was a little out of my budget. For the most part I can use Ubuntu just as well as I can Windows, and I happen to find using the bash more satisfying than double clicking on a silly little picture.
Dont use the script to do it, I used these instructions and it worked for me: [code] Installation instructions: 1. Make an empty folder. (don't try to be smart and copy your old files except maybe hl2 and/or tf folders) (2) Go to the empty folder 2 install hldsupdatetool ( http://storefront.steampowered.com/d...updatetool.bin ) to the empty folder. (remember to chmod +x hldsupdatetool.bin or you can't run it most likely. ) 3. Run ./steam -command update -game tf -dir . -verify_all 4. Run ./steam -command update -game garrysmod -dir . -verify_all 5. Run cd orangebox 6. Run ./srcds_run -game garrysmod +map gm_construct -ip 0.0.0.0 -port 27015 7. Enjoy [/code]
I'll probably update the tutorial again at some point but anyone else is of course free to.
[QUOTE=usocrazy;23980407]Dont use the script to do it, I used these instructions and it worked for me: [code] Installation instructions: 1. Make an empty folder. (don't try to be smart and copy your old files except maybe hl2 and/or tf folders) (2) Go to the empty folder 2 install hldsupdatetool ( http://storefront.steampowered.com/d...updatetool.bin ) to the empty folder. (remember to chmod +x hldsupdatetool.bin or you can't run it most likely. ) 3. Run ./steam -command update -game tf -dir . -verify_all 4. Run ./steam -command update -game garrysmod -dir . -verify_all 5. Run cd orangebox 6. Run ./srcds_run -game garrysmod +map gm_construct -ip 0.0.0.0 -port 27015 7. Enjoy [/code][/QUOTE] So I did that but when I got to 5. Run cd orangebox it gave me "bash: cd: orangebox: No such file or directory" Same thing that was happening earlier, even after installing tf I don't have orangebox, currently in the directory I have the following: bin (folder) garrysmod (folder) hl2 (folder) reslists (folder) tf (folder) hldsupdatetool.bin installrecord.blob readme.txt srcds_amd srcds_i486 srcds_i686 srcds_run steam I'm stumped, this is the same thing that has happened to me over my last few attempts today.
yeah thats OK, it just seems to have gone to the wrong folder XD, skip 5 and see if 6 works.
It seems to have worked, at least there are no errors, but the server doesn't appear in my server browser. When I run 'ps h' it shows all my CSS servers, and the gmod server is there but missing one thing. With the CSS servers it shows up twice, once with srcds_run and once with srcds_Linux. For the gmod server I only see srcds_run. Hmm one thing I just noticed is that I also have './steam -command update -game garrysmod' running and that wasn't there before I started the server. Please don't tell me I just needed to let it update, because that would be reaaaally embarrassing.
Heres a screenshot of what mine looks liek in htop .. [img]http://img576.imageshack.us/img576/7803/aaaaaaaaaaaaar.png[/img]
I'll grab a few screens of what's going on in the morning, but for now I need sleep. It's almost 2 am here >.<
So I did ./srcds_run -game garrysmod +map gm_construct -ip 76.76.104.228 -port 27019 and got segmentation fault. EDIT: Whew, I got it working at last. What I ended up doing was copying all the files from an old TF2 server that I had on my box, which I never got off the ground, and copying them to a new directory. After that I update TF2 normally, then I installed Gmod over the top, but in the orangebox folder (I ran wget [url]http://www.steampowered.com/download/hldsupdatetool.bin[/url] and then the ./steam -command update -game garrysmod -dir . -verify_all inside the orangebox folder instead of just the srcds folder) when I launched up, voila server was running. Now I just need to go redo all the configs that are set up for TF2. Thanks for all the help guys, on a side not I still haven't been able to make a clean install of both gmod and tf2 work.
Sorry, you need to Log In to post a reply to this thread.