Common Errors

From TCAdmin 2.0 Documentation
Jump to: navigation, search



Slow MySQL Connections

This usually happens when it takes a long time for the MySQL server to resolve the client's IP. To fix this you must add the following line to your MySQL server's my.ini under [mysqld]:


If you run MySQL on the same server use to connect instead of the public IP.

Starting/Stopping a Service is Slow

This is usually caused by having uPnP support enabled and the server is not behind a router or firewall with uPnP enabled. Select the server. In the Router/Firewall tab uncheck "Enable support for uPnP port forwarding". Restart the monitor service. Wait 10 seconds and restart the service manager service.

401 Error/Slow Access to Services

If you get this error while accessing a game server located on the master this usually means there is an error when verifying your license. Go to System > About. If there was an error updating your license you will see the error message there.

If you get this error while accessing a game server located on a remote this usually means the remote can't connect to the master. Make sure you can view https://masterip:secureport/Monitor using the server's browser. On Linux you can use wget. It is normal to get a security warning when doing this.

Error - Cannot find central directory

This error means the zip file that TCAdmin is trying to extract is corrupt or it is not a standard zip file.

Server did not recognise the value of HTTP header SOAPAction

This means one of your remote servers is not running the same version as the master. Go to Servers and click on Show Versions. Do a manual update on servers that have a different version.

Web console doesn't work on some PCs

Bitdefender has been known to cause a white page when viewing the log viewer. Try disabling the built in browser protection. AVG users turn off "Online Shield".

The server with id '2' does not exist.

This usually happens when the remote server is configured to connect to an empty mysql database. It needs to connect to the master's database.

Web console does not scroll automatically when using Cloudflare

Disable Brotli in your Cloudflare configuration. Brotli.png

Can't connect to MySQL server on 'x.x.x.x' (10061): Authentication failed.

Add this to your mysql server's my.ini or my.cnf under [mysqld]:


Restart MySQL then create a new mysql user for TCAdmin.


Could not load file or assembly 'TCAdmin.Helper'

Your server is member of an active directory domain and you get this error when the monitor is starting the control panel website. To fix this error:

  • Open a command prompt. Execute this command. Fix the path to TCAdmin2\Monitor as needed:
echo %USERDOMAIN% > "C:\Program Files\TCAdmin2\Monitor\ServerDomain.txt"
  • Restart the TCAdmin Monitor service.

An error occurred while attempting to impersonate. Execution of this request cannot continue

Same as above.

Services have StartError or Error status after restarting Windows

This is fixed by increasing the page file size.

System.OutOfMemoryException: Exception of type 'System.OutOfMemoryException' was thrown.

This is fixed by increasing the page file size.

Form of the specified string is not suitable for e-mail address

This is caused by an invalid configuration in IIS:

  1. Log in to your server's remote desktop.
  2. Go to Start > Administrative Tools > IIS Manager.
  3. Select the server node on the left.
  4. Double click on the "SMTP E-mail" icon.
Set E-mail address blank
Check Deliver e-mail to SMTP server
Set SMTP Server blank.
Use localhost unchecked
Port 25
Autentication Settings: Not required.

"steam validation rejected" or "Running in LAN mode only" when starting source games

Installing steam client onto the dedicated box, it tricks srcds.exe to try and login to the account that was linked to the steam client install, thus causing the servers to run in local only as it cant verify the game.
Solutions, fix
Uninstall steam client from the machine, and then follow with running regedit from the start menu or run. search for the term "steam" and remove all "valve" steam related directories.

Thanks to for the information

System.IO.FileNotFoundException: Could not load file or assembly 'TCAdmin.WebServer, Version=2.0.XX.0 ....'

Make sure the following folder exists:

Windows 32bit
C:\Windows\Microsoft.NET\Framework64\v2.0.50727\Temporary ASP.NET Files
Windows 64bit
C:\Windows\Microsoft.NET\Framework64\v2.0.50727\Temporary ASP.NET Files

Method not found: 'Void System.Web.UI.HtmlControls.HtmlForm.set_Action(System.String)'.

This happens when you don't have the .NET 3.5 service pack installed. Run Windows Update and install all .NET updates that are available.

TCAdmin can't start game servers and the server is member of a domain

If you are running TCA on a Domain Member server, do the following:

  • Open Control Panel -> Administrative Tools -> Local Security Policy
  • In the right-pane, expand Security Settings -> Local Policies -> User Rights Assignment
  • Scroll down in the left-pane until you find "Log on as a batch job", right-click on it then left-click on Properties
  • Add "TCAdmin Game Users" to the policy then click OK
  • Close out of the editor, the changes will take effect within the next 15 minutes, or directly after a reboot.

