Raised This Month: $ Target: $400
 0% 

[CS 1.6] Server crashes with segmentation fault, logs included, need help


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
Mannekino
Junior Member
Join Date: May 2004
Old 01-22-2008 , 08:10   [CS 1.6] Server crashes with segmentation fault, logs included, need help
Reply With Quote #1

Hello,

I'm having serious problems with all the Counter-Strike 1.6 servers of our gaming community. The servers have been running without any problems for over the past 4 months. Yesterday we decided to do some major maintenance e.g. upgrading all the plugins and adding a new one. And to sum up the current situation, it's completely f.u.b.a.r.

Our most popular server keeps crashing and the other servers also but less frequently. I've already restored a backup of the servers but the problem continues. The backups consists of the complete "addons" folder, plus "autoexec.cfg", "liblist.gam", "mapcycle.txt", "motd.txt" and "server.cfg" from the "cstrike" folder. This backup was made on the 17th of October last year and is the setup that has been running without any problems. I have tried both fresh installations of AMX Mod X 1.8.0 and 1.76d. With AMX Mod X 1.8.0 the crashes are more frequent. The last thing in the logfile before crashing is a line with "segmentation fault".

Here is the output of "meta list"

Code:
     description      stat pend  file              vers      src  load  unlod
[ 1] AMX Mod X        RUN   -    amxmodx_mm_i386.  v1.76d    ini  ANY   ANY  
[ 2] SBSRV            RUN   -    sbsrv_mm_i386.so  v3.5.2    ini  Start Never
[ 3] MySQL            RUN   -    mysql_amxx_i386.  v1.76b    pl1  ANY   ANY  
[ 4] Fun              RUN   -    fun_amxx_i386.so  v1.76     pl1  ANY   ANY  
[ 5] Engine           RUN   -    engine_amxx_i386  v1.76     pl1  ANY   ANY  
[ 6] FakeMeta         RUN   -    fakemeta_amxx_i3  v1.76d    pl1  ANY   ANY  
[ 7] CStrike          RUN   -    cstrike_amxx_i38  v1.76     pl1  ANY   ANY  
[ 8] CSX              RUN   -    csx_amxx_i386.so  v1.76c    pl1  ANY   ANY
Here is the output of "amx_plugins"

Code:
name               version  author            file             status   
AmxBans Admin Bas  1.76d    AMXX Dev Team     admin_amxbans.a  running  
AMXBans            5.0      YoMama/Lux & lan  amxbans.amxx     running  
Admin Commands     1.76d    AMXX Dev Team     admincmd.amxx    running  
Admin Help         1.76d    AMXX Dev Team     adminhelp.amxx   running  
Slots Reservation  1.76d    AMXX Dev Team     adminslots.amxx  running  
Multi-Lingual Sys  1.76d    AMXX Dev Team     multilingual.am  running  
Menus Front-End    1.76d    AMXX Dev Team     menufront.amxx   running  
Commands Menu      1.76d    AMXX Dev Team     cmdmenu.amxx     running  
Players Menu       1.76d    AMXX Dev Team     plmenu.amxx      running  
Teleport Menu      1.76d    AMXX Dev Team     telemenu.amxx    running  
Admin Chat         1.76d    AMXX Dev Team     adminchat.amxx   running  
Anti Flood         1.76d    AMXX Dev Team     antiflood.amxx   running  
Scrolling Message  1.76d    AMXX Dev Team     scrollmsg.amxx   running  
Info. Messages     1.76d    AMXX Dev Team     imessage.amxx    running  
Admin Votes        1.76d    AMXX Dev Team     adminvote.amxx   running  
TimeLeft           1.76d    AMXX Dev Team     timeleft.amxx    running  
Pause Plugins      1.76d    AMXX Dev Team     pausecfg.amxx    running  
Stats Configurati  1.76d    AMXX Dev Team     statscfg.amxx    running  
Restrict Weapons   1.76d    AMXX Dev Team     restmenu.amxx    running  
StatsX             1.76d    AMXX Dev Team     statsx.amxx      running  
CS Misc. Stats     1.76d    AMXX Dev Team     miscstats.amxx   running  
precache           1.0      hjvl              precache.amxx    running  
AdminListen        2.3x     /dev/ urandom     adminlisten.amx  running  
Bad Camper         1.4 bet  Brad Jones        bad_camper.amxx  running  
Team Balancer      1.8b3    Ptahhotep         ptb.amxx         running
As you can see I'm not running an exotic setup. It is a basic setup of AMX Mod X 1.76d and a few custom plugins. Please note that this particular configuration is a backup of a setup that has been working for months without any crashes or other problems. I've already tried everything that I could think of over the past two days. I've used compiled version of all the plugins, recompiled them myself, did clean installs of everything, checked all the configuration files. So I'm all out of ideas.

