Dayz-Epoch-Linux-Server icon indicating copy to clipboard operation
Dayz-Epoch-Linux-Server copied to clipboard

crash server after mission laoded

Open vfrbgt opened this issue 10 years ago • 7 comments

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.

vfrbgt avatar Oct 23 '14 04:10 vfrbgt

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.

deannreid avatar Oct 24 '14 03:10 deannreid

no more logs, simple crash server after map loaded(

vfrbgt avatar Nov 10 '14 00:11 vfrbgt

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

deannreid avatar Nov 10 '14 15:11 deannreid

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

vfrbgt avatar Nov 10 '14 19:11 vfrbgt

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

deannreid avatar Nov 11 '14 16:11 deannreid

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

vfrbgt avatar Nov 13 '14 01:11 vfrbgt

Glad you fixed it :)

deannreid avatar Nov 13 '14 15:11 deannreid