Server Startup Fails

Have some feedback for Life is Feudal? Post it here!
User avatar
Azzerhoden
Alpha Tester
 
Posts: 1621
Joined: 08 May 2014, 17:44

Server Startup Fails

Post by Azzerhoden » 09 Jun 2015, 17:56

Have a couple different instances of LIF failing to startup. I suspect the issue isn't really with these instances. I had an earlier issue where startup was failing because of an issue with mysql.proc. A search on google stated I needed to run mysqlcheck --repair, which I did.

Now the startup crashes at various points when the server is starting up. Full log is at: http://pastebin.com/pkvtnVBG, but in general the failures all happen around
Code: Select all
ECHO 2015-06-08 21:46:49.999 {02} <createWorld> Loading terrain list
WARN 2015-06-08 21:46:49.999 {02} <createWorld> DB::RS(1 ms) select ID, CachedGeoVersion, CachedTerCRC, CachedServerGeoIdxCRC, CachedServerGeoDatCRC, CachedClientGeoIdxCRC, CachedClientGeoDatCRC, PackedTerCRC, PackedClientGeoIdxCRC, PackedClientGeoDatCRC, CachedClientGeoIdxSize, CachedClientGeoDatSize from terrain_blocks where CachedGeoVersion is not null and CachedTerCRC is not null and CachedServerGeoIdxCRC is not null and CachedServerGeoDatCRC is not null and CachedClientGeoIdxCRC is not null and CachedClientGeoDatCRC is not null and PackedTerCRC is not null and PackedClientGeoIdxCRC is not null and PackedClientGeoDatCRC is not null and CachedClientGeoIdxSize is not null and CachedClientGeoDatSize is not null and ID in (442,443,444,445,446,447,448,449,450);
WARN 2015-06-08 21:46:49.999 {02} <createWorld> DB::RS(1 ms) select FileCRC, FileSize, FileTimestamp from passability_map_cache where ServerID = 1;
ECHO 2015-06-08 21:46:49.999 {02} <createWorld> TerrainDeformer::_createTerrainBlock() - create ter from: data/terrains/t442.ter
WARN 2015-06-08 21:46:50.045 {02} <createWorld> Current terrain [442] loaded from file in 46ms. Memory usage: 5.016 MB (total 5.016 MB)
HACK 2015-06-08 21:46:50.763 {02} <createWorld> TerrainDeformer::_registerTerrain(442)!
HACK 2015-06-08 21:46:50.763 {02} <createWorld> CmClaimsManager::TerrainLoaded() - loaded 442
HACK 2015-06-08 21:46:50.763 {02} <createWorld> cClaimsGeoCache::initClaimsGeoCacheOneTer() - loaded 442
ERRR 2015-06-08 21:46:50.763 {02} <createWorld> sClaim::getPosition() - Bad position
ERRR 2015-06-08 21:46:50.763 {02} <createWorld> sClaim::getPosition() - Bad position
HACK 2015-06-08 21:46:50.763 {02} <createWorld> CmClaimsManager::fillClaimsGeoCache() timing=0.002 sec
WARN 2015-06-08 21:46:50.841 {02} <createWorld> DB::RS(81 ms) select GeoDataID, TreeType, SubcellMask, AgeTime, Quality from forest WHERE GeoDataID >= 115867648 AND GeoDataID < 116129792;
WARN 2015-06-08 21:46:50.857 {02} <createWorld> DB::RS(1 ms) SELECT `ForestVersion` FROM `terrain_blocks` WHERE `ID`=442
HACK 2015-06-08 21:46:51.231 {02} <createWorld> CmPatcher::attachTerrain(442) -- creating new (full load: 1)!
HACK 2015-06-08 21:46:51.231 {02} <createWorld> CmChangeStore::init(442) -- was not inited before!

So, what is this init(442)?
| - Alpha Tester and Zealous Believer
Image

Kingdom of Hyperion founding Duchy - A practical RP Community est. 1999 - Apply Today!

User avatar
Azzerhoden
Alpha Tester
 
Posts: 1621
Joined: 08 May 2014, 17:44

Re: Server Startup Fails

Post by Azzerhoden » 10 Jun 2015, 01:30

I created a new instance on my personal PC, exported the instance above (using replace data), loaded as a SQL file then attempted to startup the box again.

SUCCESS!!!

Still a ways to go to rebuild the server (since I am not sure what is corrupted), but now I know I can uninstall/reinstall, drop the db, then replace with the new export and we'll be good to go.
| - Alpha Tester and Zealous Believer
Image

Kingdom of Hyperion founding Duchy - A practical RP Community est. 1999 - Apply Today!

Return to Feedback Section