Difference between revisions of "Troubleshooting screen"

From Larnitech wiki page
Jump to navigation Jump to search
m
(Blanked the page)
Tag: Blanking
Line 1: Line 1:
==Screen commands==
 
Найти скрины: <code> screen -ls </code><br>
 
Подключиться к скрину: <code> screen -rDx <ID> </code> (ИД скрина)<br>
 
Выйти из скрина: <code> ctrl+A+D </code><br>
 
Команды внутри скрина:
 
* up - АП в консоль
 
* pn - новые устройства
 
* co - версия
 
* ti - время
 
* (-)it - обновить интерфейс (не понятно какой)
 
* bu - дата компиляции сервера
 
* qu - перезагрузить сервер
 
* pl - включеные плагины
 
* reboot - полный перезапуск сервера
 
  
==Screen restart==
 
# Enter in console <code>qu</code>, wait for "CLOSE" in logs and press <code>ctrl+c</code> (it will close old сonsole).
 
# <code>cd /home/sh2 </code>
 
# <code> screen -c screen.run </code>
 
 
==Console doesn't work (or even server doesn't work, for example, with errors "onThreadCrash 6", "unknown: Treads")==
 
#End screen session: <code>crtl+c</code> in the screen.
 
#Run new session: <code>screen -c /home/sh2/screen.run</code>
 
#Connect screen with console: <code>screen -r ID</code>, where ID - session ID (<code>screen -ls</code>)
 
#Do "Full restart"
 

Revision as of 15:23, 27 February 2024