Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

You can attempt to start Apache manually using the following command:

Code Blocknoformat
LD_LIBRARY_PATH="/usr/xflicstat/apache/lib" /usr/xflicstat/apache/bin/httpd 
-f /usr/xflicstat/apache/conf/htttpd.conf -d /usr/xflicstat/apache

...

If you use RedHat/CentOS for running LicenseStatistics, and Apache does not start, check the xflicstat.log file. If you see warnings such as "Waiting for httpd process, which takes longer than usual..." the problem is likely due to a configuration problem. RedHat/CentOS distributions often do not have a "nogroup" group, which is configured by default. To fix this, edit the /usr/xflicstat/apache/conf/httpd.conf file as follows:

Code Blocknoformat
User nobody
Group nobody

Apache is not starting when launching License Statistics as a non-root user

If Apache does not start when you attempt to launch License Statistics as a non-root user, and the log contains "Permission denied" warnings like those shown in the example below, this indicates a permissions problem.

Code Blocknoformat
[Mon Feb 06 09:29:31 2012] [error] [client 127.0.0.1] (13)Permissiondenied: access to / denied
[Mon Feb 06 09:32:18 2012] [error] [client 127.0.0.1] (13)Permissiondenied: access to /index.php denied

...

If you want to manually configure Apache, you can edit the configuration files located in /usr/xflicstat/apache/conf. The Apache log files are: 

Code Blocknoformat
/usr/xflicstat/log/apache_access.log
/usr/xflicstat/log/apache_error.log