Bug 243740
Summary: | Apache resource agent script is not starting httpd | ||
---|---|---|---|
Product: | Red Hat Enterprise Linux 5 | Reporter: | Kyle Gonzales <kgonzale> |
Component: | rgmanager | Assignee: | Marek Grac <mgrac> |
Status: | CLOSED DUPLICATE | QA Contact: | Brian Brock <bbrock> |
Severity: | low | Docs Contact: | |
Priority: | low | ||
Version: | 5.0 | CC: | cluster-maint, kanderso, kupcevic, rmccabe |
Target Milestone: | --- | ||
Target Release: | --- | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Fixed In Version: | Doc Type: | Bug Fix | |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2007-06-19 19:19:35 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: |
Description
Kyle Gonzales
2007-06-11 16:44:27 UTC
Correction: the resource agent is not correctly starting httpd; there doesn't need to be a script resource added. Moving this to rgmanager given the comment above. Please yell if this is the wrong thing to do. So this is an rgmanager problem, not a Conga issue Is rgmanager supposed to start httpd when it sees the Apache resource config line in cluster.conf? Yes, it is supposed to run httpd but you should provide IP addresses (or modify the generated config file). So correct usage should be: <service autostart="0" name="web00"> <ip address="10.34.32.168"/> <apache config_file="conf/httpd.conf" name="httpd" server_root="/etc/httpd" shutdown_wait="0"/> </service> But there is a bug because rgmanager attempts to stop service first and it fails because pid file does not exist. Works in current RHEL5/HEAD. No patch needed because it was repaired as a side effect of bug #235178 Just note: Do not use shutdown_wait="0" because then disabling service will almost surely fails (it won't wait a second and application won't be stopped => fails). Use shutdown_wait="1" or do not use this attribute at all (default values are more than enough) *** This bug has been marked as a duplicate of 235178 *** Moving all RHCS ver 5 bugs to RHEL 5 so we can remove RHCS v5 which never existed. |