Here are the specifications of the server:
  • Two AMD Opteron 275 processors
  • Tyan Thunder K8SD Pro motherboard
  • Four 1 GB, ECC memory modules
  • Ubuntu Linux operation system
Here are the log files:
Any help is greatly appreciated; if you need any more information please let me know.

- Mannekino
Mannekino is offline
ConnorMcLeod
Veteran Member
Join Date: Jul 2006
Location: France (95)
Old 01-22-2008 , 08:14   Re: [CS 1.6] Server crashes with segmentation fault, logs included, need help
Reply With Quote #2

Try to run your server without metamod/amxx to see if it crashes.
__________________
- tired and retired -

- my plugins -
ConnorMcLeod is offline
Mannekino
Junior Member
Join Date: May 2004
Old 01-22-2008 , 08:23   Re: [CS 1.6] Server crashes with segmentation fault, logs included, need help
Reply With Quote #3

Thank you for the suggestion but I don't see how that would help finding the cause of the problem. We need AMX Mod X for this community. I believe the answer is somewhere in the log files. If the server does not crash without AMX Mod X then we only established that AMX Mod X and/or MetaMod is the cause so we will be in the same situation. If it does crash then I would still have to make the same debug.log as I did now. Also on the same server there are other game servers running without any problem.

Furthermore there is a file called "core.16274" with a timestamp of the exact time when the gameserver crashed. This file contains information but I cannot read it with a simple text editor. Does this file contain more information about the crash? Please let me know if I need to upload it.

Last edited by Mannekino; 01-22-2008 at 08:25.
Mannekino is offline
Mannekino
Junior Member
Join Date: May 2004
Old 01-22-2008 , 09:08   Re: [CS 1.6] Server crashes with segmentation fault, logs included, need help
Reply With Quote #4

Ok, there was another crash. I've updated both log files. As you can see the second crash was also preceded by a report of a person that has been kicked with a non-verified Steam ID. Could this be the pattern? And I'm running the server now without MetaMod and AMX Mod X (restored the liblist.gam file). There is a new file "core.593" with a timestamp again of the moment the server crashed. How can I analyze this file?

Last edited by Mannekino; 01-22-2008 at 09:16.
Mannekino is offline
Roach
Writes love letters to sawce Daily
Join Date: Jul 2006
Location: Internet
Old 01-22-2008 , 11:48   Re: [CS 1.6] Server crashes with segmentation fault, logs included, need help
Reply With Quote #5

Try the latest nightly build (which will end up being 1.8.1). There have been issues w/ AMXBans and AMXx 1.8.0 that have caused some crashing, but most have been resolved with the new nightly.

If that doesn't work, stay on 1.8.1. but disable AMXBans for a day or so to see if that fixes your issue. If it does, then chances are the issue stems somewhere from the mysql module. Try using the 1.76d mysql module, but keep the rest of the install at 1.8.1, restart AMXBans, and run your server like that until the official release of 1.8.1, which will end up being a bugfix release, comes out.
__________________
Quote:
Originally Posted by Brad View Post
That sounds like a really good idea!
Now replace the word "good" with "dumb".
What was your rationale for proposing such a thing?

Last edited by Roach; 01-22-2008 at 11:52.
Roach is offline
Mannekino
Junior Member
Join Date: May 2004
Old 01-27-2008 , 07:31   Re: [CS 1.6] Server crashes with segmentation fault, logs included, need help
Reply With Quote #6

SteamBans was the cause. I needed to add "sb_requireauth 0" to my configuration. no crashes have occurred since then.
Mannekino is offline
Michael_Jim
Member
Join Date: Apr 2005
Location: Germany
Old 01-27-2008 , 14:49   Re: [CS 1.6] Server crashes with segmentation fault, logs included, need help
Reply With Quote #7

Quote:
Originally Posted by Mannekino View Post
SteamBans was the cause. I needed to add "sb_requireauth 0" to my configuration. no crashes have occurred since then.
Hi,

yes this is a bug from steambans. I have the same problem on my gameserver.
sb_requireauth 0 is a good workaround.

Michael_Jim
Michael_Jim is offline
genipalla
Member
Join Date: Feb 2007
Location: Albania
Old 01-30-2008 , 18:56   Re: [CS 1.6] Server crashes with segmentation fault, logs included, need help
Reply With Quote #8

Quote:
Originally Posted by Michael_Jim View Post
Hi,

yes this is a bug from steambans. I have the same problem on my gameserver.
sb_requireauth 0 is a good workaround.

Michael_Jim
You just repeated the Same thing he said this is a pointless post...
__________________

CS SOURCE
genipalla is offline
Reply



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 20:19.


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