Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

New Update Crashes Linux Servers #1254

Closed
RealDopey opened this issue Jul 8, 2014 · 48 comments
Closed

New Update Crashes Linux Servers #1254

RealDopey opened this issue Jul 8, 2014 · 48 comments

Comments

@RealDopey
Copy link

The update as of 7/8/14 (version 14.07.08) crashes some servers (tested on CentOS 6.5 and reported on Debian 7) with the following error:

Failed to open dedicated_srv.so (bin/libstdc++.so.6: version `GLIBCXX_3.4.15' not
found (required by bin/dedicated_srv.so))

@robotboy655
Copy link
Contributor

Linux servers now have GLIBCXX_3.4.15 dependency, so you gotta install it first.
Not sure if this will be fixed.

@RealDopey
Copy link
Author

Isn't that shipped with CentOS? How can I install it?

On Tue, Jul 8, 2014 at 2:27 PM, robotboy655 notifications@github.com
wrote:

Linux servers now have GLIBCXX_3.4.15 dependency, so you gotta install it
first.
Not sure if this will be fixed.


Reply to this email directly or view it on GitHub
#1254 (comment)
.

@handsomematt
Copy link
Member

Nothing to fix, CentOS just loves old versions of gcc. Look up devtools-1.1.

On 8 July 2014 19:31, RealDopey notifications@github.com wrote:

Isn't that shipped with CentOS? How can I install it?

On Tue, Jul 8, 2014 at 2:27 PM, robotboy655 notifications@github.com
wrote:

Linux servers now have GLIBCXX_3.4.15 dependency, so you gotta install
it
first.
Not sure if this will be fixed.


Reply to this email directly or view it on GitHub
<
https://github.com/Facepunch/garrysmod-issues/issues/1254#issuecomment-48380227>

.


Reply to this email directly or view it on GitHub
#1254 (comment)
.

@RealDopey
Copy link
Author

http://people.centos.org/tru/devtools-1.1/

You mean this? I installed this per the instructions, but
strings /usr/lib64/libstdc++.so.6 | grep GLIBCXX_3.4.1
still returns only 5 versions:
GLIBCXX_3.4.1
GLIBCXX_3.4.10
GLIBCXX_3.4.11
GLIBCXX_3.4.12
GLIBCXX_3.4.13

@hanm13
Copy link

hanm13 commented Jul 8, 2014

I got Linux centos
WARNING: No map specified! Server may not heartbeat.
Auto detecting CPU
Using default binary: ./srcds_linux
Server will auto-restart if there is a crash.
Failed to open dedicated_srv.so (/lib/libm.so.6: version `GLIBC_2.15' not found (required by bin/dedicated_srv.so))
Add "-debug" to the ./srcds_run command line to generate a debug.log to help with solving this problem
Tue Jul 8 15:11:07 EDT 2014: Server restart in 10 seconds
^CTue Jul 8 15:11:08 EDT 2014: Server Quit

@hanm13
Copy link

hanm13 commented Jul 8, 2014

Before the update I had in the bin directory : libstdc++.so.6
and the server start normaly
now with this file the server wont run
and without the file wont run
...
Crash every run
I tried to download clean garrysmod server and doesnt working

@robotboy655
Copy link
Contributor

You need to download GLIBC_2.15

@hanm13
Copy link

hanm13 commented Jul 8, 2014

From where?...
yum install glibc
No package GLIBC_2.15 available.
Package glibc-2.12-1.132.el6_5.2.x86_64 already installed and latest version

@Cloudhunter
Copy link

Updating GLIBC has a habit of completely breaking CentOS. Why is there now a GLIBC_2.15 requirement now anyway?

@awillinger
Copy link

Using Debian Wheezy, not possible to update to a newer version of GLIBC without breaking the entire System. Debian testing seems to fix it, but I don't want to have a testing version on my live server.

@robotboy655
Copy link
Contributor

I don't know why is there a necessity for it, hopefully we can get rid of it or something.

@hanm13
Copy link

hanm13 commented Jul 8, 2014

Now all my community down because this issue...

@Cloudhunter
Copy link

Yep, because that is totally feasible in all situations. Updating GLIBC can break a lot of shit.

@Herover
Copy link

Herover commented Jul 8, 2014

On Debian Wheezy, follow these instructions to fix: http://stackoverflow.com/a/21254623
Works for me.

@ghost
Copy link

ghost commented Jul 8, 2014

HandsomeMatt, so you think we MUST use distro like Fedora or Ubuntu for dedicated servers ? No way.

@handsomematt
Copy link
Member

I think you should use a distro you can understand and use.

@hanm13
Copy link

hanm13 commented Jul 8, 2014

HandsomeMatt , All the big compnies use Centos.
Ubuntu is for home use.
Centos for servers.

@handsomematt
Copy link
Member

CentOS is for enterprise. Debian is for servers as well and the clear choice for Source servers.

GLIBC_2.15 is from 2012, if a distro doesn't have those libraries, that's hardly an issue with GMod sorry. You're using Linux, if you didn't want to / don't know how to mess around with dependencies, you should probably buy a managed server.

@hanm13
Copy link

hanm13 commented Jul 8, 2014

No.

@ghost
Copy link

ghost commented Jul 8, 2014

Sometimes it's not just yum install glibc-2.15 or apt-get install glibc-2.15.

@handsomematt
Copy link
Member

Yeah again, welcome to Linux, if you can't deal with an unmanaged server buy a managed one. This isn't an issue, this isn't going to get a fix, this is a good thing. I hope Garry updates glib to 2.19.

@ghost
Copy link

ghost commented Jul 8, 2014

Yeah, and then, allow Garry's Mod to run only on Windows 8.1, 'cause Windows 7 is sooooo "2009".

@hanm13
Copy link

hanm13 commented Jul 8, 2014

NightlyDev , lol :)
and only who have Nvidia graphic card
and only intel CPU
and only Gigabyte motherboard

