Raised This Month: $168 Target: $400
 42% 

Metamod on Insurgency beta server


Post New Thread Reply   
 
Thread Tools Display Modes
PlayBoy31
Senior Member
Join Date: May 2011
Location: Toulouse (France)
Old 10-28-2015 , 08:44   Re: Metamod on Insurgency beta server
Reply With Quote #11

I confirm, still no able to load Metamod even with 1.10.7-git948 linux
__________________
PlayBoy31.fr www.fastpath.fr
PlayBoy31 is offline
GiZZoR
Junior Member
Join Date: Sep 2013
Old 10-28-2015 , 09:33   Re: Metamod on Insurgency beta server
Reply With Quote #12

Since the latest update to the stable branch, this error is now happening for most (all?) linux Insurgency servers.
Code:
Unable to load plugin "addons/metamod/bin/server"
Running Insurgency srcds on Ubuntu 14.04.3.
Tested on clean srcds with both mmsource-1.11.0-git998-linux and mmsource-1.10.6-linux.

Last edited by GiZZoR; 10-28-2015 at 09:37.
GiZZoR is offline
Wallinator
New Member
Join Date: Oct 2015
Old 10-28-2015 , 14:57   Re: Metamod on Insurgency beta server
Reply With Quote #13

Quote:
Originally Posted by GiZZoR View Post
Since the latest update to the stable branch, this error is now happening for most (all?) linux Insurgency servers.
Code:
Unable to load plugin "addons/metamod/bin/server"
Running Insurgency srcds on Ubuntu 14.04.3.
Tested on clean srcds with both mmsource-1.11.0-git998-linux and mmsource-1.10.6-linux.

Same here.. Same versions.. Same OS
Wallinator is offline
ldooks
Junior Member
Join Date: Jan 2014
Old 10-28-2015 , 17:45   Re: Metamod on Insurgency beta server
Reply With Quote #14

Can confirm this is not working on Debian 8.1 32bit

using latest dev builds of both sourcemod and metamod
ldooks is offline
BCG
Junior Member
Join Date: Sep 2015
Old 10-28-2015 , 19:29   Re: Metamod on Insurgency beta server
Reply With Quote #15

So I ran strace to see what was going on. Here is something that caught my eye:

(~'s for privacy's sake)

