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

Compare with Current View Page History

« Previous Version 3 Next »

Apache errors

If there are problems with an Apache web server, you may see one or more of the following errors in the License Statistics log file:

[2012-04-01 08:0:00] FAIL: Unable to start apache web server! 

[2012-04-01 08:00:00] FAIL: Apache manager error: Unable to connect to licstat:8080 web server! 

[2012-04-01 08:00:00] FAIL: Apache is not responding to HTTP requests! 

You can investigate the cause of these errors using the following steps.

  1. Start License Statistics in debug mode. (See our Knowledgebase articleEnabling License Statistics debug logs for troubleshootingfor instructions on enabling debug mode.) 
  2. Locate the command used to start the Apache web server in the xflicstat.log file; for example: 

    [2012-04-01 08:00:00] XF_DEBUG: Starting Apache web server process: X:\licstat\apache\bin\httpd.exe -f "X:\licstat\apache\conf\httpd.conf" -d "X:\licstat\apache" 
  3. Using this command, manually start the Apache web server and note any errors that occur.

"Unable to open http server on port" error

The License Statistics Usage Monitor is configured by default to use port 80 for the http server, which is used to display the statistics HTML pages in the browser. If this port (or another port you specified in the configuration file) is already being used by another application, you will see an error similar to the following:

[2009-05-04 14:35:40] WARNING: Cannot bind on TCP 0.0.0.0:80! Make sure no other applications use this port!
[2009-05-04 14:35:40] FAIL: Unable to open http server on port 80!
[2009-05-04 14:35:40] Shutting down due to exit signal
[2009-05-04 14:35:40] Starting monitor of 27000@localhost with query interval of 60 seconds!
[2009-05-04 14:35:40] Stopping monitor of 27000@localhost!


To resolve this, either free up the port by ending the applications that are using it, or try changing the port setting in the configuration file (xflicstat.cfg) to WEBSERVER_PORT=8080. Restart the Usage Monitor after making changes to the configuration file, and recheck the log file to ensure the error is resolved.

  • No labels