Raised This Month: $32 Target: $400
 8% 

Solved [LINUX] Server started crashing (Stripper?)


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
tslashd
AlliedModders Donor
Join Date: Jul 2020
Old 07-07-2020 , 06:14   [LINUX] Server started crashing (Stripper?)
Reply With Quote #1

Hello guys, for the past couple of hours I have been trying to figure out what is going on and why all of a sudden my server started crashing. It's a surf server which was running perfectly fine (except for gamemodes_server.txt). I was having an issue where when the server is empty, regardless of hibernation turned off, the timeleft just stops and resets as soon as someone joins the server and couple of posts were saying that it's gamemodes_server.txt issue so I made a custom one for my maplist/mapcycle. I was going through the forum to try and find out why my gamemodes_server.txt is not working properly, mapgroup was returning No mapgroup set when I type mapgroup in console and maxplayers was not being overwritten.

So the search through the forums continued and I found this thread:
https://forums.alliedmods.net/showthread.php?t=223796

Went and downloaded the latest version of Stripper (from the link in the thread) and as soon as I put it in my server files everything went sideways and server started crashing as soon as I try to run it. Tried using the old global_filters.cfg and other versions of Stripper but to no avail, still crashing.

This is what I'm getting from the console when I try starting the server (regardless of surf_ map or de_ map or surfmode and mg_active):
Code:
./srcds_run: 32: ./srcds_run: pushd: not found
./srcds_run: 35: ./srcds_run: popd: not found
Enabling debug mode
Server will auto-restart if there is a crash.
LD_LIBRARY_PATH=/home/surf/serverfiles/bin:/home/surf/serverfiles:/home/surf/serverfiles/bin:
#
#Console initialized.
#Loading VPK file hashes for pure server operation.
#Loading VPK file hashes for pure server operation.
#Loading VPK file hashes for pure server operation.
#Loading VPK file hashes for pure server operation.
#Loading VPK file hashes for pure server operation.
#Filesystem successfully switched to safe whitelist mode
#Game.dll loaded for "Counter-Strike: Global Offensive"
#CGameEventManager::AddListener: event 'server_pre_shutdown' unknown.
#CGameEventManager::AddListener: event 'game_newmap' unknown.
#CGameEventManager::AddListener: event 'finale_start' unknown.
#CGameEventManager::AddListener: event 'round_start' unknown.
#CGameEventManager::AddListener: event 'round_end' unknown.
#CGameEventManager::AddListener: event 'difficulty_changed' unknown.
#CGameEventManager::AddListener: event 'player_death' unknown.
#CGameEventManager::AddListener: event 'hltv_replay' unknown.
#CGameEventManager::AddListener: event 'player_connect' unknown.
#CGameEventManager::AddListener: event 'player_disconnect' unknown.
#GameTypes: missing mapgroupsSP entry for game type/mode (custom/custom).
#GameTypes: missing mapgroupsSP entry for game type/mode (cooperative/cooperative).
#GameTypes: missing mapgroupsSP entry for game type/mode (cooperative/coopmission).
Failed to load gamerulescvars.txt, game rules cvars might not be reported to management tools.
Server is hibernating
[S_API] SteamAPI_Init(): SteamAPI_IsSteamRunning() did not locate a running instance of Steam.
[S_API] SteamAPI_Init(): Loaded '/home/surf/.steam/sdk32/steamclient.so' OK.
[S_API FAIL] SteamAPI_Init() failed; create pipe failed.No web api auth key specified - workshop downloads will be disabled.
maxplayers set to 64
ConVarRef cl_embedded_stream_video_playing doesn't point to an existing ConVar
Setting mapgroup to 'mg_active'
Usage: host_workshop_collection <fileid>
Usage: workshop_start_map <fileid>
NET_CloseAllSockets
Host_Error: DLL_Crosshairangle: not a client

Host_Error: DLL_Crosshairangle: not a client

Segmentation fault (core dumped)
cat: hlds.18733.pid: No such file or directory
email debug.log to [email protected]
Tue Jul  7 11:44:40 CEST 2020: Server restart in 10 seconds
Tue Jul  7 11:44:44 CEST 2020: Server Quit

This is my gamemodes_server.txt
PHP Code:
// To use this file, rename it to GameModes_Server.txt
//
// Values here override the default gamemodes.txt 