@ghost
Copy link

ghost commented Jul 8, 2014

@hanm13
Copy link

hanm13 commented Jul 8, 2014

And how? I have VPS...

@ghost
Copy link

ghost commented Jul 8, 2014

If you have root access, it should be ok.

@hanm13
Copy link

hanm13 commented Jul 8, 2014

I have
What the command I need to write
yum upgrade?
Nothing done...

@patrr2
Copy link

patrr2 commented Jul 8, 2014

How do i update to glibc-2.15 on Debian 7??
I tried these all tricks what you guys told me, nothing worked.
Isnt it that hard? Its anyway pertty used OS on gmod servers? Garry cant just leave us ;(

@ghost
Copy link

ghost commented Jul 8, 2014

HandsomeMatt, this is exactly what I did on a test server, and the system crashed.

@KushLove
Copy link

KushLove commented Jul 8, 2014

Confirming that HandsomeMatt's "Solution" does not work on CentOS 6.5

@hanm13
Copy link

hanm13 commented Jul 8, 2014

Dont do what HandsomeMatt sayed to do?
...
I am in make command

@KushLove
Copy link

KushLove commented Jul 8, 2014

@hanm13 I would suggest you don't. It didn't fix the issue, and it may cause problems.

@hanm13
Copy link

hanm13 commented Jul 8, 2014

The make command work fine
I only need to do sudo make install
I will dont do that to avoid system bugs?...

@KushLove
Copy link

KushLove commented Jul 8, 2014

@handsomematt It did successfully upgrade GLIBC to 2.15, but it did not change the error or create a different one.

@hanm13
Copy link

hanm13 commented Jul 8, 2014

@handsomematt you said to me to do ../configure --prefix='/usr'
and in you thread you said to do ../configure --prefix='/home/you/mylibs'
And I did ../configure --prefix='/usr'

@KushLove
Copy link

KushLove commented Jul 8, 2014

Following the instructions provided by @handsomematt in the following link does not solve the issue in CentOS 6.5

http://facepunch.com/showthread.php?t=1407757

@KushLove
Copy link

KushLove commented Jul 8, 2014

Like I said before, following the instructions you provided does not change the error whatsoever. I made no error in following these instructions. I will include the error as requested, even though it is available if you scroll up.

Failed to open dedicated_srv.so (/lib/libm.so.6: version `GLIBC_2.15' not found (required by bin/dedicated_srv.so))

@hanm13
Copy link

hanm13 commented Jul 8, 2014

Nothing working
I tried to configure twice

@KushLove
Copy link

KushLove commented Jul 8, 2014

@handsomematt I followed you updated instructions, including the proper launch method below.

/home/you/mylibs/lib/ld-linux.so.2 --library-path .:bin:garrysmod/bin::/home/you/mylibs/lib:/usr/lib32/:/usr/lib/ ./srcds_run -console -game garrysmod +maxplayers 40 +map rp_downtown_v4c.bsp -port 27035 +gamemode "darkrp"

After doing so, I run into the following error.

./srcds_run: error while loading shared libraries: ./srcds_run: invalid ELF header

@ghost
Copy link

ghost commented Jul 8, 2014

Got it working... On CentOS 7 ! Fresh install. Running SRCDS on a XFS Filesystem (with insensitive filename lookup)

@hanm13
Copy link

hanm13 commented Jul 8, 2014

I updated the glibc I think
and I dont want to brake my centos..
I dont understand
if I restart the server its will not start?...

@ghost
Copy link

ghost commented Jul 9, 2014

Garry undo this update

@ghost
Copy link

ghost commented Jul 9, 2014

It isn't about if we know or not, it's because it's a stupid requirement.
Updating libs on CentOS can break the whole system and everyone knows about that.

Why force a whole part of gmod servers hosted at centos to change just because of something who can easily be worked around?

@robotboy655
Copy link
Contributor

It it were easy to workaround, it would have been fixed. Move further discussion to Facepunch forums.
This isn't planned to change.

@handsomematt
Copy link
Member

Solution (for Debian) and further discussion here: http://facepunch.com/showthread.php?t=1407757&p=45333144#post45333144

@ghost
Copy link

ghost commented Jul 9, 2014

'You're all pansies for hosting on Linux without knowing anything. Go buy a
nice Windows server.'. Try to filter SRCDS Denial-of-Service packets with Windows or any packet containing a given string. Maybe you will understand why I'm using Linux. CentOS 7 running GLIBC 2.17 fixed this issue.

@Cloudhunter
Copy link

Why did the requirement change in the first place? Maybe if we had a nice reason, we would be more understanding other than people saying "LOL UPDATE YOUR GLIBC PANSIES". It is a dangerous procedure, I HAVE broken systems doing it before.

Now imagine having to update it on thousands of VPS servers. I am going to try and work round it regardless (perhaps with LD_LIBRARY_PATH), but a little cooperation and information would be appreciated.

Much love <3

@Cloudhunter
Copy link

I didn't state an opinion here, I asked a question. I've found a workaround anyway, so I have nothing more to say to assholes like you.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

9 participants