Necrox Guy
Necroxia Online Support
- Joined
- Feb 18, 2009
- Messages
- 32
- Reaction score
- 0
Hello i have question, I'm running a server on Linux Ubuntu and lately it has been crashing randomly, so i wanted to know what do i have to do to make it so if restart auto when server crashes, also how to enable a report.txt or something like that where i can see a report of the crash or something like that to fix it
For the restart i have tried with
#!/bin/bash
ulimit -c unlimited
while true; do ./theforgottenserver; done
it only works but if i have the putty windows on my pc, but if i close or if i lose my Internet connection then it doesn't restart, so what can i do to make it restart when it crashes even if i dont have the putty windows on?
also for the report thing i have tried with this:
gdb TheForgottenServer core
but haven't worked neither it just says /forgotten/core: No such file or directory. and after crash nothing happens.
So, what can i do to make the server restart after crash and to see the crash report after that the server crashes?
Thanks~
For the restart i have tried with
#!/bin/bash
ulimit -c unlimited
while true; do ./theforgottenserver; done
it only works but if i have the putty windows on my pc, but if i close or if i lose my Internet connection then it doesn't restart, so what can i do to make it restart when it crashes even if i dont have the putty windows on?
also for the report thing i have tried with this:
gdb TheForgottenServer core
but haven't worked neither it just says /forgotten/core: No such file or directory. and after crash nothing happens.
So, what can i do to make the server restart after crash and to see the crash report after that the server crashes?
Thanks~