"GameModes_Server.txt"
{
    
"gameTypes"
    
{
        
"classic"
        
{
            
"gameModes"
            
{
                
"casual"
                
{
                    
"maxplayers" "20"
                    "mapgroupsMP"
                    
{
                        
"surfmode"
                    
}
                }
            }
        }
    }        
    
"mapgroups"
    
{
        
"surfmode"                                // mapgroup definition
        
{
            
"name" "surfmode"
            "maps"
            
{
                
"surf_utopia_njv"                ""
                "surf_rookie"                   ""
                "surf_lux"                      ""
                "surf_training"                 ""
                "surf_mesa"                        ""
                "surf_andromeda"                ""
                "surf_mesa_mine"                ""
                "surf_3"                        ""
                "surf_4head_csgo"               ""
                "surf_ace_fix"                  ""
                "surf_aircontrol_fixed"         ""
                "surf_amir"                     ""
                "surf_aqua_fix"                    ""
                "surf_aser"                     ""
                "surf_auroria2"                 ""
                "surf_aweles"                   ""
                "surf_beginner"                 ""
                "surf_blackout_v1"              ""
                "surf_calycate_ksf"             ""
                "surf_calzone"                  ""
                "surf_classics"                 ""
                "surf_classics2"                ""
                "surf_deoa"                     ""
                "surf_deprecation"              ""
                "surf_derpis_ksf"               ""
                "surf_dinwod"                   ""
                "surf_duggywuggy"               ""
                "surf_eclipse"                  ""
                "surf_elements_beta3_fix"        ""
                "surf_exocube_fix"              ""
                "surf_first"                    ""
                "surf_forbidden_ways_ksf"       ""
                "surf_frey"                     ""
                "surf_grassland"                ""
                "surf_guitar_hi"                ""
                "surf_hearth_fix"               ""
                "surf_highlands"                ""
                "surf_how2surf"                 ""
                "surf_island"                   ""
                "surf_ivory"                    ""
                "surf_kitsune"                  ""
                "surf_lament_njv"               ""
                "surf_leet_xl_beta7z_"          ""
                "surf_lessons"                  ""
                "surf_lullaby_ksf"                ""
                "surf_mash-up"                  ""
                "surf_minecraft_2016_final"     ""
                "surf_mom_fix"                  ""
                "surf_mesa_mine_fixed"          ""
                "surf_ninja_go_b5"              ""
                "surf_paddy"                    ""
                "surf_paradise"                 ""
                "surf_placid"                   ""
                "surf_plaguelands_njv"          ""
                "surf_rebel_resistance_njv"     ""
                "surf_reblis_final"             ""
                "surf_reprise"                  ""
                "surf_salvador"                 ""
                "surf_semesterbreak"            ""
                "surf_water-run_banjo_skill"    ""
                "surf_whiteout_csgo_v1 "        ""
                "surf_wizard"                   ""
                "surf_hentai"                   ""
                "surf_kitsune2_go"              ""
                "surf_life_of_cow"              ""
                "surf_interference_csgo"        ""
                "surf_disneyland"               ""
                "surf_fabas"                    ""
                "surf_eryr"                     ""
                "surf_sylvan"                   ""
                "surf_life_of_duck"             ""
                "surf_antimatter"               ""
                "surf_neoteric"                 ""
                "surf_nyx"                      ""
                "surf_runewords2"               ""
                "surf_waterworks"               ""
                "surf_legends_lite"                ""
                "surf_colum_2"                  ""
                "surf_ethereal"                 ""
                "surf_forgotten_fix"            ""
                "surf_hurrr"                    ""
                "surf_me"                       ""
                "surf_pox"                      ""
                "surf_prelude_ksf"              ""
                "surf_spacejam"                 ""
                "surf_singletons"               ""
                "surf_trance_ksf"               ""
                "surf_germania"                 ""
                "surf_lithium2"                 ""
                "surf_eryr2"                    ""
                "surf_beginner_hell"            ""
                "surf_oasis"                    ""
                "surf_dragon"                    ""
                "surf_believe"                  ""
                "surf_axil"                     ""
                "surf_koa"                      ""
                "surf_cyberwave"                ""
                "surf_lovetunnel"               ""
                "surf_amplitude_encore_nsf_v4"  ""
                "surf_sundown_njv"              ""
                "surf_oma"                      ""
                "surf_kz_protraining"           ""
                "surf_olympics_sns"             ""
                "surf_bonkers_v2"               ""
                "surf_annoyance_njv"            ""
                "surf_akali_final_fix"          ""
                "surf_fade"                     ""
                "surf_fruits"                   ""
                "surf_tensile_njv"                ""
                "surf_xeno"                        ""
                "surf_summer"                    ""
                "surf_fornax"                    ""
                "surf_deathstar"                ""
                "surf_sandtrap2"                ""
                "surf_skeelee"                    ""
                "surf_happyhands5"                ""
                "surf_skipalot"                    ""
                "surf_delight_go"                ""
                "surf_sandtrap"                    ""
            
}
        }
    }


Any help to resolve the issue would be greatly appreciated and will return a great amount of

Thanks




EDIT:
I could not find what the issue was, nothing changed after updating mods, validating files, downgrading mods etc.

What fixed it was deleting and installing MM and SM again. Although gamemodes_server.txt still is not working at least my server is running


EDIT 2:
If someone would like to help me out with my gamemodes_server.txt that'd be great!

Last edited by tslashd; 07-07-2020 at 18:30. Reason: SOLVED
tslashd is offline
TomL.
Veteran Member
Join Date: Oct 2017
Location: Germany
Old 07-07-2020 , 09:55   Re: [LINUX] Server started crashing (Stripper?)
Reply With Quote #2

Have you tried using the workshop to host your maps?
TomL. is offline
tslashd
AlliedModders Donor
Join Date: Jul 2020
Old 07-07-2020 , 10:20   Re: [LINUX] Server started crashing (Stripper?)
Reply With Quote #3

Quote:
Originally Posted by TomL. View Post
Have you tried using the workshop to host your maps?

I haven't really tried that as I thought that it's much faster to just do a custom gamemode_server.txt with all the maps used in the server. But unfortunately it's still not working properly...
tslashd is offline
TomL.
Veteran Member
Join Date: Oct 2017
Location: Germany
Old 07-07-2020 , 10:54   Re: [LINUX] Server started crashing (Stripper?)
Reply With Quote #4

I would highly recommend you to try it out, not just because of the mapgroup.
TomL. is offline
tslashd
AlliedModders Donor
Join Date: Jul 2020
Old 07-07-2020 , 11:12   Re: [LINUX] Server started crashing (Stripper?)
Reply With Quote #5

Quote:
Originally Posted by TomL. View Post
I would highly recommend you to try it out, not just because of the mapgroup.

I have 100+ maps in my mapcycle and not all of them are in Workshop.
tslashd is offline
freak.exe_uLow
AlliedModders Donor
Join Date: Jul 2012
Location: Germany
Old 07-07-2020 , 15:57   Re: [LINUX] Server started crashing (Stripper?)
Reply With Quote #6

tslashd, the last stripper versions are in the middle, maybe you downloaded the file from the top?

stripper-1.2.2-git129-linux.tar.gz
stripper-1.2.2-git129-mac.zip
stripper-1.2.2-git129-windows.zip
freak.exe_uLow is offline
tslashd
AlliedModders Donor
Join Date: Jul 2020
Old 07-07-2020 , 18:29   Re: [LINUX] Server started crashing (Stripper?)
Reply With Quote #7

Quote:
Originally Posted by freak.exe_uLow View Post
tslashd, the last stripper versions are in the middle, maybe you downloaded the file from the top?

stripper-1.2.2-git129-linux.tar.gz
stripper-1.2.2-git129-mac.zip
stripper-1.2.2-git129-windows.zip

I tried with the top one and bottom one
tslashd is offline
freak.exe_uLow
AlliedModders Donor
Join Date: Jul 2012
Location: Germany
Old 07-07-2020 , 20:46   Re: [LINUX] Server started crashing (Stripper?)
Reply With Quote #8

Quote:
Originally Posted by tslashd View Post
I tried with the top one and bottom one
so the problem is just fixed?
freak.exe_uLow is offline
tslashd
AlliedModders Donor
Join Date: Jul 2020
Old 07-08-2020 , 04:45   Re: [LINUX] Server started crashing (Stripper?)
Reply With Quote #9

Quote:
Originally Posted by freak.exe_uLow View Post
so the problem is just fixed?
Yes, it's fixed.
I backed up my plugins and cfgs and did mods-remove for MM and SM and reinstalled them afterwards. I had not seen your reply on the topic just yet and did the good old when in doubt, reinstall
tslashd is offline
freak.exe_uLow
AlliedModders Donor
Join Date: Jul 2012
Location: Germany
Old 07-08-2020 , 05:54   Re: [LINUX] Server started crashing (Stripper?)
Reply With Quote #10

Quote:
Originally Posted by tslashd View Post
Yes, it's fixed.
I backed up my plugins and cfgs and did mods-remove for MM and SM and reinstalled them afterwards. I had not seen your reply on the topic just yet and did the good old when in doubt, reinstall
perfect, and you are not alone, I had the same mistake
freak.exe_uLow 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 09:15.


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