Common Errors
Contents
- 1 General
- 2 Windows
- 2.1 An error occurred while attempting to impersonate. Execution of this request cannot continue
- 2.2 Could not load file or assembly 'TCAdmin.Helper'
- 2.3 Services have StartError or Error status after restarting Windows
- 2.4 System.OutOfMemoryException: Exception of type 'System.OutOfMemoryException' was thrown.
- 2.5 Form of the specified string is not suitable for e-mail address
- 2.6 "steam validation rejected" or "Running in LAN mode only" when starting source games
- 2.7 System.IO.FileNotFoundException: Could not load file or assembly 'TCAdmin.WebServer, Version=2.0.XX.0 ....'
- 2.8 Method not found: 'Void System.Web.UI.HtmlControls.HtmlForm.set_Action(System.String)'.
- 3 Linux
- 3.1 Errors: 'Too many open files', 'Resource temporarily unavailable', 'Could not create thread'
- 3.2 Login form is not loaded correctly
- 3.3 Failed to create shadow copy .ini file.
- 3.4 Reqested font family not found
- 3.5 This platform is not supported
- 3.6 Error writing request: The authentication or decryption has failed.
- 4 Teamspeak 3
General
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]:
skip-name-resolve
If you run MySQL on the same server use 127.0.0.1 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 it.
Windows
An error occurred while attempting to impersonate. Execution of this request cannot continue
Your server has active directory enabled and you get this error when starting the monitor. 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.
Could not load file or assembly 'TCAdmin.Helper'
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:
- Log in to your server's remote desktop.
- Go to Start > Administrative Tools > IIS Manager.
- Select the server node on the left.
- 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
- Cause
- 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 unitservers.com 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.
Linux
Add these lines to /etc/security/limits.conf:
root soft nproc unlimited root hard nproc unlimited root soft nofile unlimited root hard nofile unlimited 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/libgdiplus.so
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:
apt-get install snmpd 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
Teamspeak 3
"Could not scan server" when submitting to GameTracker.com
This is probably caused by an access denied error from the Teamspeak server. Follow these instructions to troubleshoot: http://www.gametracker.com/games/ts3/forum.php?thread=42258