FPtje / DarkRP

DarkRP, a non-serious roleplay gamemode for Garry's Mod.
https://darkrp.miraheze.org
MIT License
462 stars 707 forks source link

Failed database connection on Linux-based server, but only sometimes? #1608

Closed RhapsodySL closed 10 years ago

RhapsodySL commented 10 years ago

While my server has been starting up automatically after a crash (generally due to prop spammers...), we've occasionally been running into this issue in console; my control panel states that the server crashing upon startup has occured at least five times due to this error.

gamemodes/darkrp/gamemode/libraries/mysqlite/mysqlite.lua:122: attempt to index global 'databaseObject' (a nil value) ./exec_smashinglimes.run: line 372: 16514 Segmentation fault (core dumped) $HL_CMD warning: Could not load shared library symbols for linux-gate.so.1. Do you need "set solib-search-path" or "set sysroot"? 365 ../../MySQLOO/source/CLASS_Query.cpp: No such file or directory. email debug.log to linux@valvesoftware.com Sat Aug 16 05:51:31 CDT 2014: Server Quit
FPtje commented 10 years ago

I think something is querying the database before the database initialized. I reckon it's an addon, because I'm not doing that.