Common Errors

Revision as of 12:56, 13 August 2011 by TCAWiki (talk | contribs) (→‎Linux)

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

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.

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
Retrieved from "https://help.tcadmin.com/index.php?title=Common_Errors&oldid=450"