GameServerManagers / LinuxGSM

The command-line tool for quick, simple deployment and management of Linux dedicated game servers.
https://linuxgsm.com
MIT License
4.25k stars 813 forks source link

[gmodserver] Can't restart the Server via Cronjob and console #1738

Closed xopez closed 6 years ago

xopez commented 6 years ago

As the title says, I can't restart it anymore with cronjob. I had a second installation with the same gamefiles done, but I removed the files from the second one only. Don't know if thats the reason. Cronjob on Plesk gives me:

can't find pane =gmodserver

A restart on the console is also not working for me anymore. I can access the server with "./gmodserver console" and quit it there. Starting is running normal for me except that the console logfile (Path for me: /home/ttt/log/console/) is empty.

Console output:


ttt@mightful-noobs:~$ ./gmodserver restart
[ERROR ] Stopping gmodserver: Graceful: sending "quit": FAIL
[  OK  ] Stopping gmodserver: Mightful Noobs | TTT | Whitelisted | 24/7 | With TS3-Bridge
[  OK  ] Update gmodserver: Checking for update: SteamCMD: No update available

No update available:
        Current version: 2303546
        Available version: 2303546
        https://steamdb.info/app/4020/

can't find pane =gmodserver
[  OK  ] Starting gmodserver: Mightful Noobs | TTT | Whitelisted | 24/7 | With TS3-Bridge
ttt@mightful-noobs:~$ ./gmodserver dt

Distro Details
=============================================================================================================================================================================================================================================
Distro:    Ubuntu 16.04.3 LTS
Arch:      x86_64
Kernel:    4.4.0-98-generic
Hostname:  mightful-noobs.de
tmux:      tmux 2.1
GLIBC:     2.23

Performance
Uptime:    27d, 4h, 36m
Avg Load:  0.61, 0.58, 0.58

Mem:       total   used   free     cached
Physical:  15G     1.6G   278M     204M
Swap:      8.0G    98M    7.9G

Storage
=============================================================================================================================================================================================================================================
Filesystem:      /dev/md2
Total:           1008G
Used:            27G
Available:       930G
LinuxGSM Total:  11G
Serverfiles:     7.6G

Garry's Mod Server Details
=============================================================================================================================================================================================================================================
Server name:      Mightful Noobs | TTT | Whitelisted | 24/7 | With TS3-Bridge
Server IP:        5.9.139.203:27015
Server password:  NOT SET
RCON password:    ********************
Maxplayers:       20
Game mode:        terrortown
Tick rate:        66
Status:           ONLINE

gmodserver Script Details
=============================================================================================================================================================================================================================================
Service name:           gmodserver
gmodserver version:     171014
User:                   ttt
GLIBC required:         2.15
Discord alert:          off
Email alert:            off
Pushbullet alert:       off
IFTTT alert:            off
Mailgun (email) alert:  off
Pushover alert:         off
Telegram alert:         off
Update on start:        on
Location:               /home/ttt
Config file:            /home/ttt/serverfiles/garrysmod/cfg/gmodserver.cfg

Backups
=============================================================================================================================================================================================================================================
No Backups created

Command-line Parameters
=============================================================================================================================================================================================================================================
./srcds_run -game garrysmod -strictportbind -ip 5.9.139.203 -port 27015 -tickrate 66 +host_workshop_collection 600164891 -authkey ******************* +clientport 27005 +tv_port 27020 +gamemode terrortown +map ttt_skyscraper +sv_setsteamaccount ************************ +servercfgfile gmodserver.cfg -maxplayers 20 +r_hunkalloclightmaps 0

Ports
=============================================================================================================================================================================================================================================
Change ports by editing the parameters in:
gmodserver

Useful port diagnostic command:
netstat -atunp | grep srcds_linux

DESCRIPTION  DIRECTION  PORT   PROTOCOL
> Game/RCON  INBOUND    27015  tcp/udp
> SourceTV   INBOUND    27020  udp
< Client     OUTBOUND   27005  udp

Status: ONLINE
UltimateByte commented 6 years ago

I assume it's related to https://github.com/GameServerManagers/LinuxGSM/commit/14efacbdaca024630331468164fe57097cb46497#commitcomment-26327263

I assume it was hotfixed a few minutes ago https://github.com/GameServerManagers/LinuxGSM/commit/989014a93579e35a3ef93621a41a96277a2d74cd

./gmodserver uf

will probably solve the issue.

xopez commented 6 years ago

Did it and it's now working again. Closing the issue cause it's gone. Thanks for your help

lock[bot] commented 5 years ago

This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.