AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   Metamod:Source Questions (https://forums.alliedmods.net/forumdisplay.php?f=74)
-   -   Metamod on Insurgency beta server (https://forums.alliedmods.net/showthread.php?t=273693)

PlayBoy31 10-28-2015 08:44

Re: Metamod on Insurgency beta server
 
I confirm, still no able to load Metamod even with 1.10.7-git948 linux

GiZZoR 10-28-2015 09:33

Re: Metamod on Insurgency beta server
 
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.

Wallinator 10-28-2015 14:57

Re: Metamod on Insurgency beta server
 
Quote:

Originally Posted by GiZZoR (Post 2357354)
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

ldooks 10-28-2015 17:45

Re: Metamod on Insurgency beta server
 
Can confirm this is not working on Debian 8.1 32bit

using latest dev builds of both sourcemod and metamod

BCG 10-28-2015 19:29

Re: Metamod on Insurgency beta server
 
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

psychonic 10-28-2015 20:53

Re: Metamod on Insurgency beta server
 
Quote:

Originally Posted by BCG (Post 2357493)
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

GiZZoR 10-29-2015 01:55

Re: Metamod on Insurgency beta server
 
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.

BCG 10-29-2015 08:40

Re: Metamod on Insurgency beta server
 
Can confirm. Thanks, GiZZor.

GiZZoR 11-03-2015 10:14

Re: Metamod on Insurgency beta server
 
Quote:

Originally Posted by GiZZoR (Post 2357601)
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)


All times are GMT -4. The time now is 21:39.

Powered by vBulletin®
Copyright ©2000 - 2018, vBulletin Solutions, Inc.