LinuxGSM icon indicating copy to clipboard operation
LinuxGSM copied to clipboard

[Bug]: cs2server. Monitor will fail when server is actually on. Then it will send quit and restart server.

Open tk1114632 opened this issue 2 months ago • 0 comments

User story

Need help to fix.

Game

cs2server

Linux distro

Ubuntu 22.04

Command

command: monitor

Further information

Monitor will fail when server is actually on. Then it will send quit and restart server.

Log shows: "PIDS with old type tmux session are running." What is it meaning?

image

Relevant log output

Script log:

May 02 20:33:19.085 cs2server-2: MONITOR: INFO: Checking session: CHECKING
May 02 20:33:19.297 cs2server-2: MONITOR: ERROR: Checking session: ERROR
May 02 20:33:19.298 cs2server-2: MONITOR: ERROR: Checking session: PIDS with old type tmux session are running
May 02 20:33:19.298 cs2server-2: MONITOR: ERROR: Checking session: Killing session with the session name cs2server-2
May 02 20:33:20.971 cs2server-2: STOP: INFO: Graceful: sending "quit"
May 02 20:33:25.678 cs2server-2: STOP: PASS: Graceful: sending "quit": OK: 3 seconds
May 02 20:33:26.182 cs2server-2: STOP: INFO: tmux kill-session: cs2server-2: Flaming Rose
May 02 20:33:27.289 cs2server-2: STOP: PASS: Stopped Flaming Rose
May 02 20:33:28.327 cs2server-2: START: INFO: Using anonymous Steam login
May 02 20:33:29.036 cs2server-2: START: INFO: Rotating log files

Steps to reproduce

  1. crontab: * * * * * ~/cs2server-X m
  2. After server runs for random period, server is restarted by monitor.

tk1114632 avatar May 10 '24 10:05 tk1114632