Bug 652229
Summary: | Apache start, stop, restart, etc. operations do not pass "-d serverroot" or "-f config" command line options | ||
---|---|---|---|
Product: | [Other] RHQ Project | Reporter: | Lukas Krejci <lkrejci> |
Component: | Plugins | Assignee: | Lukas Krejci <lkrejci> |
Status: | CLOSED CURRENTRELEASE | QA Contact: | Corey Welton <cwelton> |
Severity: | high | Docs Contact: | |
Priority: | high | ||
Version: | 4.0.0 | CC: | ian.springer, lkrejci, skondkar, tao |
Target Milestone: | --- | ||
Target Release: | --- | ||
Hardware: | All | ||
OS: | All | ||
Whiteboard: | |||
Fixed In Version: | Doc Type: | Bug Fix | |
Doc Text: | Story Points: | --- | |
Clone Of: | 617218 | Environment: | |
Last Closed: | 2011-05-24 01:11:23 UTC | 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: | 625146 |
Description
Lukas Krejci
2010-11-11 12:32:18 UTC
commit 5ce1dc4c9b797094381e76f592372a073b74bba2 Author: Lukas Krejci <lkrejci> Date: Thu Jul 22 18:26:30 2010 +0200 BZ 617218 - always passing in the -d <serverroot> -f <conf-file> as parameters to the apache control script so that a correct instance is acted upon. Verified on rhq-server-4.0.0-SNAPSHOT Build #824 1) Default config is at /etc/httpd 2) Copied it to new location /NotBackedUp/newapache/httpd.conf 3) In the new location, changed the ServerRoot in config file to point to yet another location --/NotBackedUp 4) In the new location, specified Listen:81 and "Include conf.d/*.conf" 5) Added a configuration file at the location defined as ServerRoot in conf file (at /NotBackedup/conf.d/test.conf) 6) Added ServerName and ServerAdmin directives in /NotBackedup/conf.d/test.conf Observed that the configuration specified in the yet-another-location is loaded by the plugin. The ServerAdmin and ServerName are displayed as defined in /NotBackedup/conf.d/test.conf Also did some operations like start, stop, restart, restart gracefully on apache resource from UI. These operations are successful and executed using the correct configuration file. (/NotBackedUp/newapache/httpd.conf ) Bookkeeping - closing bug - fixed in recent release. Bookkeeping - closing bug - fixed in recent release. |