Difference between revisions of "Troubleshooting Game & Voice Services"

 
(14 intermediate revisions by the same user not shown)
Line 1: Line 1:
 
== Troubleshooting (Windows) ==
 
== Troubleshooting (Windows) ==
 
=== Running the Service with "Interact with Desktop" Enabled ===
 
=== Running the Service with "Interact with Desktop" Enabled ===
Interact with desktop is useful if you want to view the game/voice server's console. That way you can check for errors while it is starting up.
+
<span style="color:red">This feature is only supported by Windows Server 2016 and older. Windows Server 2019 does not have the interactive detection service anymore. On Windows Server 2016 "Interact with Desktop" is read-only.</span>
 +
 
 +
Interact with desktop is useful if you want to view the game/voice server's console while it's running with TCAdmin. That way you can check for errors while it is starting up.
  
 
This feature is enabled in the game settings. After enabling click on "Update Existing Services". Restart the game/voice service that you want to troubleshoot.
 
This feature is enabled in the game settings. After enabling click on "Update Existing Services". Restart the game/voice service that you want to troubleshoot.
 
If you only want to enable it on the service with issues follow these steps:
 
* Go to Game/Voice Services > Select the service > Click on Service Settings.
 
* Select the Templates tab. Next to "General Settings" select "Custom Settings".
 
* Select the General Settings tab.
 
* Check "Enable interact with desktop" and save.
 
* Restart the service for the changes to take effect.
 
  
 
The TCAdmin Service Browser is used to manage services from remote desktop:
 
The TCAdmin Service Browser is used to manage services from remote desktop:
Line 24: Line 19:
 
* Click on the Preview link next to Commandline.
 
* Click on the Preview link next to Commandline.
 
* Copy the command shown.
 
* Copy the command shown.
* Log in to remote desktop. Click on Start > Run. Paste the command and press enter.
+
* Log in to remote desktop.
 +
* Open a command prompt.
 +
* Paste the commands one by one.
 
* Check for errors while the game server is starting up.
 
* Check for errors while the game server is starting up.
 
[[File:CommandlineWindows.png]]
 
[[File:CommandlineWindows.png]]
  
After running the game server manually you might have to run the Repair tool in the game server's Actions tab. This will fix permissions on files created by Administrator.
+
'''After running the game server manually and fixing any errors you might have to run the Repair tool in the game server's Actions tab. This will fix permissions on files created by Administrator so the game server can be started by TCAGame.
 +
'''
 +
 
 +
* If the game server was starting correctly with TCAdmin, then suddenly stopped working but it runs manually you might have to apply the [[Recommended_Registry_Changes|recommended registry changes]]
 +
 
 +
 
 +
=== Running the Service with Remote Admin Module ===
 +
The Remote Admin module lets you troubleshoot a game server with a single click. If you don't have the Remote Admin module go to Settings > Plugin Repository > Modules and install it. If you are running Windows Server 2012 you need to install the specified requirements and reboot.
 +
 
 +
* Select the game server
 +
* Click on troubleshooting
 +
* Click on the remote desktop connection.
 +
 
 +
[[File:RemoteAdminTroubleshooting.png]]
  
 
== Troubleshooting (Linux) ==
 
== Troubleshooting (Linux) ==
Line 39: Line 49:
 
* Check for errors while the game server is starting up.
 
* Check for errors while the game server is starting up.
 
[[File:CommandlineLinux.png]]
 
[[File:CommandlineLinux.png]]
 +
=== Checking the log from the screen command ===
 +
If the game has "Control console output" checked you can find a log file in /home/(TCAGameUser)/_Launchers/Console_(ServiceId).log. This log can show you why the game server is not starting. For example if the service is is 21:
 +
cat /home/tcagame_svc21/_Launcher/Console_21.log

Latest revision as of 22:31, 29 January 2023

Troubleshooting (Windows)

Running the Service with "Interact with Desktop" Enabled

This feature is only supported by Windows Server 2016 and older. Windows Server 2019 does not have the interactive detection service anymore. On Windows Server 2016 "Interact with Desktop" is read-only.

Interact with desktop is useful if you want to view the game/voice server's console while it's running with TCAdmin. That way you can check for errors while it is starting up.

This feature is enabled in the game settings. After enabling click on "Update Existing Services". Restart the game/voice service that you want to troubleshoot.

The TCAdmin Service Browser is used to manage services from remote desktop:

  • Log in to your server's remote desktop. if your server is running Windows XP/2003 you need to add /admin your Remote Desktop Connection shortcut so it connects to the main desktop.
  • Click on Start > Programs > TCAdmin > Service Browser
  • Select the service. Then click on the "Show Interactive Service" toolbar button.
  • The service's console should be visible so you can troubleshoot it. If your server is running Windows 7/2008 you should see a prompt asking if you want to view a message from an interactive service. Click on "Show the message".

InteractWithDesktop.png

Running the Service Manually

You can stop the service in TCAdmin and start it manually from remote desktop so you can see any errors:

  • Go to Game/Voice Services > Select the service > Click on Service Settings.
  • Click on the Preview link next to Commandline.
  • Copy the command shown.
  • Log in to remote desktop.
  • Open a command prompt.
  • Paste the commands one by one.
  • Check for errors while the game server is starting up.

CommandlineWindows.png

After running the game server manually and fixing any errors you might have to run the Repair tool in the game server's Actions tab. This will fix permissions on files created by Administrator so the game server can be started by TCAGame.

  • If the game server was starting correctly with TCAdmin, then suddenly stopped working but it runs manually you might have to apply the recommended registry changes


Running the Service with Remote Admin Module

The Remote Admin module lets you troubleshoot a game server with a single click. If you don't have the Remote Admin module go to Settings > Plugin Repository > Modules and install it. If you are running Windows Server 2012 you need to install the specified requirements and reboot.

  • Select the game server
  • Click on troubleshooting
  • Click on the remote desktop connection.

RemoteAdminTroubleshooting.png

Troubleshooting (Linux)

Running the Service Manually

You can stop the service in TCAdmin and start it manually from ssh so you can see any errors:

  • Go to Game/Voice Services > Select the service > Click on Service Settings.
  • Click on the Preview link next to Commandline.
  • Copy the commands shown.
  • Paste the commands in your ssh session.
  • Check for errors while the game server is starting up.

CommandlineLinux.png

Checking the log from the screen command

If the game has "Control console output" checked you can find a log file in /home/(TCAGameUser)/_Launchers/Console_(ServiceId).log. This log can show you why the game server is not starting. For example if the service is is 21:

cat /home/tcagame_svc21/_Launcher/Console_21.log
Retrieved from "https://help.tcadmin.com/index.php?title=Troubleshooting_Game_%26_Voice_Services&oldid=2532"