• My server crash after hours, possible hacking
    11 replies, posted
Hello guys. I have 3 servers of gmod open. I don't know if this are an possible hacking attack or the problem are caused after update all servers. Only happen on the servers with much people (35/35 for example). but work fine much hours (24h for example). and this problem only happen on 1/2 servers, is random. Because possible hacking?, I see the first crash on 1 of my servers and on the console of other of my servers I can read something like this "Banning X.X.X.X ip for attempts to hacking the rcon password". for this reason I suspect. But maybe the problem are for update or for an bad update. This is the error of mdmp file: [CODE]**************************************************************************** * Symbol loading may be unreliable without a symbol search path. * * Use .symfix to have the debugger choose a symbol path. * * After setting your symbol path, use .reload to refresh symbol locations. * **************************************************************************** Executable search path is: Windows 7 Version 7601 (Service Pack 1) MP (8 procs) Free x86 compatible Product: Server, suite: TerminalServer DataCenter SingleUserTS Machine Name: Debug session time: Sun Jul 13 18:37:16.000 2014 (UTC + 2:00) System Uptime: not available Process Uptime: 0 days 8:25:15.000 ................................................................ .......................... This dump file has an exception of interest stored in it. The stored exception information can be accessed via .ecxr. (11d0.828): Access violation - code c0000005 (first/second chance not available) *** ERROR: Symbol file could not be found. Defaulted to export symbols for ntdll.dll - eax=00000000 ebx=1f7521b0 ecx=fffffff8 edx=00000001 esi=1f752170 edi=0045bcf8 eip=77c10c42 esp=0045b9b8 ebp=0045b9c8 iopl=0 nv up ei pl zr na pe nc cs=0023 ss=002b ds=002b es=002b fs=0053 gs=002b efl=00000246 ntdll!NtGetContextThread+0x12: 77c10c42 83c404 add esp,4 [/CODE] any help is welcome. All other services work fine on my server, websites and other things. It is a dedicated server so it supports many more servers open without lag servers. (I mean that the fault is not the power of the server, or so I think) Thanks in advance, regards.
What third party lua dll files do you have installed? (for example mysqloo, etc.)
[QUOTE=syl0r;45383657]What third party lua dll files do you have installed? (for example mysqloo, etc.)[/QUOTE] Hello, I think what this are all files what the server use. [CODE] ----------------- ------------------------- ------------------ srcds.exe C:\Users\root\Documents\PropHunt\gmodesp\srcds.exe 0.0.0.0 dedicated.dll C:\Users\X\GmodServer\bin\dedicated.dll 1.0.0.1 steam_api.dll C:\Users\X\GmodServer\bin\steam_api.dll 1.68.8.89 tier0.dll C:\Users\X\GmodServer\bin\tier0.dll 1.0.0.1 vstdlib.dll C:\Users\X\GmodServer\bin\vstdlib.dll 1.0.0.1 engine.dll C:\Users\X\GmodServer\bin\engine.dll 1.0.0.1 inputsystem.dll C:\Users\X\GmodServer\bin\inputsystem.dll 1.0.0.1 materialsystem.dll C:\Users\X\GmodServer\bin\materialsystem.dll 1.0.0.1 studiorender.dll C:\Users\X\GmodServer\bin\studiorender.dll 1.0.0.1 vphysics.dll C:\Users\X\GmodServer\bin\vphysics.dll 0.0.0.0 datacache.dll C:\Users\X\GmodServer\bin\datacache.dll 1.0.0.1 vgui2.dll C:\Users\X\GmodServer\bin\vgui2.dll 1.0.0.1 shaderapiempty.dll C:\Users\X\GmodServer\bin\shaderapiempty.dll 1.0.0.1 XInput1_3.dll C:\Users\X\GmodServer\bin\XInput1_3.dll 9.15.779.0 game_shader_generic_garrysmod.dll C:\Users\X\GmodServer\garrysmod\bin\game_shader_generic_garrysmod.dll 1.0.0.1 server.dll C:\Users\X\GmodServer\garrysmod\bin\server.dll 1.0.0.1 soundemittersystem.dll C:\Users\X\GmodServer\bin\soundemittersystem.dll 1.0.0.1 scenefilecache.dll C:\Users\X\GmodServer\bin\scenefilecache.dll 1.0.0.1 lua_shared.dll C:\Users\X\GmodServer\garrysmod\bin\lua_shared.dll 1.0.0.1 Steam.dll C:\Users\X\GmodServer\bin\Steam.dll 2.0.1678.491 steamclient.dll C:\Users\X\GmodServer\bin\steamclient.dll 1.68.8.89 tier0_s.dll C:\Users\X\GmodServer\bin\tier0_s.dll 1.68.8.89 vstdlib_s.dll C:\Users\X\GmodServer\bin\vstdlib_s.dll 1.68.8.89 crashhandler.dll C:\Users\X\GmodServer\bin\crashhandler.dll 1.68.30.41 gmsv_mysqloo_win32.dll C:\Users\X\GmodServer\garrysmod\lua\bin libmySQL.dll C:\Users\X\GmodServer\libmySQL.dll [/CODE] Regards. [editline]14th July 2014[/editline] Sorry, I mistakenly put (hello gays instead of guys) (It's what passes for writing all without using the translator haha, I'm sorry.)
Up, I need help for fix this problem. if they can recommend something that restart the server when crash I would appreciate, as usually happens just when I go to sleep. Regards.
[QUOTE=Yona;45386062]if they can recommend something that restart the server when crash I would appreciate, as usually happens just when I go to sleep.[/QUOTE] You could look into [URL="http://www.serverdoc.com/"]Serverdoc[/URL]. Getting started: [URL]http://www.serverdoc.com/modules.php?name=GettingStarted[/URL] It will almost automatically restart your servers when they crash 99% of the time. That way you don't have to manually restart the server yourself. [QUOTE]Because possible hacking?, I see the first crash on 1 of my servers and on the console of other of my servers I can read something like this "[B]Banning X.X.X.X ip for attempts to hacking the rcon password[/B]". for this reason I suspect.[/QUOTE] The message it uses makes it sound a lot worse than it (probably) is. It just means someone tried to guess the rcon password and failed, even if you don't have a password set. If their attempts exceed your sv_rcon_maxfailures value, they will be banned from the server for the sv_rcon_banpenalty time and that "attempts to hacking the rcon password" message will show up.
seDirector also works great.
There are multiple reasons the server can crash giving you this message. Also please tell us what kind of server you are using (os, gamemode, etc.) Please also try and give us an idea when the server crashes and what people did when it crashed. These are two of the reasons that I know of, please tell us if they could be possible on your server. The server can crash when the map gets removed on the server, someone could use an exploit to do that. Apparently cars can crash the servers when they brake if the brake material doesn't exist.
I'm just using the good old "Server Watchdog" from the old wiki. Never failed. [code] @echo off cls echo Protecting srcds from crashes... title Server Watchdog :srcds echo (%time%) srcds started. start /wait D:\GameServers\server_1\srcds.exe -console -game garrysmod -tickrate 33 +map gm_sandbox +maxplayers 16 +gamemode sandbox +rcon_password 1234 +exec server.cfg echo (%time%) WARNING: srcds closed or crashed, restarting. goto srcds [/code]
[QUOTE=syl0r;45387300]There are multiple reasons the server can crash giving you this message. Also please tell us what kind of server you are using (os, gamemode, etc.) Please also try and give us an idea when the server crashes and what people did when it crashed. These are two of the reasons that I know of, please tell us if they could be possible on your server. The server can crash when the map gets removed on the server, someone could use an exploit to do that. Apparently cars can crash the servers when they brake if the brake material doesn't exist.[/QUOTE] I use console for scrds.exe and the gamemode is prop hunt. A times when are crashed had one player on the server. Maybe they are errors with the objects added manually, but I had opened for months the server and the problems have started only after upgrading. Thanks to all for the help and suggestions. Regards. [QUOTE=ms333;45387328]I'm just using the good old "Server Watchdog" from the old wiki. Never failed. [code] @echo off cls echo Protecting srcds from crashes... title Server Watchdog :srcds echo (%time%) srcds started. start /wait D:\GameServers\server_1\srcds.exe -console -game garrysmod -tickrate 33 +map gm_sandbox +maxplayers 16 +gamemode sandbox +rcon_password 1234 +exec server.cfg echo (%time%) WARNING: srcds closed or crashed, restarting. goto srcds [/code][/QUOTE] this code is an suggestion what I can add on my server.cfg file? I search this but I don't understand exactly what is. Okay, I find this: [QUOTE] Crash recovery Batch file recovery Batch files are little scripts that tell Windows what to do. If srcds crashes, we can use a batch script to restart it for us. What we are going to do is make sure that as soon HLDS suddenly quits it will restart. First we open notepad. Copy-paste this in: @echo off cls echo Protecting srcds from crashes... echo If you want to close srcds, close the srcds window and type Y depending on your language followed by Enter. title Server Watchdog :srcds echo (%time%) srcds started. start /wait srcds.exe -console -game garrysmod +map gm_construct +maxplayers 16 echo (%time%) WARNING: srcds closed or crashed, restarting. goto srcds Replace the marked part with your own commandline and values. Save the file as C:\srcds\orangebox\srcds.bat in notepad (NOT .txt) and next time click the srcds.bat file. If you need to close srcds, close the hlds window and press Y (depending on language) at the Terminate batch question. Also, it's important to note that this won't restart your server if it locks up and never closes. Error messages can be disabled to improve the chance that the bat file works properly. [/QUOTE] I go to try soon, thanks you.
You just put it in a Batch file (.bat) and run it. Remember to change the srcds path.
[QUOTE=Cyberuben;45387121]seDirector also works great.[/QUOTE] This program are excellent, have very nice options (auto update, restart, configuration) Awesome :D Link: [url]http://ashersoftware.com/seDirector/download/[/url] Also I try the .bat file but with SeDirector are better (for me). [QUOTE=syl0r;45387300]There are multiple reasons the server can crash giving you this message. Also please tell us what kind of server you are using (os, gamemode, etc.) Please also try and give us an idea when the server crashes and what people did when it crashed. These are two of the reasons that I know of, please tell us if they could be possible on your server. The server can crash when the map gets removed on the server, someone could use an exploit to do that. Apparently cars can crash the servers when they brake if the brake material doesn't exist.[/QUOTE] Yes, I see the log chats and I don't see nothing strange. But the maps were outdated on my hosting, maybe this are the reason, now I update the maps. I think also what the problem maybe are caused by the props what I add, if the problem continue I go to delete possible bad props. Thanks to all for the help. Regards.
[QUOTE=ms333;45387328]I'm just using the good old "Server Watchdog" from the old wiki. Never failed. [code] @echo off cls echo Protecting srcds from crashes... title Server Watchdog :srcds echo (%time%) srcds started. start /wait D:\GameServers\server_1\srcds.exe -console -game garrysmod -tickrate 33 +map gm_sandbox +maxplayers 16 +gamemode sandbox +rcon_password 1234 +exec server.cfg echo (%time%) WARNING: srcds closed or crashed, restarting. goto srcds [/code][/QUOTE] It won't do anything of srcds freezes, only if it actually crashes.
Sorry, you need to Log In to post a reply to this thread.