Bug 697585
Summary: | RHQ/JON cannot find httpd executable path for a default EWS Apache installation | ||
---|---|---|---|
Product: | [Other] RHQ Project | Reporter: | dsteigne |
Component: | Plugins | Assignee: | Lukas Krejci <lkrejci> |
Status: | CLOSED CURRENTRELEASE | QA Contact: | Mike Foley <mfoley> |
Severity: | high | Docs Contact: | |
Priority: | high | ||
Version: | 1.3.1 | CC: | hrupp, lkrejci, loleary, skondkar |
Target Milestone: | --- | ||
Target Release: | JON 3.0.0, RHQ 4.3.0 | ||
Hardware: | Unspecified | ||
OS: | Unspecified | ||
Whiteboard: | |||
Fixed In Version: | Doc Type: | Bug Fix | |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | Type: | --- | |
Regression: | --- | Mount Type: | --- |
Documentation: | --- | CRM: | |
Verified Versions: | Category: | --- | |
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
Cloudforms Team: | --- | Target Upstream Version: | |
Embargoed: | |||
Bug Depends On: | |||
Bug Blocks: | 678340, 745494 |
Description
dsteigne
2011-04-18 16:45:42 UTC
While after unzipping the EWS installation ZIP, the apachectl script does contain the relative path, the path gets replaced by a full path after completing the installations steps: http://docs.redhat.com/docs/en-US/JBoss_Enterprise_Web_Server/1.0/html/Installation_Guide/sec-Configuring_the_Environment-Linux-ZIP.html namely the step 3.13. Debbie, how did you install your EWS so that I can try and replicate this? Lukas, Step 3.13 was not performed. Which would explain why the path was not absolute. Seems like this bug can be closed as WORKSFORME with an explanation that step 3.13 of the EWS installation guide must be performed in order for the Apache instance of EWS to be discoverable. As Larry outlined above, this is not really a bug. Nevertheless, I improved the warning we output to logs so that it is more clear what the symptoms might be. We ARE able to detect the full path of the executable even if httpd was started with a relative path as long as the user running the agent has enough privs to read the commadline params of the httpd process. master: a88a1fe19b338d09f593bd6ebeaa5313bf7264e7 release_jon3.x: 4f157acecc7a902bf9ff431c8031314652fdff1f BZ 697585 - A better warning message if an absolute path of httpd executable can't be established + a little bit of paranoia when trying to figure out the absolute path. Verified on build#18 in rhq-release-gwt-locales branch. Started the default EWS Apache instance <EWS_HOME>/httpd/sbin/apachectl (without completing the installations step 3.13) Verified that the EWS apache instance is discovered and shows the full executable path as "/install/ews/jboss-ews-1.0/httpd/sbin/httpd" in connection settings. marking VERIFIED JON 3 bugs to CLOSED/CURRENTRELEASE changing status of VERIFIED BZs for JON 2.4.2 and JON 3.0 to CLOSED/CURRENTRELEASE |