03.03.2014, 11:15
Hello Guys im getting errors when i do nohup ./samp03svr on a Operating System CentOS 6 VPS, i've ran this fine all week except today when i restarted the server yes im using mysql here are the logs.
IF I REMOVE THE DB=HERE LINE FROM THE MYSQL.CFG IT WORKS.
BUT CRASHES AS IT CANNOT READ THE DATABASE.
PHP Code:
----------
Loaded log file: "server_log.txt".
----------
SA-MP Dedicated Server
----------------------
v0.3z, (C)2005-2014 SA-MP Team
[15:17:55]
[15:17:55] Server Plugins
[15:17:55] --------------
[15:17:55] Loading plugin: mysql_static.so
[15:17:55] >> plugin.mysql: R34 successfully loaded.
[15:17:55] Loaded.
[15:17:55] Loading plugin: Whirlpool.so
[15:17:55]
[15:17:55] ==================
[15:17:55]
[15:17:55] Whirlpool loaded
[15:17:55]
[15:17:55] ==================
[15:17:55]
[15:17:55] Loaded.
[15:17:55] Loading plugin: streamer.so
[15:17:55]
*** Streamer Plugin v2.6.1 by Incognito loaded ***
[15:17:55] Loaded.
[15:17:55] Loading plugin: sscanf.so
[15:17:55]
[15:17:55] ===============================
[15:17:55] sscanf plugin loaded.
[15:17:55] Version: 2.8.1
[15:17:55] (c) 2012 Alex "Y_Less" Cole
[15:17:55] ===============================
[15:17:55] Loaded.
[15:17:55] Loading plugin: nativechecker.so
[15:17:55] Loaded.
[15:17:55] Loading plugin: crashdetect.so
[15:17:55] CrashDetect v4.13 is OK.
[15:17:55] Loaded.
[15:17:55] Loaded 6 plugins.
[15:17:55]
[15:17:55] Filterscripts
[15:17:55] ---------------
[15:17:55] Loading filterscript 'yom_buttons.amx'...
[15:17:55] Loading filterscript 'vactions.amx'...
[15:17:56] Loading filterscript 'Server.amx'...
[15:17:56] Loading filterscript 'PlayerInteriors.amx'...
[15:17:56] Loading filterscript 'PlayerExteriors.amx'...
[15:17:57] Loading filterscript 'testfs.amx'...
[15:17:57] OnFilter
[15:17:57] Loaded 6 filterscripts.
[15:17:57] OnGameo
[15:17:57]
[15:17:57]
[15:17:57]
[15:17:57] =======================================
[15:17:57] | |
[15:17:57] | YSI version 3.09.0684 |
[15:17:57] | By Alex "Y_Less" Cole |
[15:17:57] | |
[15:17:57] =======================================
[15:17:57]
[15:17:57]
[15:17:57]
[15:17:57] Preparing the gamemode, please wait...
[15:17:57] [debug] Server crashed while executing <unknown>
[15:17:57] [debug] AMX backtrace:
[15:17:57] [debug] #0 native mysql_connect () [b7a63d00] from mysql_static.so
[15:17:57] [debug] #1 00383900 in ?? () from <unknown>
[15:17:57] [debug] #2 00528b0c in ?? () from <unknown>
[15:17:57] [debug] #3 0000cf1c in public Itter_OnGameModeInit () from <unknown>
[15:17:57] [debug] #4 native CallLocalFunction () [080dbf60] from samp03svr
[15:17:57] [debug] #5 00008138 in public ScriptInit_OnGameModeInit () from <unknown>
[15:17:57] [debug] #6 000070bc in public SSCANF_OnGameModeInit () from <unknown>
[15:17:57] [debug] #7 native CallLocalFunction () [080dbf60] from samp03svr
[15:17:57] [debug] #8 0000138c in public zcmd_OnGameModeInit () from <unknown>
[15:17:57] [debug] #9 native CallLocalFunction () [080dbf60] from samp03svr
[15:17:57] [debug] #10 00000bdc in public OnGameModeInit () from <unknown>
[15:17:57] [debug] Native backtrace:
[15:17:57] [debug] #0 b6f1b31b in _ZN10StackTraceC1EPv () from plugins/crashdetect.so
[15:17:57] [debug] #1 b6f157c2 in _ZN11CrashDetect20PrintNativeBacktraceERSoPv () from plugins/crashdetect.so
[15:17:57] [debug] #2 b6f163ac in _ZN11CrashDetect20PrintNativeBacktraceEPv () from plugins/crashdetect.so
[15:17:57] [debug] #3 b6f16856 in _ZN11CrashDetect11OnExceptionEPv () from plugins/crashdetect.so
[15:17:57] [debug] #4 b6f1af6c in ?? () from plugins/crashdetect.so
[15:17:57] [debug] #5 b7fb0a60 in ?? () from /lib/libpthread.so.0
[15:17:57] [debug] #6 b7fc8832 in ?? () from /lib/ld-linux.so.2
[15:17:57] [debug] #7 b7d01b11 in gsignal () from /lib/libc.so.6
[15:17:57] [debug] #8 b7d033ea in abort () from /lib/libc.so.6
[15:17:57] [debug] #9 b7f67bc7 in _ZN9__gnu_cxx27__verbose_terminate_handlerEv () from /usr/lib/libstdc++.so.6
[15:17:57] [debug] #10 b7f65a26 in ?? () from /usr/lib/libstdc++.so.6
[15:17:57] [debug] #11 b7f65a63 in ?? () from /usr/lib/libstdc++.so.6
[15:17:57] [debug] #12 b7f65ba2 in ?? () from /usr/lib/libstdc++.so.6
[15:17:57] [debug] #13 b7a4b800 in _ZN5boost15throw_exceptionINS_21thread_resource_errorEEEvRKT_ () from plugins/mysql_static.so
[15:17:57] [debug] #14 b7a4fab9 in _ZN5boost6threadC1IM12CMySQLHandleFvvEPS2_EET_T0_NS_10disable_ifINS_13thread_detail14is_convertibleIRS6_NS_17thread_attributesEEEPNS0_5dummyEE4typeE () from plugins/mysql_static.so
[15:17:57] [debug] #15 b7a4cbd9 in _ZN12CMySQLHandleC1Ei () from plugins/mysql_static.so
[15:17:57] [debug] #16 b7a4cce0 in _ZN12CMySQLHandle6CreateESsSsSsSsjb () from plugins/mysql_static.so
[15:17:57] [debug] #17 b7a63ff9 in _ZN6Native13mysql_connectEP6tagAMXPi () from plugins/mysql_static.so
[15:17:57] [debug] #18 08093d84 in ?? () from ./samp03svr
[15:17:57] [debug] #19 b6f1303c in _ZN11CrashDetect13DoAmxCallbackEiPiS0_ () from plugins/crashdetect.so
[15:17:57] [debug] #20 b6f19458 in ?? () from plugins/crashdetect.so
[15:17:57] [debug] #21 b6f1dc61 in amx_Exec () from plugins/crashdetect.so
[15:17:57] [debug] #22 b6f15708 in _ZN11CrashDetect9DoAmxExecEPii () from plugins/crashdetect.so
[15:17:57] [debug] #23 b6f191c9 in ?? () from plugins/crashdetect.so
[15:17:57] [debug] #24 080dc202 in ?? () from ./samp03svr
[15:17:57] [debug] #25 08093d84 in ?? () from ./samp03svr
[15:17:57] [debug] #26 b6f1303c in _ZN11CrashDetect13DoAmxCallbackEiPiS0_ () from plugins/crashdetect.so
[15:17:57] [debug] #27 b6f19458 in ?? () from plugins/crashdetect.so
[15:17:57] [debug] #28 b6f1dc61 in amx_Exec () from plugins/crashdetect.so
[15:17:57] [debug] #29 b6f15708 in _ZN11CrashDetect9DoAmxExecEPii () from plugins/crashdetect.so
[15:17:57] [debug] #30 b6f191c9 in ?? () from plugins/crashdetect.so
[15:17:57] [debug] #31 080dc202 in ?? () from ./samp03svr
[15:17:57] [debug] #32 08093d84 in ?? () from ./samp03svr
[15:17:57] [debug] #33 b6f1303c in _ZN11CrashDetect13DoAmxCallbackEiPiS0_ () from plugins/crashdetect.so
[15:17:57] [debug] #34 b6f19458 in ?? () from plugins/crashdetect.so
[15:17:57] [debug] #35 b6f1dc61 in amx_Exec () from plugins/crashdetect.so
[15:17:57] [debug] #36 b6f15708 in _ZN11CrashDetect9DoAmxExecEPii () from plugins/crashdetect.so
[15:17:57] [debug] #37 b6f191c9 in ?? () from plugins/crashdetect.so
[15:17:57] [debug] #38 080dc202 in ?? () from ./samp03svr
[15:17:57] [debug] #39 08093d84 in ?? () from ./samp03svr
[15:17:57] [debug] #40 b6f1303c in _ZN11CrashDetect13DoAmxCallbackEiPiS0_ () from plugins/crashdetect.so
[15:17:57] [debug] #41 b6f19458 in ?? () from plugins/crashdetect.so
[15:17:57] [debug] #42 b6f1dc61 in amx_Exec () from plugins/crashdetect.so
[15:17:57] [debug] #43 b6f15708 in _ZN11CrashDetect9DoAmxExecEPii () from plugins/crashdetect.so
[15:17:57] [debug] #44 b6f191c9 in ?? () from plugins/crashdetect.so
[15:17:57] [debug] #45 080a36bb in ?? () from ./samp03svr
[15:17:57] [debug] #46 080a98bd in ?? () from ./samp03svr
[15:17:57] [debug] #47 080a8162 in ?? () from ./samp03svr
[15:17:57] [debug] #48 b7cedd26 in __libc_start_main () from /lib/libc.so.6
[15:17:57] [debug] #49 0804b4a1 in ?? () from ./samp03svr
IF I REMOVE THE DB=HERE LINE FROM THE MYSQL.CFG IT WORKS.
BUT CRASHES AS IT CANNOT READ THE DATABASE.
PHP Code:
----------
SA-MP Dedicated Server
----------------------
v0.3z, (C)2005-2014 SA-MP Team
[15:21:09]
[15:21:09] Server Plugins
[15:21:09] --------------
[15:21:09] Loading plugin: mysql_static.so
[15:21:09] >> plugin.mysql: R34 successfully loaded.
[15:21:09] Loaded.
[15:21:09] Loading plugin: Whirlpool.so
[15:21:09]
[15:21:09] ==================
[15:21:09]
[15:21:09] Whirlpool loaded
[15:21:09]
[15:21:09] ==================
[15:21:09]
[15:21:09] Loaded.
[15:21:09] Loading plugin: streamer.so
[15:21:09]
*** Streamer Plugin v2.6.1 by Incognito loaded ***
[15:21:09] Loaded.
[15:21:09] Loading plugin: sscanf.so
[15:21:09]
[15:21:09] ===============================
[15:21:09] sscanf plugin loaded.
[15:21:09] Version: 2.8.1
[15:21:09] (c) 2012 Alex "Y_Less" Cole
[15:21:09] ===============================
[15:21:09] Loaded.
[15:21:09] Loading plugin: nativechecker.so
[15:21:09] Loaded.
[15:21:09] Loading plugin: crashdetect.so
[15:21:09] CrashDetect v4.13 is OK.
[15:21:09] Loaded.
[15:21:09] Loaded 6 plugins.
[15:21:09]
[15:21:09] Filterscripts
[15:21:09] ---------------
[15:21:09] Loading filterscript 'yom_buttons.amx'...
[15:21:09] Loading filterscript 'vactions.amx'...
[15:21:09] Loading filterscript 'Server.amx'...
[15:21:10] Loading filterscript 'PlayerInteriors.amx'...
[15:21:10] Loading filterscript 'PlayerExteriors.amx'...
[15:21:10] Loading filterscript 'testfs.amx'...
[15:21:10] OnFilter
[15:21:10] Loaded 6 filterscripts.
[15:21:11] OnGameo
[15:21:11]
[15:21:11]
[15:21:11]
[15:21:11] =======================================
[15:21:11] | |
[15:21:11] | YSI version 3.09.0684 |
[15:21:11] | By Alex "Y_Less" Cole |
[15:21:11] | |
[15:21:11] =======================================
[15:21:11]
[15:21:11]
[15:21:11]
[15:21:11] Preparing the gamemode, please wait...
[15:21:11] [MySQL] (Main Pipelines) Connecting to 184.171.166.72...
[15:21:11] [MySQL] (MainPipeline) Connection successful toward MySQL Database Server!
[15:21:11] [Dynamic Giftbox] Loading the Dynamic Giftbox...
[15:21:11] [LoadCrates] Load Query Sent
[15:21:11] [LoadHouses] Loading data from database...
[15:21:11] [LoadDynamicDoors] Loading data from database...
[15:21:11] [LoadDynamicMapIcons] Loading data from database...
[15:21:11] [LoadMailboxes] Loading data from database...
[15:21:11] [LoadBusinesses] Loading data from database...
[15:21:11] [LoadAuctions] Loading data from database...
[15:21:11] [LoadTxtLabels] Loading data from database...
[15:21:11] [LoadPlants] Loading data from database...
[15:21:11] [SpeedCameras] Loading data from database...
[15:21:11] [LoadPayNSprays] Loading data from database...
[15:21:11] [LoadArrestPoints] Loading data from database...
[15:21:11] [LoadImpoundPoints] Loading data from database...
[15:21:11] [LoadRelayForLifeTeams] Loading data from database...
[15:21:11] [LoadBusinessSales] Loading data from database...
[15:21:11] [LoadTurfWars] 65 turfs loaded.
[15:21:11] [LoadPaintballArenas] 10 paintball arenas loaded.
[15:21:11] [LoadEventPoints] 0 event points loaded.
[15:21:11] [LoadGates] Loading data from database...
[15:21:11] [LoadElevatorStuff] 20 floors loaded.
[15:21:11] [LoadFamilies] Loading data from database...
[15:21:11] [LoadFamilyPoints] Loading Family Points from the database, please wait...
[15:21:11] [MiscLoad] Misc Loaded
[15:21:11] Resetting news...
[15:21:11] Resetting default server variables..
[15:21:11] Adjusted the server time...
[15:21:11] [Streamer] Loading Dynamic Static Vehicles...
[15:21:11] [Streamer] Dynamic Static Vehicles has been loaded.
[15:21:11] [Streamer] Loading Dynamic Pickups...
[15:21:11] [Streamer] Dynamic Pickups has been loaded.
[15:21:11] [Streamer] Loading 3D Text Labels...
[15:21:11] [Streamer] Dynamic 3D Text Labels has been loaded.
[15:21:11] [Streamer] Loading Dynamic Buttons...
[15:21:11] [Streamer] Dynamic Buttons has been loaded.
[15:21:11] [Streamer] Loading Dynamic Objects...
[15:21:11] [Streamer] Dynamic Objects has been loaded.
[15:21:11] [Textdraws] Loading Textdraws...
[15:21:11] [Textdraws] Loaded textdraws.
[15:21:11] [Dynamic Groups] Loading Dynamic Groups...
[15:21:11] [Dynamic Groups] Loading Dynamic Groups Vehicles...
[15:21:11]
-------------------------------------------
[15:21:11] Vicious - Roleplay
[15:21:11] Copyright (C) Vicious - Roleplay, LLC (2012-2013)
[15:21:11] All Rights Reserved
[15:21:11] -------------------------------------------
[15:21:11] Successfully initiated the gamemode...
[15:21:11] OnGameo
[15:21:11] Number of vehicle models: 29
[15:21:11]
[15:21:11] ==========================================
[15:21:11] | |
[15:21:11] | A new version (v<html>
) of YSI is |
[15:21:11] | available from: |
[15:21:11] | |
[15:21:11] | www.y-less.com/YSI/YSI_1.0.zip |
[15:21:11] | |
[15:21:11] ==========================================
[15:21:11]