Raised This Month: $12 Target: $400
 3% 

[CSGO SERVER] metamod failed to load?


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
hawkixs
New Member
Join Date: Jan 2021
Old 01-06-2021 , 09:02   [CSGO SERVER] metamod failed to load?
Reply With Quote #1

Hello


Im running a csgo server on debian9 (i tried debian10 before)

All is fine with the server its work well but i can't load metamod in anyway possible...im out of idea

Code:
failed to dlopen /home/steam/csgo/csgo/addons/metamod/bin/linux64/server.so error=/home/steam/csgo/csgo/addons/metamod/bin/linux64/server.so: wrong ELF class: ELFCLASS64
Unable to load plugin "addons/metamod/bin/linux64/server"
Failed to load plugin "addons/metamod/bin/server"
im using last stable version metamod 1.11 - build 1144

here my launch command:
Code:
/home/steam/csgo/srcds_run srcdds -game csgo -console -usercon +game_type 0 +game_mode 1 -tickrate 128 +mapgroup mg_active +map de_dust2 +sv_setsteamaccount xxxxxxxx -net_port_try 1 -authkey xxxxxxx
and here my metamod.vdf:

Code:
"Plugin"
{
        "file"  "addons/metamod/bin/server"
}
hawkixs is offline
Maxximou5
AlliedModders Donor
Join Date: Feb 2013
Old 01-06-2021 , 13:39   Re: [CSGO SERVER] metamod failed to load?
Reply With Quote #2

Debian version should not matter, I have both Debian 9 and 10 running and that the game you are running is supported.
CS:GO is supported, just make sure that you downloaded the correct Metamod for Linux and not Windows or Mac.

Go to: https://www.sourcemm.net/downloads.php?branch=stable
Then follow the guide: https://wiki.alliedmods.net/Installing_Metamod:Source

Should look like example: /home/steam/csgo/addons/metamod

Make sure you have set the correct permissions for the newly extracted contents, that the owner of the folder is the same and that you have permissions.
Maxximou5 is offline
TomL.
Veteran Member
Join Date: Oct 2017
Location: Germany
Old 01-06-2021 , 18:31   Re: [CSGO SERVER] metamod failed to load?
Reply With Quote #3

Code:
add-apt-repository multiverse
dpkg --add-architecture i386
apt-get update
apt-get install lib32gcc1 lib32stdc++6
TomL. is offline
stigma
Senior Member
Join Date: Mar 2005
Location: Denmark
Old 03-01-2021 , 16:57   Re: [CSGO SERVER] metamod failed to load?
Reply With Quote #4

Quote:
Originally Posted by TomL. View Post
Code:
apt-get install lib32gcc1 lib32stdc++6
THIS! I've been searching for an eternity, as metamod would just not load for me! I've already installed lib32gcc1, as that's required for steamcmd. But I did not have lib32stdc++6 installed. After adding this to my Debian 9/10 (netinst) installations, metamod is loading successfully.

Thank you TomL!

Edit:
Reading through some other posts mentioning lib32stc++6. I wonder how my CS:GO instance even boots. As I understand it, that library is required for CS:GO to even run, since Feb 2018. ¯\_(ツ)_/¯

Last edited by stigma; 03-01-2021 at 17:02.
stigma is offline
Send a message via MSN to stigma Send a message via Skype™ to stigma
evolu
New Member
Join Date: Jul 2021
Old 07-10-2021 , 16:55   Re: [CSGO SERVER] metamod failed to load?
Reply With Quote #5

Note that sometimes this error can be caused because there are two VDF files provided by metamod - one for 64 and one for 32bit. If the server says that it's failed to load metamod, it may well just be talking about loading the 32bit metamod and had in fact successfully loaded the 64bit one but didn't tell you.
Before panicking (like I did) and trying to find why metamod isn't loading, run
Code:
meta version
to check whether it has in fact successfully loaded
evolu is offline
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 16:00.


Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Theme made by Freecode