Bug 652229 - Apache start, stop, restart, etc. operations do not pass "-d serverroot" or "-f config" command line options
Summary: Apache start, stop, restart, etc. operations do not pass "-d serverroot" or "...
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: RHQ Project
Classification: Other
Component: Plugins
Version: 4.0.0
Hardware: All
OS: All
high
high
Target Milestone: ---
: ---
Assignee: Lukas Krejci
QA Contact: Corey Welton
URL:
Whiteboard:
Depends On:
Blocks: jon30-bugs
TreeView+ depends on / blocked
 
Reported: 2010-11-11 12:32 UTC by Lukas Krejci
Modified: 2011-05-24 01:11 UTC (History)
4 users (show)

Fixed In Version:
Clone Of: 617218
Environment:
Last Closed: 2011-05-24 01:11:23 UTC
Embargoed:


Attachments (Terms of Use)

Description Lukas Krejci 2010-11-11 12:32:18 UTC
This is a clone of bug 617218 to track its resolution in RHQ 4.

Comment 1 Lukas Krejci 2010-11-11 12:50:00 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.

Comment 2 Sunil Kondkar 2010-12-10 13:46:06 UTC
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 )

Comment 3 Corey Welton 2011-05-24 01:11:23 UTC
Bookkeeping - closing bug - fixed in recent release.

Comment 4 Corey Welton 2011-05-24 01:11:23 UTC
Bookkeeping - closing bug - fixed in recent release.


Note You need to log in before you can comment on or make changes to this bug.