AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   General (https://forums.alliedmods.net/forumdisplay.php?f=7)
-   -   amxmodx but ? (https://forums.alliedmods.net/showthread.php?t=345813)

warco 01-31-2024 11:40

amxmodx but ?
 
1 Attachment(s)
Hello , ( its "amxmodx bug? ) ;)

I know how to create a cs server, but i don't understand why this time i have a : Segmentation fault (core dumped) error

I have a server with Ubuntu Server 22.04 LTS "Jammy Jellyfish" take from OVH

CPU
Intel Core i7-4790K - 4c/8t - 4 GHz/4.4 GHz
RAM
16 Go 1600 MHz

(Server installation with LinuxGSM.)

So, now i installed metamod + amxmodx, i followed some tutorial and that working a little...

Tested version :
Amxmodx 1.8.2

Metamod 1.20 linux
Metamod v1.21.1-am


(Meta list result in attachment 1)
Ok, that working fine, i can add an admin and change a map.

If i add basebuilder 6.5 plugin or another plugin, when i'm connected, the server crash with the segmentation error.


Have you an idea ? :3

If you have a link to an updated tutorial, i take



UPDATE :

If i extract the "amxmodx addons CS" zip into "amxmodx base", i got the same errror

mlibre 01-31-2024 17:47

Re: amxmodx but ?
 
throw some logs?

fysiks 01-31-2024 22:01

Re: amxmodx but ?
 
What do you mean by it was "working a little" after installing MetaMod and AMX Mod X?

You list two MetaMod versions in your post and you didn't provide the output of "meta version" to confirm what version you're using. I use v1.21.1-am on my Ubuntu PC. Also, you should be using a AMX Mod X v1.9.0 or newer (I'm running v1.9.0.5271).

Are you sure that the server actually fully installed? Last I knew, there were issues with SteamCMD requiring you to run the install command many times to make sure it download all the files.

P.S. When posting the output of the various console commands, simply copy the text and past it into [code][/code] tags instead of using an image.

P.P.S. It is often helpful, when having generic server issues like this, to post all of the outputs of the following commands:

Code:

meta version
meta list
amxx version
amxx list

This will help reduce having to ask for these things later for verifying your actual setup.

warco 02-01-2024 10:59

Re: amxmodx but ?
 
Sorry ^^.

I give all logs i can have

-"Are you sure that the server actually fully installed? Last I knew, there were issues with SteamCMD requiring you to run the install command many times to make sure it download all the files."

Yes, i can play on the server, only if i don't activate amxmodx


The most plugins i use is not compatible with amxmodx 1.9, if I remember correct


meta version :

Code:

Metamod v1.21.1-am  2013-09-26 (5:13)
by Will Day <[email protected]>
  http://www.metamod.org/
compiled: Sep 26 2013, 17:09:41 -0500 (optimized)

meta list :

Code:

Currently loaded plugins:
      description      stat pend  file              vers      src  load  unlod
 [ 1] AMX Mod X        RUN  -    amxmodx_mm_i386.  v1.8.2    ini  Start ANY
 [ 2] Fun              RUN  -    fun_amxx_i386.so  v1.8.2    pl1  ANY  ANY
 [ 3] CStrike          RUN  -    cstrike_amxx_i38  v1.8.2    pl1  ANY  ANY
 [ 4] CSX              RUN  -    csx_amxx_i386.so  v1.8.2    pl1  ANY  ANY
4 plugins, 4 running

amxx version :
Code:

AMX Mod X 1.8.2 (http://www.amxmodx.org)
Authors:
        David "BAILOPAN" Anderson, Pavol "PM OnoTo" Marko
        Felix "SniperBeamer" Geyer, Jonny "Got His Gun" Bergstrom
        Lukasz "SidLuke" Wlasinski, Christian "Basic-Master" Hammacher
        Borja "faluco" Ferrer, Scott "DS" Ehlert
Compiled: Feb 14 2013, 00:55:09
Build ID: 1.8.2 61:2ae84f7c0a97
Core mode: JIT+ASM32

amxx list
Code:

Currently loaded plugins:
      name                    version    author            file            status
 [  1] Admin Base              1.8.2      AMXX Dev Team    admin.amxx      running
 [  2] Admin Commands          1.8.2      AMXX Dev Team    admincmd.amxx    running
 [  3] Admin Help              1.8.2      AMXX Dev Team    adminhelp.amxx  running
 [  4] Slots Reservation      1.8.2      AMXX Dev Team    adminslots.amxx  running
 [  5] Multi-Lingual System    1.8.2      AMXX Dev Team    multilingual.am  running
 [  6] Menus Front-End        1.8.2      AMXX Dev Team    menufront.amxx  running
 [  7] Commands Menu          1.8.2      AMXX Dev Team    cmdmenu.amxx    running
 [  8] Players Menu            1.8.2      AMXX Dev Team    plmenu.amxx      running
 [  9] Maps Menu              1.8.2      AMXX Dev Team    mapsmenu.amxx    running
 [ 10] Plugin Menu            1.8.2      AMXX Dev Team    pluginmenu.amxx  running
 [ 11] Admin Chat              1.8.2      AMXX Dev Team    adminchat.amxx  running
 [ 12] Anti Flood              1.8.2      AMXX Dev Team    antiflood.amxx  running
 [ 13] Scrolling Message      1.8.2      AMXX Dev Team    scrollmsg.amxx  running
 [ 14] Info. Messages          1.8.2      AMXX Dev Team    imessage.amxx    running
 [ 15] Admin Votes            1.8.2      AMXX Dev Team    adminvote.amxx  running
 [ 16] NextMap                1.8.2      AMXX Dev Team    nextmap.amxx    running
 [ 17] Nextmap Chooser        1.8.2      AMXX Dev Team    mapchooser.amxx  running
 [ 18] TimeLeft                1.8.2      AMXX Dev Team    timeleft.amxx    running
 [ 19] Pause Plugins          1.8.2      AMXX Dev Team    pausecfg.amxx    running
 [ 20] Stats Configuration    1.8.2      AMXX Dev Team    statscfg.amxx    running
 [ 21] StatsX                  1.8.2      AMXX Dev Team    statsx.amxx      running
21 plugins, 21 running


(It's a fresh installation)

When i join the server :
Code:

L 02/01/2024 - 15:50:21: "N2 warco<1><STEAM_0:0:112600621><>" connected, address "1.2.3.4:27005"
L 02/01/2024 - 15:50:22: "N2 warco<1><STEAM_0:0:112600621><>" STEAM USERID validated
ERROR: couldn't open custom.hpk.
L 02/01/2024 - 15:50:23: "N2 warco<1><STEAM_0:0:212600621><>" entered the game
Segmentation fault (core dumped)

Global server console message :
Code:

Console initialized.
Using breakpad crash handler
Setting breakpad minidump AppID = 10
Forcing breakpad minidump interfaces to load
tid(126137) burning pthread_key_t == 0 so we never use it
Looking up breakpad interfaces from steamclient
Calling BreakpadMiniDumpSystemInit
Protocol version 48
Exe version 1.1.2.7/Stdio (cstrike)
Exe build: 23:25:09 Dec  9 2023 (9907)
STEAM Auth Server

Server IP address 0.0.0.0:27015
 
  Metamod version 1.21.1-am  Copyright (c) 2001-2013 Will Day <[email protected]>
  Metamod comes with ABSOLUTELY NO WARRANTY; for details type `meta gpl'.
  This is free software, and you are welcome to redistribute it
  under certain conditions; type `meta gpl' for details.
 

  AMX Mod X version 1.8.2 Copyright (c) 2004-2006 AMX Mod X Development Team
  AMX Mod X comes with ABSOLUTELY NO WARRANTY; for details type `amxx gpl'.
  This is free software and you are welcome to redistribute it under
  certain conditions; type 'amxx gpl' for details.
 
L 02/01/2024 - 15:45:23: -------- Mapchange to de_dust2 --------
couldn't exec maps/de_dust2_load.cfg
[AMXX] Loaded 1 admin from file
[S_API] SteamAPI_Init(): Loaded local 'steamclient.so' OK.
CAppInfoCacheReadFromDiskThread took 2 milliseconds to initialize
Could not find steamerrorreporter binary. Any minidumps will be uploaded in-processdlmopen steamservice.so failed: steamservice.so: cannot open shared object file: No such file or directory
SteamInternal_SetMinidumpSteamID:  Caching Steam ID:  76561197960265728 [API loaded yes]
SteamInternal_SetMinidumpSteamID:  Setting Steam ID:  76561197960265728
Looking up breakpad interfaces from steamclient
Calling BreakpadMiniDumpSystemInit
SteamInternal_SetMinidumpSteamID:  Caching Steam ID:  76561197960265728 [API loaded yes]
SteamInternal_SetMinidumpSteamID:  Setting Steam ID:  76561197960265728

Executing AMX Mod X Configuration File
Scrolling message displaying frequency: 10:00 minutes
Server logging data to file logs/L0201001.log
L 02/01/2024 - 15:45:23: Log file started (file "logs/L0201001.log") (game "cstrike") (version "48/1.1.2.7/Stdio/9907")
L 02/01/2024 - 15:45:23: Server cvar "sv_maxspeed" = "320"
L 02/01/2024 - 15:45:23: Server cvar "mp_timelimit" = "20"
couldn't exec listip.cfg
couldn't exec banned.cfg
Menu item 17 added to Menus Front-End: "Plugin Cvars" from plugin "pluginmenu.amxx"
Menu item 18 added to Menus Front-End: "Plugin Commands" from plugin "pluginmenu.amxx"
Connection to Steam servers successful.
  VAC secure mode is activated.
L 02/01/2024 - 15:45:31: World triggered "Round_Start"
[S_API FAIL] Tried to access Steam interface SteamNetworkingUtils004 before SteamAPI_Init succeeded.
meta version
Metamod v1.21.1-am  2013-09-26 (5:13)
by Will Day <[email protected]>
  http://www.metamod.org/
compiled: Sep 26 2013, 17:09:41 -0500 (optimized)
meta list
Currently loaded plugins:
      description      stat pend  file              vers      src  load  unlod
 [ 1] AMX Mod X        RUN  -    amxmodx_mm_i386.  v1.8.2    ini  Start ANY 
 [ 2] Fun              RUN  -    fun_amxx_i386.so  v1.8.2    pl1  ANY  ANY 
 [ 3] CStrike          RUN  -    cstrike_amxx_i38  v1.8.2    pl1  ANY  ANY 
 [ 4] CSX              RUN  -    csx_amxx_i386.so  v1.8.2    pl1  ANY  ANY 
4 plugins, 4 running
amxx version
AMX Mod X 1.8.2 (http://www.amxmodx.org)
Authors:
        David "BAILOPAN" Anderson, Pavol "PM OnoTo" Marko
        Felix "SniperBeamer" Geyer, Jonny "Got His Gun" Bergstrom
        Lukasz "SidLuke" Wlasinski, Christian "Basic-Master" Hammacher
        Borja "faluco" Ferrer, Scott "DS" Ehlert
Compiled: Feb 14 2013, 00:55:09
Build ID: 1.8.2 61:2ae84f7c0a97
Core mode: JIT+ASM32
amxx list
Currently loaded plugins:
      name                    version    author            file            status 
 [  1] Admin Base              1.8.2      AMXX Dev Team    admin.amxx      running 
 [  2] Admin Commands          1.8.2      AMXX Dev Team    admincmd.amxx    running 
 [  3] Admin Help              1.8.2      AMXX Dev Team    adminhelp.amxx  running 
 [  4] Slots Reservation      1.8.2      AMXX Dev Team    adminslots.amxx  running 
 [  5] Multi-Lingual System    1.8.2      AMXX Dev Team    multilingual.am  running 
 [  6] Menus Front-End        1.8.2      AMXX Dev Team    menufront.amxx  running 
 [  7] Commands Menu          1.8.2      AMXX Dev Team    cmdmenu.amxx    running 
 [  8] Players Menu            1.8.2      AMXX Dev Team    plmenu.amxx      running 
 [  9] Maps Menu              1.8.2      AMXX Dev Team    mapsmenu.amxx    running 
 [ 10] Plugin Menu            1.8.2      AMXX Dev Team    pluginmenu.amxx  running 
 [ 11] Admin Chat              1.8.2      AMXX Dev Team    adminchat.amxx  running 
 [ 12] Anti Flood              1.8.2      AMXX Dev Team    antiflood.amxx  running 
 [ 13] Scrolling Message      1.8.2      AMXX Dev Team    scrollmsg.amxx  running 
 [ 14] Info. Messages          1.8.2      AMXX Dev Team    imessage.amxx    running 
 [ 15] Admin Votes            1.8.2      AMXX Dev Team    adminvote.amxx  running 
 [ 16] NextMap                1.8.2      AMXX Dev Team    nextmap.amxx    running 
 [ 17] Nextmap Chooser        1.8.2      AMXX Dev Team    mapchooser.amxx  running 
 [ 18] TimeLeft                1.8.2      AMXX Dev Team    timeleft.amxx    running 
 [ 19] Pause Plugins          1.8.2      AMXX Dev Team    pausecfg.amxx    running 
 [ 20] Stats Configuration    1.8.2      AMXX Dev Team    statscfg.amxx    running 
 [ 21] StatsX                  1.8.2      AMXX Dev Team    statsx.amxx      running 
21 plugins, 21 running
L 02/01/2024 - 15:50:21: "N2 warco<1><STEAM_0:0:112600621><>" connected, address "90.39.43.117:27005"
L 02/01/2024 - 15:50:22: "N2 warco<1><STEAM_0:0:112600621><>" STEAM USERID validated
ERROR: couldn't open custom.hpk.
L 02/01/2024 - 15:50:23: "N2 warco<1><STEAM_0:0:112600621><>" entered the game
Segmentation fault (core dumped)


mlibre 02-01-2024 11:40

Re: amxmodx but ?
 
Quote:

Originally Posted by warco (Post 2817061)
Ok, that working fine, i can add an admin and change a map.

If i add basebuilder 6.5 plugin or another plugin, when i'm connected, the server crash with the segmentation error.

apparently the origin of the error is the mod, cannot support previous versions.

warco 02-01-2024 15:37

Re: amxmodx but ?
 
1 years ago, i got 3 servers installed with the same method, and i never get any error with just amxmodx and metamod installed.

Yes, I had a lot of errors caused by plugins but only because i modified some. In this case i can found my problem but not here if the base of amxmodx crash without any modification

I have not installed any plugin other than the base + addons of amxmodx on this server

fysiks 02-01-2024 21:59

Re: amxmodx but ?
 
Personally, I would still double check that the server is actually fully installed. Run the SteamCMD command to install the server and see if it downloads any files. If it does, it wasn't fully installed. If it doesn't do anything then it should be installed fully.

If you get the crash with only AMX Mod X installed (v1.8.2) then I would recommend trying v1.9.0 even if it's just to test the theory. I can't say for sure but I wasn't under the impression that it would be at all likely that a plugin for 1.8.2 wouldn't work on 1.9.0.

bigdaddy424 02-01-2024 22:22

Re: amxmodx but ?
 
personally i use steam depot downloader
https://github.com/SteamRE/DepotDownloader

fysiks 02-02-2024 21:00

Re: amxmodx but ?
 
Quote:

Originally Posted by bigdaddy424 (Post 2817233)
personally i use steam depot downloader
https://github.com/SteamRE/DepotDownloader

I'm not familiar with this random internet application, does it get files directly from Valve?

Bacardi 02-03-2024 03:09

Re: amxmodx but ?
 
...remove all amx plugins, start server with both addons, enter in server.
Does server crash? No?

Next step, shutdown server, put half of your plugins back, start server, join in server.
Does server crash? Yes?
- remove plugins one by one every "join" test, until server stop crashing. You find problem.

Server did not crash before?
- Add your rest plugins back to server one by one, reboot server everytime and do "join" test. When server crash, you find problem.


*edit
I would guess, it is one of plugins what use mysql database.


All times are GMT -4. The time now is 20:33.

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