Code:
getcwd("~/srcds/insurgency", 1024) = 31
open("~/srcds/insurgency/bin/GAMEaddons/metamod/bin/server_srv.so", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
open("GAMEaddons/metamod/bin/server_srv.so", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
getcwd("~/srcds/insurgency", 1024) = 31
open("~/srcds/insurgency/bin/GAMEaddons/metamod/bin/server_srv.so", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
open("GAMEaddons/metamod/bin/server_srv.so", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
getcwd("~/srcds/insurgency", 1024) = 31
open("~/srcds/insurgency/bin/GAMEaddons/metamod/bin/server_srv.so", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
open("GAMEaddons/metamod/bin/server_srv.so", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
getcwd("~/srcds/insurgency", 1024) = 31
open("~/srcds/insurgency/bin/GAMEaddons/metamod/bin/server_srv.so", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
open("GAMEaddons/metamod/bin/server_srv.so", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
getcwd("~/srcds/insurgency", 1024) = 31
open("~/srcds/insurgency/bin/GAMEaddons/metamod/bin/server_srv.so", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
open("GAMEaddons/metamod/bin/server_srv.so", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
open("~/srcds/insurgency/insurgency/addons/metamod/bin/server_srv.so", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
open("~/srcds/insurgency/platform/addons/metamod/bin/server_srv.so", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
open("~/srcds/insurgency/insurgency/download/addons/metamod/bin/server_srv.so", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
getcwd("~/srcds/insurgency", 1024) = 31
open("~/srcds/insurgency/bin/addons/metamod/bin/server_srv.so", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
open("addons/metamod/bin/server_srv.so", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
write(1, "Unable to load plugin \"addons/me"..., 50) = 50
GAMEaddons? server_srv.so? Neither are outputs of Metamod compilation. Something funny is going on here.

I went into Metamod's bin folder and symlinked server_srv.so to server.so. After that, another strace shows this:

Code:
open("~/srcds/insurgency/insurgency/addons/metamod/bin/servmetamod.2.insurgency.so", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
open("~/srcds/insurgency/insurgency/addons/metamod/bin/servmetamod-fatal.log", O_WRONLY|O_CREAT|O_APPEND, 0666) = 10
fstat64(10, {st_mode=S_IFREG|0664, st_size=0, ...}) = 0
mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0xffffffffb776c000
fstat64(10, {st_mode=S_IFREG|0664, st_size=0, ...}) = 0
_llseek(10, 0, [0], SEEK_SET)           = 0
time(NULL)                              = 1446074249
stat64("/etc/localtime", {st_mode=S_IFREG|0644, st_size=3519, ...}) = 0
write(10, "L 10/28/2015 - 19:17:29: Detecte"..., 212) = 212
close(10)                               = 0
munmap(0xb776c000, 4096)                = 0
write(1, "Failed to load plugin \"addons/me"..., 50) = 50
Two things of note: servmetamod.2.insurgency.so, and servmetamod-fatal.log. That "serv" prefix is suspicious.

Symlinking servmetamod.2.insurgency.so to metamod.2.insurgency.so doesn't have any effect. Metamod still fails to load. Here is the (complete) contents of the servmetamod-fatal.log:

Code:
L 10/28/2015 - 19:12:52: Detected engine 19 but could not load: ~/srcds/insurgency/insurgency/addons/metamod/bin/servmetamod.2.insurgency.so: undefined symbol: KeyValuesSystem

Last edited by BCG; 10-28-2015 at 19:34.
BCG is offline
psychonic

BAFFLED
Join Date: May 2008
Old 10-28-2015 , 20:53   Re: Metamod on Insurgency beta server
Reply With Quote #16

Quote:
Originally Posted by BCG View Post
So I ran strace to see what was going on. Here is something that caught my eye:

(~'s for privacy's sake)

Code:
getcwd("~/srcds/insurgency", 1024) = 31
open("~/srcds/insurgency/bin/GAMEaddons/metamod/bin/server_srv.so", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
open("GAMEaddons/metamod/bin/server_srv.so", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
getcwd("~/srcds/insurgency", 1024) = 31
open("~/srcds/insurgency/bin/GAMEaddons/metamod/bin/server_srv.so", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
open("GAMEaddons/metamod/bin/server_srv.so", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
getcwd("~/srcds/insurgency", 1024) = 31
open("~/srcds/insurgency/bin/GAMEaddons/metamod/bin/server_srv.so", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
open("GAMEaddons/metamod/bin/server_srv.so", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
getcwd("~/srcds/insurgency", 1024) = 31
open("~/srcds/insurgency/bin/GAMEaddons/metamod/bin/server_srv.so", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
open("GAMEaddons/metamod/bin/server_srv.so", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
getcwd("~/srcds/insurgency", 1024) = 31
open("~/srcds/insurgency/bin/GAMEaddons/metamod/bin/server_srv.so", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
open("GAMEaddons/metamod/bin/server_srv.so", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
open("~/srcds/insurgency/insurgency/addons/metamod/bin/server_srv.so", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
open("~/srcds/insurgency/platform/addons/metamod/bin/server_srv.so", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
open("~/srcds/insurgency/insurgency/download/addons/metamod/bin/server_srv.so", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
getcwd("~/srcds/insurgency", 1024) = 31
open("~/srcds/insurgency/bin/addons/metamod/bin/server_srv.so", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
open("addons/metamod/bin/server_srv.so", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
write(1, "Unable to load plugin \"addons/me"..., 50) = 50
GAMEaddons? server_srv.so? Neither are outputs of Metamod compilation. Something funny is going on here.

I went into Metamod's bin folder and symlinked server_srv.so to server.so. After that, another strace shows this:

Code:
open("~/srcds/insurgency/insurgency/addons/metamod/bin/servmetamod.2.insurgency.so", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
open("~/srcds/insurgency/insurgency/addons/metamod/bin/servmetamod-fatal.log", O_WRONLY|O_CREAT|O_APPEND, 0666) = 10
fstat64(10, {st_mode=S_IFREG|0664, st_size=0, ...}) = 0
mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0xffffffffb776c000
fstat64(10, {st_mode=S_IFREG|0664, st_size=0, ...}) = 0
_llseek(10, 0, [0], SEEK_SET)           = 0
time(NULL)                              = 1446074249
stat64("/etc/localtime", {st_mode=S_IFREG|0644, st_size=3519, ...}) = 0
write(10, "L 10/28/2015 - 19:17:29: Detecte"..., 212) = 212
close(10)                               = 0
munmap(0xb776c000, 4096)                = 0
write(1, "Failed to load plugin \"addons/me"..., 50) = 50
Two things of note: servmetamod.2.insurgency.so, and servmetamod-fatal.log. That "serv" prefix is suspicious.

Symlinking servmetamod.2.insurgency.so to metamod.2.insurgency.so doesn't have any effect. Metamod still fails to load. Here is the (complete) contents of the servmetamod-fatal.log:

Code:
L 10/28/2015 - 19:12:52: Detected engine 19 but could not load: ~/srcds/insurgency/insurgency/addons/metamod/bin/servmetamod.2.insurgency.so: undefined symbol: KeyValuesSystem
https://bugs.alliedmods.net/show_bug.cgi?id=6428
psychonic is offline
GiZZoR
Junior Member
Join Date: Sep 2013
Old 10-29-2015 , 01:55   Re: Metamod on Insurgency beta server
Reply With Quote #17

So, managed to get 1.10.6 to load by
Code:
cp server.so server_srv.so
cp metamod.2.insurgency.so servmetamod.2.insurgency.so
This is hack job, but MetaMod, SourceMod and SM plugins are all now working.
GiZZoR is offline
BCG
Junior Member
Join Date: Sep 2015
Old 10-29-2015 , 08:40   Re: Metamod on Insurgency beta server
Reply With Quote #18

Can confirm. Thanks, GiZZor.
BCG is offline
GiZZoR
Junior Member
Join Date: Sep 2013
Old 11-03-2015 , 10:14   Re: Metamod on Insurgency beta server
Reply With Quote #19

Quote:
Originally Posted by GiZZoR View Post
So, managed to get 1.10.6 to load by
Code:
cp server.so server_srv.so
cp metamod.2.insurgency.so servmetamod.2.insurgency.so
This is hack job, but MetaMod, SourceMod and SM plugins are all now working.
I can confirm that this has been fixed by NWI in the latest update, and this workaround is no longer required. (I have deleted the copied files server_srv.so and servmetamod.2.insurgency.so)
GiZZoR 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 04:05.


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