You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 9 Next »

Embedded MySQL server troubleshooting 

During the License Statistics evaluation, you may have License Statistics temporarily running on a machine that does not meet the minimum system requirements. In such cases where there is not enough memory on the machine hosting the License Statistics installation, the MySQL server may not start properly the first time you start License Statistics, which will produce warnings similar to the following in the xflicstat.log file:

[2012-12-12 08:00:01] WARNING: Waiting for mysqld process to start which takes more time than usual... 

You can check whether insufficient memory is the problem by looking at the MySQL server log file, which can be found in one of the following directories: 

..\License Statistics\log\mysql.log 
..\License Statistics\mysql_x86\data{color}hostname.err (for 32-bit database) 
..\License Statistics\mysql_x64\data{color}hostname.err (for 64-bit database) 

where hostname is the hostname of the machine where License Statistics is installed. 

If you see messages similar to the following in the MySQL server log, there is an issue with the host memory:

120503 15:27:16 InnoDB: Initializing buffer pool, size = 1.5G 
InnoDB: VirtualAlloc(1631846400 bytes) failed; Windows error 8 

To resolve this issue, you can try lowering the memory requirement in the config.ini file by changing the innodb_buffer_pool_size setting to the desired value; for example, to 1024M or as low as 512M, depending on available resources.

This setting may be changed only for testing purposes (for example, during evaluation). The proper solution is to install License Statistics on a machine that meets system requirements. Note that lowering the innodb_buffer_pool_size setting may decrease the performance of License Statistics, causing it to run slower.

Unable to write database error

When running License Statistics, you may see something similar to the following in the License Statistics log:

[2007-08-20 15:47:09] Ready for querying...
[2007-08-20 15:47:09] Starting monitor of @btpssrv017!
[2007-09-13 23:02:00] FAIL: Unable to write database for vendor adskflex!


This error is usually caused by a 3rd party application, such as antivirus or backup software, locking the database files.

Try the following steps to troubleshoot the problem, checking after each step to see whether the problem is resolved and proceeding to the next step if necessary:

  1. Temporarily disable any antivirus or backup software and check to see whether it resolves the problem.
  2. If the problem is not resolved, disable any other software that could potentially do file locking on the database files.
  3. If the problem still is not resolved, use a process monitor to observe any file locking that is occurring to identify what is locking the files.

Lost connection to MySQL server during query

When using License Statistics with an external MySQL database, you may see the following error message:

Lost connection to MySQL server during query.

The above message indicates that your MySQL server settings should be adjusted. To resolve this issue, follow the configuration instructions described in Using an external MySQL database. You can also find more information about this problem in the MySQL reference manual.


  • No labels