denisio / Dayz-Epoch-Linux-Server

A private hive DayZ Epoch server on Linux
36 stars 30 forks source link

crash server after mission laoded #29

Open vfrbgt opened 9 years ago

vfrbgt commented 9 years ago

I install server by readme instruction and run this on my VPS. But when i connected to my server and after loaded map server shutdown. This my dump.txt(server.log file is empty):

http://pastebin.com/dqswqYSC

Help me please solve my problem.

deannreid commented 9 years ago

Anything happen when you try join?

Try looking at the live log through the screen or when you do ./epoch.sh as sometimes the dump.log doesn't catch everything before a crash, everything on the log looks normal there.

vfrbgt commented 9 years ago

no more logs, simple crash server after map loaded(

deannreid commented 9 years ago

try re-downloading the arma files again, might be corrupt files that is causing it

vfrbgt commented 9 years ago

how i can enable advansed debug logging? if redownloading arma files not solve my problem?

deannreid commented 9 years ago

There is no real advanced debugging, you could add -showscripterrors to the epoch.sh inbetween -exThreads and -pid= but its meant to be there by default you could also try adding

diag_log "File Execute Here";

and Change File Execute Here to the file thats currently executing like how I do in my mission

https://github.com/deannreid/TWD_Server_Missions/blob/master/twd.chernarus%20-%201.0.5.2/init.sqf

for example

diag_log "Loading Epoch Compiled Functions";
call compile preprocessFileLineNumbers "\z\addons\dayz_code\init\variables.sqf";
diag_log "Loaded Variables";
progressLoadingScreen 0.1;
call compile preprocessFileLineNumbers "\z\addons\dayz_code\init\publicEH.sqf";
diag_log "Loaded Public Event Handlers";
progressLoadingScreen 0.2;
call compile preprocessFileLineNumbers "\z\addons\dayz_code\medical\setup_functions_med.sqf";
diag_log "Loaded Medical Functions";
progressLoadingScreen 0.4;
call compile preprocessFileLineNumbers "custom\code\defaultcompiles.sqf";
diag_log "Loaded Compiles";
progressLoadingScreen 0.5;
diag_log "Finished loading LoadingScreen 0-5";

and add that after every file thats loaded Itll spam the console but if its one of those it will stop sending debug logs at/before the file thats failed to load,

I'd first recommend to test the server with a fully default mission and server file, and if that works then try the above approach

vfrbgt commented 9 years ago

problem solved! in sytem requirments need add min RAM on server must be min 2GB else you get this error. thank you for help!

deannreid commented 9 years ago

Glad you fixed it :)