Venopsis Posted October 14, 2018 Share Posted October 14, 2018 (edited) Hello, If the category is not the right one, my apologies. Do not hesitate to move the post and let me know. So recently I updated my CentOS server (host for PZserver) and no more able to run the game anymore (server part). Error message when start server ./ProjectZomboid64: /lib64/libstdc++.so.6: version `GLIBCXX_3.4.21' not found (required by ./ProjectZomboid64) Content of /lib64/libstdc++.so.6 $ strings /lib64/libstdc++.so.6 |grep GLIBCXX GLIBCXX_3.4 GLIBCXX_3.4.1 GLIBCXX_3.4.2 GLIBCXX_3.4.3 GLIBCXX_3.4.4 GLIBCXX_3.4.5 GLIBCXX_3.4.6 GLIBCXX_3.4.7 GLIBCXX_3.4.8 GLIBCXX_3.4.9 GLIBCXX_3.4.10 GLIBCXX_3.4.11 GLIBCXX_3.4.12 GLIBCXX_3.4.13 GLIBCXX_3.4.14 GLIBCXX_3.4.15 GLIBCXX_3.4.16 GLIBCXX_3.4.17 GLIBCXX_3.4.18 GLIBCXX_3.4.19 GLIBCXX_DEBUG_MESSAGE_LENGTH GLIBC installed $ sudo yum list installed |grep glibc glibc.i686 2.17-222.el7 @base glibc.x86_64 2.17-222.el7 @base glibc-common.x86_64 2.17-222.el7 @base Server details (host) Distro: CentOS Linux release 7.5.1804 (Core) Arch: x86_64 Kernel: 2.6.32-042stab120.18 (for production) and 3.10.0-862.14.4.el7.x86_64 (on testing server) tmux: tmux 1.8 GLIBC: 2.17 PZServer details Version : 180908 (at the time I'm writing this post, it's last stable version. Normally 39.67.5). Using Linux Game Server Manager to manage and run the PZ instance (up-to-date at time writing this post). Tried the following Install on another user, same server : same issue. Not user related. Install on new server CentOS 7 with more recent Kernel (testing server mentioned above) : same issue. Not Kernel related. Tried to update GLIBC but seems the last version for CentOS 7 is 2.17-222 is the last version available and supported. Conclusion For the ones using CentOS as hosting server for PZ server, do you encounter the same issue? What are your CentOS version, GLIBC, etc? Do you have solution to fix this? If need to try something to see if fix the issue, just let me know and I'll apply it to the testing server. Protected by snapshot so can revert back easily. Thank you for you help! Venopsis. Edited October 14, 2018 by Venopsis More precise version of CentOS added Pandorea 1 Link to comment Share on other sites More sharing options...
Beard Posted October 16, 2018 Share Posted October 16, 2018 Try installing an up to date distro if possible. Link to comment Share on other sites More sharing options...
Venopsis Posted October 21, 2018 Author Share Posted October 21, 2018 The distro used is already up-to-date. And the kernel cannot be changed as hosted on OpenVZ. I'm sure if I use Ubuntu for example as distro it should work but I have other things running on this server and doesn't want to reinstall everything just for one not working thing. Does it have alternative solution or it's distro related issue and have to wait for update adding missing GLIB support? Thanks. Link to comment Share on other sites More sharing options...
EnigmaGrey Posted October 21, 2018 Share Posted October 21, 2018 It's distro related. This one hails from 2014 and uses an out of date libgcc. The only solution is either using a different repo to install a newer version, or using a distro that allows a different repo. There are some risks involved in forcing a higher version of libgcc if the server is going to be used for anything other than PZ. e.g. if switching to Ubuntu is easy and convenient to install, 16.04 and above should support it. If not, it's easy to install through the package manager. Debian and CentOS are just too old, unfortunately. I think you can download the package here, otherwise: https://rpmfind.net/linux/rpm2html/search.php?query=libstdc%2B%2B.so.6(GLIBCXX_3.4.21) (I'm not a big Linux user, so I can definitely be wrong about these things.) Link to comment Share on other sites More sharing options...
Venopsis Posted October 21, 2018 Author Share Posted October 21, 2018 @EnigmaGrey Hello, Thanks for your answer. I found the same on the web. Seems risky to force newer version of libgcc as used by the system itself. I'll duplicate the server on another host and proceed modification test to see if creating issue or not. Not the first time I encounter issue with CentOS related to old packages, etc. I think it's time to reconsider migrate to new distro for next servers. Link to comment Share on other sites More sharing options...
Fenris_Wolf Posted October 21, 2018 Share Posted October 21, 2018 3 hours ago, EnigmaGrey said: Debian and CentOS are just too old, unfortunately eh Debian Stretch (current stable) is fine, its what I run. Quit trying to convert people to Ubuntu! Link to comment Share on other sites More sharing options...
EnigmaGrey Posted October 22, 2018 Share Posted October 22, 2018 6 hours ago, Fenris_Wolf said: eh Debian Stretch (current stable) is fine, its what I run. Quit trying to convert people to Ubuntu! Resistance is futile. Link to comment Share on other sites More sharing options...
JavonFischer Posted February 27, 2023 Share Posted February 27, 2023 Hi there. Sorry for reviving such an old thread. I'd like to know if you fixed that eventually. Link to comment Share on other sites More sharing options...
PaigeHicks Posted February 27, 2023 Share Posted February 27, 2023 Hey there! I stumbled upon your old forum post and saw that you were having trouble running your PZ server on CentOS. Sorry to hear about that. Have you heard of CentOS 7 Extended Lifecycle Support? Link to comment Share on other sites More sharing options...
tuzok Posted February 28, 2023 Share Posted February 28, 2023 On 2/27/2023 at 1:24 AM, JavonFischer said: Hi there. Sorry for reviving such an old thread. I'd like to know if you fixed that eventually. There is nothing The Indie Store should fix. Do yourself a favor and upgrade your aged OS to some decently recent distribution release. Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now