i'm already running on cmd, i'm running on linux, but its a VPS, the connection was closed, i cant see the terminal no moreYou can run the server on cmd to see the crash before the server close
![]()
TFS 1.X+ - Console crash log
Hi, so my console is crashing and it's closing way faster then I can read the error message, is there somehow a way to see the crash log? Or maybe not let it close so that I can actually read the error?otland.net
![]()
Lua - Server is crashing right after Server Save
Is there another method or something I can do? It crashes randomly like, once every 5 days or so... Here is the code: local config = { broadcast = {120, 30}, shallow = "no", delay = 120, events = 30 } config.shallow = getBooleanFromString(config.shallow) local function...otland.net
i'm already running on cmd, i'm running on linux, but its a VPS, the connection was closed, i cant see the terminal no more
there is no logs? (i'm using 0.4)
#!/bin/bash
ulimit -c unlimited
while true; do ./tfs --log-file "output.txt" "error.txt"; done
gdb tfs core
bt full
Install gdb and then launch your server like this:
Code:#!/bin/bash ulimit -c unlimited while true; do ./tfs --log-file "output.txt" "error.txt"; done
After crash, a dump will be generated in your server folder, to read the backtrace:
Code:gdb tfs core
and then
Code:bt full
#!/bin/bash
ulimit -c unlimited
while true; do ./tfs --log-file "output.txt" "error.txt"; done
i named a file with gdb.sh with:
Code:#!/bin/bash ulimit -c unlimited while true; do ./tfs --log-file "output.txt" "error.txt"; done
but after i close ssh with server the server shutdowns...
how to mantain it online?
screen -s otserver
screen -r otserver
sudo apt-get install screen
Code:screen -s otserver
Then run it
To close the screen use CTRL + A and CTRL + C, and to resume it:
Code:screen -r otserver
Maybe you'll need to install screen first.
Code:sudo apt-get install screen