GMod server running on CentOS- crashing and sticking clients on "sending client info"
29 replies, posted
Hello,
I'm having a bit of trouble getting the gmod server to run on CentOS for a dedicated server I just bought.
I understand that it requires a special server.so file, and I have uploaded that to the correct place on the server (so the server now starts up)
Clients now get stuck at the "sending client info" stage. The client doesn't freeze, but instead gmod remains totally responsive and does nothing else.
Others seem to be able to get past this, but when they do join the server crashes.
Anyone have any ideas?
Use Ubuntu instead of CentOS. If I recall there's an issue with one of the .so files required and CentOS doesn't have the version Valve are using to compile the nix binaries.
[QUOTE=Teddi Orange;32980346]Use Ubuntu instead of CentOS. If I recall there's an issue with one of the .so files required and CentOS doesn't have the version Valve are using to compile the nix binaries.[/QUOTE]
Are there any disadvantages to running on Ubuntu? The reason I chose CentOS was because it is seemingly lightweight compared to other OSs. Am I misinformed?
It should be noted I plan to run other source servers alongside this server, as well as a Minecraft server.
Thanks
Ubuntu server works just as CentOS (Considering Ubuntu is basically Debian with a pretty dress on). Unless you're planning to move to redhat in the future, it won't really matter.
[QUOTE=Teddi Orange;32981093]Ubuntu server works just as CentOS (Considering Ubuntu is basically Debian with a pretty dress on). Unless you're planning to move to redhat in the future, it won't really matter.[/QUOTE]
Would Debian be a better choice? I know people have trouble running in dresses; it slows them down (following your analogy)
[QUOTE=Trumple;32981552]Would Debian be a better choice? I know people have trouble running in dresses; it slows them down (following your analogy)[/QUOTE]
The sacrifice of ease of functionality by going to debian by the lower RAM utilisation really isn't worth it.
I didn't quite expect you to follow my analogy so tightly :v:. The memory reduction in Debian isn't worth the ease of use as Man Without Hat said. You should find Ubuntu (server) ideal for an entry into linux systems.
I have always found CentOS to generally be trash, Ubuntu as always had ease-of-usability and a fairly nice dependency resolution feature in apt-get
[QUOTE=Man Without Hat;32981882]The sacrifice of ease of functionality by going to debian by the lower RAM utilisation really isn't worth it.[/QUOTE]
See I would normally agree, but I've seen some worrying stuff. Lets take a look at the minecraft wiki for setting up a server:
[quote]
Ubuntu
For Ubuntu 10.04 LTS and on, the sun-java6 packages have been dropped from the Multiverse section of the Ubuntu archive. You must add these sources:
For Ubuntu 10.04 LTS (Lucid Lynx):
sudo add-apt-repository "deb [url]http://archive.canonical.com/[/url] lucid partner"
For Ubuntu 10.10 (Maverick Meerkat):
sudo add-apt-repository "deb [url]http://archive.canonical.com/[/url] maverick partner"
For Ubuntu 11.04 (Natty Narwhal):
Some distros have the command "add-apt-repository" removed. If this is the case, you will need to add the python properties by running the following command:
sudo apt-get install python-software-properties
Then you can proceed to add the source:
sudo add-apt-repository "deb [url]http://archive.canonical.com/ubuntu[/url] natty partner"
Then install the packages:
sudo apt-get update
sudo apt-get install sun-java6-jre
sudo update-alternatives --config java
[/quote]
[quote]Debian
To install Java, simply type this in terminal and press enter: sudo apt-get install sun-java6-jre
[/quote]
Not sure if this is just a one off, though...
I'm not sure where they're getting that information from. I just checked aptitude (not to be confused with apt-get) and I found both Java and Python there.
Hell I even have both of them installed.
[QUOTE=Teddi Orange;32983522]I'm not sure where they're getting that information from. I just checked aptitude (not to be confused with apt-get) and I found both Java and Python there.
Hell I even have both of them installed.[/QUOTE]
Fair enough. I'll assume it's a one off, it's on the Minecraft wiki.
So, Ubuntu LTS is a good choice for me here?
pls allow me to bump this thread because I've got the same problem. The server runs like a charm after replacing the server.os but while joining it, it crashes.
But for my there is no way to change the OS
here's the log putty is giving me: [url]http://pastebin.com/u7Q5QJQ1[/url]
I think it has something to do with the file permissions but I have no clue which to change.
*bump*
Come on, I know it's possible to run a gmod server on CentOS. Has somebody, any clue what to do? :)
you really wanna use cPanel dont you
CentOS is not an application server. Hands down. I've used it for web servers and firewalls, and anything else I've tried, it just pushes me back.
use ubuntu. Easier.
[QUOTE=Axe-Gollod;33411638]CentOS is not an application server. Hands down. I've used it for web servers and firewalls, and anything else I've tried, it just pushes me back.
use ubuntu. Easier.[/QUOTE]
I'm pretty sure you're doing something wrong, the minimal distro of CentOS is quite stable, and ubuntu is bloated.
You can fix the CentOS 5 issue by either upgrading to CentOS 6, or following what GranPC did here. (You will have to do this every update.) It's caused by CentOS using outdated glibc.
[url]http://www.facepunch.com/threads/1136364?p=33035976&viewfull=1#post33035976[/url]
I have 2 web servers and a Teamspeak 3 server running on my Ubuntu 11.04 VPS and it's using 30 MB of RAM, I'm not too concerned about it being bloated at this point.
CentOS generally lags behind with upgrades and shouldn't be used for GMod server hosting, even you just admitted it...
[QUOTE=Banana Lord.;33417028]I have 2 web servers and a Teamspeak 3 server running on my Ubuntu 11.04 VPS and it's using 30 MB of RAM, I'm not too concerned about it being bloated at this point.
CentOS generally lags behind with upgrades and shouldn't be used for GMod server hosting, even you just admitted it...[/QUOTE]
CentOS 5 has an outdated glibc, that's pretty much the only downfall to hosting Garry's Mod on it, and you can upgrade to CentOS 6 and fix that, I don't see what you're point is here, CentOS doesn't lag behind, users who don't update do.
[QUOTE=rokrox;33417550]CentOS 5 has an outdated glibc, that's pretty much the only downfall to hosting Garry's Mod on it, and you can upgrade to CentOS 6 and fix that, I don't see what you're point is here, CentOS doesn't lag behind, users who don't update do.[/QUOTE]
Except that before CentOS 6 was released, anyone that wanted a Garry's Mod server had to compile GLIBC themselves or switch to an OS that supports updated binaries. I wouldn't trust that Valve not compile it again with a newer version CentOS [i]again[/i] wouldn't have. CentOS has a bad track record now, and I've always preferred Ubuntu. I just don't trust an OS that was broken for a good month or 3
CentOS 6 was released before the compile with glibc 2.7, so all you had to do was upgrade to fix the issue, and I highly doubt Valve will compile with a newer glibc version again so soon. And there was no downtime to my knowledge, I would like to see where you got that information.
[QUOTE=rokrox;33417833]CentOS 6 was released before the compile with glibc 2.7, so all you had to do was upgrade to fix the issue, and I highly doubt Valve will compile with a newer glibc version again so soon. And there was no downtime to my knowledge, I would like to see where you got that information.[/QUOTE]
Exiled Servers had that issue right after Azi fixed vphysics [b]again[/b], Sadistic had to switch the box to Ubuntu and get the iptable rules to work again.
[QUOTE=Banana Lord.;33417976]Exiled Servers had that issue right after Azi fixed vphysics [b]again[/b], Sadistic had to switch the box to Ubuntu and get the iptable rules to work again.[/QUOTE]
He didn't have to switch to Ubuntu, he made the choice to, he could have just as easily upgraded to CentOS 6.
[QUOTE=rokrox;33418068]He didn't have to switch to Ubuntu, he made the choice to, he could have just as easily upgraded to CentOS 6.[/QUOTE]
And wait for more compatibility failures on an OS that isn't meant for gameservers
[QUOTE=Banana Lord.;33418133]And wait for more compatibility failures on an OS that isn't meant for gameservers[/QUOTE]
You do realize Red Hat is a commercial server product? You should watch some of the stress testing between Ubuntu and CentOS, or just default server load ups.
[QUOTE=rokrox;33418203]You do realize Red Hat is a commercial server product? You should watch some of the stress testing between Ubuntu and CentOS, or just default server load ups.[/QUOTE]
I don't care how well some shitty commercial OS can run a web server, I care about what will give me the best compatibility and support for my gameservers
[QUOTE=Banana Lord.;33418389]I don't care how well some shitty commercial OS can run a web server, I care about what will give me the best compatibility and support for my gameservers[/QUOTE]
Both operating systems will run srcds fine, if you really want that great of performance you should consistently spam the mailing list and get Valve to allow srcds to use more than 25% of a machine. Once it uses a core, which is generally around ~40 players on my servers, it won't go any further and just sits at 25% CPU dropping srcds's fps to 5.
[QUOTE=rokrox;33418464]Both operating systems will run srcds fine, if you really want that great of performance you should consistently spam the mailing list and get Valve to allow srcds to use more than 25% of a machine. Once it uses a core, which is generally around ~40 players on my servers, it won't go any further and just sits at 25% CPU dropping srcds's fps to 5.[/QUOTE]
Again, it's more about dependability and track record than it is "LOL CENTOS HOST WEBSERVR IT DO GAMESRV BETTR"
[QUOTE=Banana Lord.;33418595]Again, it's more about dependability and track record than it is "LOL CENTOS HOST WEBSERVR IT DO GAMESRV BETTR"[/QUOTE]
I've never once said anything about hosting a webserver on CentOS, and it has been dependable just like Ubuntu, you just have to update it. Your point on Ubuntu being better is basically, "more people use it, therefore it's better." You're just debating about personal preference with an egotistical attitude that won't allow this debate to end.
Again, both operating systems will run srcds equally fine, you won't have an issue on either, if you keep updated with any OS, you won't have problems. Claiming that CentOS isn't dependable because you have to update is merely ridiculous, updates are part of hosting servers.
They don't run fine if one of them leaves the owner with the option of waiting for an updated OS, using outdated binaries that are due to break any update, or without a server at all.
Provide information to validate what you keep stating, not once have I been left in the dark while using CentOS, everyone has to update eventually, you can't expect Windows 95 to run applications that are compiled with .net Framework 4.0. Updating has to be done any way you look at this.
And you keep stating, "failures on an OS that isn't meant for game servers." None of these OS's were meant to be strictly for game servers. And no linux distro for Garry's Mod is even close to being stable.
Sorry, you need to Log In to post a reply to this thread.