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

[TF2] sourcemod load failed


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
xefil
Junior Member
Join Date: Dec 2012
Old 12-11-2012 , 04:14   [TF2] sourcemod load failed
Reply With Quote #1

Hello to all!

I'm trying to setup a new dedicated server on a Linux box (CentOS 6.2 - 2.6.32-279.5.1.el6.centos.plus.x86_64). I've followed the official documentation for the initial setup of the server. Until here all ok. Then, as read around, to add plugins and have a better management of the server I need MetaMod + Sourcemod. I've no experience with them at all, but I've decided to install it following the official MetaMod + SourceMod DOC. I've used SVN version of Metamod and Sourcemod this after fighting for hours with the server that wouldn't load the mods. Now the Metamod is loaded, but cannot load Sourcemod. Here some details starting the server from the command line.

Code:
[tf2server@overthetop orangebox]$ ./srcds_run -autoupdate -steambin /home/tf2server/hlds/steam -maxplayers 24 +map cp_badlands -debug
Auto detecting CPU
Using default binary: ./srcds_linux
Enabling debug mode
Server will auto-restart if there is a crash.
Updating server using Steam.
Checking bootstrapper version ...
removing stale semaphore last operated on by process 30710 with name 0eBlobRegistryMutex_3D2F1DA4500B9E01D073D329D38559A4
removing stale semaphore last operated on by process 30710 with name 0eBlobRegistrySignal_3D2F1DA4500B9E01D073D329D38559A4
Updating Installation
<snip>

Code:
HLDS installation up to date
Using breakpad minidump system
Using breakpad crash handler

Console initialized.
Game_srv.so loaded for "Team Fortress"
Setting breakpad minidump AppID = 440
Forcing breakpad minidump interfaces to load
Looking up breakpad interfaces from steamclient
Calling BreakpadMiniDumpSystemInit
Installing breakpad exception handler for appid(440)/version(5140)
Particles: Missing 'particles/error.pcf'
maxplayers set to 24
No '-replayserverdir' parameter found - using default replay folder.
Replay: Creating thread pool...succeeded.
Replay: Starting thread pool with 4 threads...succeeded.
Cleaning files from temp dir, "/home/tf2server/hlds/gameserver/orangebox/tf/replay/server/tmp/" ...no files removed.
Unknown command "r_decal_cullsize"
Unknown command "startupmenu"
Network: IP 213.21.177.146, mode MP, dedicated Yes, ports 27015 SV / 27005 CL
ConVarRef room_type doesn't point to an existing ConVar
Executing dedicated server config file server.cfg
Initializing Steam libraries for secure Internet server
Looking up breakpad interfaces from steamclient
Calling BreakpadMiniDumpSystemInit
Logging into anonymous gameserver account.
--------------------------------------------------------
sv_pure value unchanged (current value is 0).
--------------------------------------------------------
exec banned_user.cfg: file size larger than 1 MB!
exec banned_ip.cfg: file size larger than 1 MB!
Writing cfg/banned_user.cfg.
Writing cfg/banned_ip.cfg.
Server logging enabled.
Server logging data to file logs/L1211001.log
L 12/11/2012 - 09:34:21: Log file started (file "logs/L1211001.log") (game "/home/tf2server/hlds/gameserver/orangebox/tf") (version "5140")
Unknown command "mp_autoteambalance_delay"
Unknown command "mp_autoteambalance_warning_delay"
L 12/11/2012 - 09:34:21: server_cvar: "mp_stalemate_enable" "1"
L 12/11/2012 - 09:34:21: server_cvar: "mp_timelimit" "35"
L 12/11/2012 - 09:34:21: server_cvar: "decalfrequency" "30"
'cp_badlands.cfg' not present; not executing.
Sending CMsgGameServerMatchmakingStatus (state=ServerMatchmakingState_NOT_PARTICIPATING)
Could not establish connection to Steam servers.
Could not establish connection to Steam servers.
Connection to Steam servers successful.
   Public IP is 213.21.177.146.
Assigned anonymous gameserver Steam ID [A-1:843807747(3190)].
VAC secure mode is activated.
Connection to game coordinator established.
Current item schema is up-to-date with version FFA06E83.
tf_server_identity_account_id not set; not logging into registered account
L 12/11/2012 - 09:34:32: tf_server_identity_account_id not set; not logging into registered account

meta version
Metamod:Source version 1.10.0-dev
Build ID: 811:defa542a3fb6-dev
Loaded As: Valve Server Plugin
Compiled on: Oct 28 2012
Plugin interface version: 15:14
SourceHook version: 5:5
http://www.metamodsource.net/

sm version
Unknown command "sm"

