Troubleshooting the sensor

This topic describes common problems that occur with the Apache sensor and presents solutions for those problems.

Discovery error with cannot execute httpd

Problem
A discovery error states cannot execute httpd, but the Agile Service Manager service account can run the httpd process manually.

The session sensor tries each appropriate access list credential until one works. When one access list credential works, the session sensor stops trying. Therefore, the first access list credential that works must be able to run the httpd process.

Solution
Try using scope restrictions with a reordered access list to force the correct account to be used to discover the Apache server.

Apache sensor fails with error CTJTD0072E

Problem
The Apache sensor uses the httpd -V command to get the root directory, configuration file, and other information related to the Apache server. If the httpd -V command fails, the sensor also fails.
Solution
Use the com.collation.discover.agent.ApacheServerAgent.CmdPrefix property to specify a command to run before the httpd -V command is run.

Many fields in the Details panel are empty

Problem
A number of fields in the Details panel are empty.
Solution
The service account cannot read the http.conf file. Make the http.conf file publicly readable, or add the service account to a group that has read access to the http.conf file.