[Researching] restart option shuts down but won't restart server

BlackDeath

New Member
Running 7DTD A18.2 with RAT 2040 with the hotfix - all lights are green for relative mods (bcmanager / allocs).

If I choose to restart the server, RAT will kindly countdown with relative shutdown messages however, once it shuts down it doesn't appear to ever start the server back up.

Initiated under the server settings tab - then the shutdown/restart button.

Debug info fwiw
```
RAT Debug Information
===================================
RAT 0.2.04.0 @ 2020/01/03 14:54:19
===================================
Installed Mod: 7 Days To Die (7DTD), Version: 18.1 8
Installed Mod: Allocs command extensions, Version: 20
Installed Mod: Allocs server fixes, Version: 23
Installed Mod: Allocs MapRendering and Webinterface, Version: 33
Installed Mod: Bad Company Manager, Version: 4.2.1 (18.1)
Enable Local Server: False
Remote Host & Port: localhost:8081
Server Port: 8081
Remote & Local Passwords Match: False
Local Server is Running: True
Telnet Connected: True
```
 

Trekkan

JFF Administrator
Staff member
See if the server process is actually shutting down... RAT simply issues a shutdown command and expects the server to shutdown. If it doesn't... then RAT can't start the server back up because its "running" already. I've heard of this before, but RAT isn't the problem, as it doesn't do anything but check the processes running, it doesn't actually connect to the server process itself.
 

Lothic

New Member
I can confirm this issue. I have RAT set to restart my server every 6hrs. It will work flawlessly the first time. Then on the next restart afterwards, it will not until I kill the server process manually and restart RAT, then it will work again for 1 restart. Not sure what the cause is but it happens every day.
 

Trekkan

JFF Administrator
Staff member
Running 7DTD A18.2 with RAT 2040 with the hotfix - all lights are green for relative mods (bcmanager / allocs).

If I choose to restart the server, RAT will kindly countdown with relative shutdown messages however, once it shuts down it doesn't appear to ever start the server back up.

Initiated under the server settings tab - then the shutdown/restart button.

Debug info fwiw
```
RAT Debug Information
===================================
RAT 0.2.04.0 @ 2020/01/03 14:54:19
===================================
Installed Mod: 7 Days To Die (7DTD), Version: 18.1 8
Installed Mod: Allocs command extensions, Version: 20
Installed Mod: Allocs server fixes, Version: 23
Installed Mod: Allocs MapRendering and Webinterface, Version: 33
Installed Mod: Bad Company Manager, Version: 4.2.1 (18.1)
Enable Local Server: False
Remote Host & Port: localhost:8081
Server Port: 8081
Remote & Local Passwords Match: False
Local Server is Running: True
Telnet Connected: True
```
I noticed a couple of things here. Specifically the highlighted options. You must check "Enable Local Server", otherwise you're telling RAT that anything that would touch the server locally (backups, restarts, etc), don't do. That the Remote and Local Passwords do not match, also says that you're not starting your server with RAT. That's actually ok, but it means you aren't using RAT to configure your local server. Which again is ok, but somewhat odd if you want RAT to manage your server.

You'll also want to make sure you have "Keep Alive" checked as well.
 

Trekkan

JFF Administrator
Staff member
I can confirm this issue. I have RAT set to restart my server every 6hrs. It will work flawlessly the first time. Then on the next restart afterwards, it will not until I kill the server process manually and restart RAT, then it will work again for 1 restart. Not sure what the cause is but it happens every day.
This is slightly different in that you're saying it works the first time and then not again. I'll check into that, but also make sure you have Keep Alive checked.
 
Top