If you are running TCA on a Domain Controller:

  • Open Control Panel -> Administrative Tools -> Group Policy Management (GMPC)
  • Create a new Group Policy Object (GPO)
  • Link that GPO to the Active Directory (AD) Organizational Unit (OU) where your domain controller is located
  • Edit the GPO that was just created.
  • In the right-pane, expand Computer Configuration -> Policies -> Windows Settings -> Security Settings -> Local Policies -> User Rights Assignment
  • Scroll down in the left-pane until you find "Log on as a batch job", right-click on it then left-click on Properties
  • Add "TCAdmin Game Users" to the policy then click OK
  • Close out of the Editor
  • Close out of the GPMC
  • If you have multiple Domain Controllers, wait 15 minutes for replication (or longer if your replication settings are not set to default)
  • Open a Command Prompt as an Administrator
  • Run the following command: gpupdate.exe /force /sync
  • At both prompts select N for no
  • Once completed, close out of the Command Prompt
  • That should do it... if it does not work, give it 15 minutes then try again, or just reboot.
  • The gpupdate command may need to be run on each domain controller that TCA is running on.
  • The new GPO can be applied to member servers as well to resolve this issue using GPMC, or the above method can be used.


Not all CPUs are detected by TCAdmin

Edit /home/tcadmin/Monitor/tcadmin-config. Change this line:



export NUMBER_OF_PROCESSORS=`cat /proc/cpuinfo | grep "processor\s*:\s*" | wc -l`

or just set the number of processors directly:


Errors: 'Too many open files', 'Resource temporarily unavailable', 'Could not create thread', 'Thread abort', 'MonoError reused after mono_error_cleanup'

Add these lines to /etc/security/limits.conf:

tcadmin soft nofile 102400
tcadmin hard nofile 102400
tcadmin soft nproc 102400
tcadmin hard nproc 102400
tcagame soft nofile 102400
tcagame hard nofile 102400
tcagame soft nproc 102400
tcagame hard nproc 102400

Restart the server for the changes to take effect.

Login form is not loaded correctly

This can happen when you are missing some dependencies. The mono installer should install them automatically but if it didn't you can check for missing dependencies with this command. Install them according to your distro:

ldd /opt/mono-2.10.8/lib/

On Debian this command should automatically install missing dependencies after installing mono:

apt-get install -f

After installing the missing dependencies restart your monitor:

/home/tcadmin/Monitor/monitor-service restart

Failed to create shadow copy .ini file.

This error usually means the partition where TCAdmin is installed or the /tmp folder does not have any space available. After freeing some space restart the monitor:

cd /home/tcadmin/Monitor/
monitor-service restart

Reqested font family not found

Install the msttcorefonts on the master. System_Requirements

This platform is not supported

This can happen when running a steam update or streaming logs. It can also cause the rounded borders to not render correctly. It happens when the file /proc/net/snmp does not exist. You can install it by executing these commands. On Debian/Ubuntu:

apt-get install snmpd

On CentOS:

yum install net-snmp net-snmp-utils

Then restart the monitor:

cd /home/tcadmin/Monitor
./monitor-service restart

Error writing request: The authentication or decryption has failed.

Fix this error by executing these commands. Replace 2.11.4 with the mono version that you are currently running.

/opt/mono-2.11.4/bin/mozroots --import --sync --quiet
/home/tcadmin/Monitor/monitor-service restart

Access to the path "/home/tcadmin/*" is denied.

Fix this error by executing these commands.

chown --recursive tcadmin:tcadmin /home/tcadmin
/home/tcadmin/Monitor/monitor-service restart

Communication errors between Linux monitors

If you see a connection error when you go to Servers and click on Show Versions or if the page freezes when trying to create a game server on the remote server:

  • Make sure both servers have Mono 4.8 or greater.
  • Edit /home/tcadmin/Monitor/tcadmin-config. Uncomment this line at the bottom and restart the monitor:
export MONO_TLS_PROVIDER=legacy
  • If the Mono versions are correct and you are still having issues try disabling keep alive in the router/firewall tab in both server's settings and restart both monitors.
  • Edit the master and remote's /home/tcadmin/Monitor/TCAdminMonitor.exe.config. Change the value of "TCAdmin.WebServices.KeepAlive" to False:
<add key="TCAdmin.WebServices.KeepAlive" value="False" />
  • If none of the above fix the error add this line to both server's /home/tcadmin/Monitor/TCAdminMonitor.exe.config under <appSettings>:
<add key="TCAdmin.ForceStandardPort" value="True" />

SMTP AUTH is required for message submission on port 587

  • On cPanel reset the Exim configuration to "Reset the entire Exim configuration to the default settings provided with cPanel & WHM".
  • Added the TCAdmin IP to "Trusted SMTP IP addresses".
  • Added the TCAdmin IP to "Whitelist: IP addresses that should not be checked against RBLs".

On TCadmin mail server settings:

  • SSL/TLS Mode: Disabled.
  • Server: cPanel IP or DNS.
  • Port: 587.
  • User: The email login.
  • Password: The email password.

Teamspeak 3

"Could not scan server" when submitting to

This is probably caused by an access denied error from the Teamspeak server. Follow these instructions to troubleshoot:


File manager upload/download works but web console/log streaming doesn't

  • Disable response buffering in your CloudFlare configuration.
  • If you use CloudFlare's free tier: In the CF control panel, click on the Speed Icon. Make sure that under Auto-Minify, HTML IS checked, Javascript unchecked. Goto Caching after that and purge the entire cache.
  • Railgun is known to affect streaming of logs and web console even if Cloudflare is not enabled in your TCAdmin subdomain.