Difference between revisions of "Common Errors"
(→Linux) |
|||
Line 7: | Line 7: | ||
== Windows == | == 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: | ||
+ | # Create a text file named ServerDomain.txt in the TCAdmin2\Monitor folder. The file should have a single line with the name of the server's domain. | ||
+ | |||
=== Form of the specified string is not suitable for e-mail address === | === Form of the specified string is not suitable for e-mail address === | ||
− | This is caused by an invalid configuration in IIS | + | This is caused by an invalid configuration in IIS: |
# Log in to your server's remote desktop. | # Log in to your server's remote desktop. | ||
# Go to Start > Administrative Tools > IIS Manager. | # Go to Start > Administrative Tools > IIS Manager. |
Revision as of 18:03, 30 August 2011
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.
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:
- Create a text file named ServerDomain.txt in the TCAdmin2\Monitor folder. The file should have a single line with the name of the server's domain.
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.
Linux
Too many open files
Execute the following commands and you will see a certain limit set for the number of open files.
su tcadmin ulimit -n
To increase this limit add the following lines to the end of /etc/security/limits.conf
tcadmin soft nofile 10240 tcadmin hard nofile 10240
To see if the new limits are applied execute the following commands.
su tcadmin ulimit -Hn ulimit -Sn
Restart the monitor for the changes to take effect.
If your game servers have the same error message you will have to do the same steps for tcagame
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.2/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
Error running gmcs: Cannot find the specified file
Create a symlink to gmcs in the /usr/bin folder with this command:
ln -s /opt/mono-2.10.2/bin/gmcs /usr/bin/gmcs