• There is NO official Otland's Discord server and NO official Otland's server list. The Otland's Staff does not manage any Discord server or server list. Moderators or administrator of any Discord server or server lists have NO connection to the Otland's Staff. Do not get scammed!
  • 2026 staff recruitment is open! Check it out and consider applying!

Solved Close Putty = Server/Website Offline

Extrodus

|| Blazera.net ||
Joined
Dec 22, 2008
Messages
2,691
Solutions
7
Reaction score
549
Location
Canada
Recently set up linux and when I try to do Ctrl + A + D it does not detach from ./theforgottenserver screen and when I close out of PuTTY black cmd it disconnects server + website.

Does anybody know why this happens? I dont want to have to keep it open 24/7 and if my home computer closes putty then server on dedicated goes offline.. I want to be able to have everything on dedicated run even if my home computer is offline.

Regards,
Extrodus
 
I am a freaking newb, its because I typed "./theforgottenserver" instead of typing "screen ./theforgottenserver" - been a few months..

But the problem I am having still persists, turns out it was not me closing putty that causes it.. but it is the server kicking players out and then they can only access the character list. Which doesn't make sense when players were just logged in, then without anything being run it kicks them out.
 
You should use:
screen ./theforgottenserver - start server
screen -x - show screen
ctrl + A D - detach from showed screen
 
I'm using this to start my server on Linux;
cd
screen -A -S tfs
cd /YOUR/SERVER
while true; do ./theforgottenserver; done

Then if you want to get to the screen use this;
screen -r tfs

and screen -d SOMETFS to detatch the screen, this works fine for me! :) Hope it helps you out! (So Im using to cd don't know why but works! :D)
 
Back
Top