meta list
Listing 1 plugin:
  [01] <FAILED>

meta info 01
Plugin 1 is not loaded.
File: /home/tf2server/hlds/gameserver/orangebox/tf/addons/sourcemod/bin/sourcemod_mm_i486.so

meta alias
Alias      File
 --- 
sourcemod  addons/sourcemod/bin/sourcemod_mm
 --- 
1 aliases total.

meta load sourcemod
Failed to load plugin addons/sourcemod/bin/sourcemod_mm (libvstdlib.so: cannot open shared object file: No such file or directory).
meta load sourcemod
Failed to load plugin addons/sourcemod/bin/sourcemod_mm (libtier0.so: cannot open shared object file: No such file or directory).
meta load sourcemod
Failed to load plugin addons/sourcemod/bin/sourcemod_mm (/home/tf2server/hlds/gameserver/orangebox/tf/addons/sourcemod/bin/sourcemod.2.ep2v.so: undefined symbol: MemAllocScratch).
meta load sourcemod
Failed to load plugin addons/sourcemod/bin/sourcemod_mm (/home/tf2server/hlds/gameserver/orangebox/tf/addons/sourcemod/bin/sourcemod.2.ep2v.so: undefined symbol: MemAllocScratch).
meta load sourcemod
Failed to load plugin addons/sourcemod/bin/sourcemod_mm (/home/tf2server/hlds/gameserver/orangebox/tf/addons/sourcemod/bin/sourcemod.2.ep2v.so: undefined symbol: MemAllocScratch).
meta unload sourcemod
Plugin 6 unloaded.
meta list
No plugins loaded.
meta alias
Alias      File
 --- 
sourcemod  addons/sourcemod/bin/sourcemod_mm
 --- 
1 aliases total.
meta refresh
L 12/11/2012 - 09:54:17: [META] Failed to load plugin addons/sourcemod/bin/sourcemod_mm: /home/tf2server/hlds/gameserver/orangebox/tf/addons/sourcemod/bin/sourcemod.2.ep2v.so: undefined symbol: MemAllocScratch
L 12/11/2012 - 09:54:17: [META] Loaded 0 plugins.
meta refresh
L 12/11/2012 - 09:57:44: [META] Failed to load plugin addons/sourcemod/bin/sourcemod_mm: /home/tf2server/hlds/gameserver/orangebox/tf/addons/sourcemod/bin/sourcemod.2.ep2v.so: undefined symbol: MemAllocScratch
L 12/11/2012 - 09:57:44: [META] Loaded 0 plugins (1 already loaded)
meta load sourcemod  
Failed to load plugin addons/sourcemod/bin/sourcemod_mm (/home/tf2server/hlds/gameserver/orangebox/tf/addons/sourcemod/bin/sourcemod.2.ep2v.so: undefined symbol: MemAllocScratch).
You can see how sm is not loaded. Also I've tried to load it manually obtaining different issues. First the files 'libvstdlib.so' and 'libtier0.so' were missing. I've only these files:
libtier0_srv.so
libtier0_s.so
libvstdlib_srv.so
libvstdlib_s.so
I've tried sym-linking them first on _s version and then on _srv version, but always with no success. I've obtained errors like:

Code:
[META] Failed to load plugin addons/sourcemod/bin/sourcemod_mm: /home/tf2server/hlds/gameserver/orangebox/tf/addons/sourcemod/bin/sourcemod.2.ep2v.so: undefined symbol: MemAllocScratch
OR

Code:
[META] Failed to load plugin addons/sourcemod/bin/sourcemod_mm (/home/tf2server/hlds/gameserver/orangebox/tf/addons/sourcemod/bin/sourcemod.2.ep2v.so: undefined symbol: g_pMemAlloc).
I've installed:
mmsource-1.10.0-hg811-linux.tar.gz
sourcemod-1.5.0-hg3697-linux.tar.gz

Any suggestion?

Thank's a lot!

Simon
xefil is offline
xefil
Junior Member
Join Date: Dec 2012
Old 12-11-2012 , 09:01   Re: [TF2] sourcemod load failed
Reply With Quote #2

Today's SVN version solved the issue!

Code:
sm version
 SourceMod Version Information:
    SourceMod Version: 1.5.0-dev+3698
    SourcePawn Engine: SourcePawn 1.1, jit-x86 (build 1.5.0-dev+3698)
    SourcePawn API: v1 = 4, v2 = 4
    Compiled on: Dec 10 2012 20:39:06
    Build ID: 3698:421f9e288baf
    http://www.sourcemod.net/
Now I've only to understand how this stuff works ;)

Simon
xefil is offline
Reply



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 23:37.


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