Configured tomcat6 as a Highly Available clustered service but rgmanager can not start it in RHEL 6
Issue
- Would like to configure Tomcat6 as a Highly Available clustered service in Red Hat Cluster Suite, but
rgmanagerwill not start it. - When starting a service with a tomcat resource it fails and the following errors are in the logs:
Jan 13 20:10:57 rhel6-node1 rgmanager[5733]: Starting disabled service service:Tomcat
Jan 13 20:10:57 rhel6-node1 rgmanager[17767]: [ip] Adding IPv4 address 10.13.211.133/24 to eth0
Jan 13 20:10:59 rhel6-node1 avahi-daemon[1982]: Registering new address record for 10.13.211.133 on eth0.IPv4.
Jan 13 20:11:01 rhel6-node1 rgmanager[17917]: [tomcat-6] Starting Service tomcat-6:tomcat
Jan 13 20:11:01 rhel6-node1 rgmanager[5733]: Service service:Tomcat started
Jan 13 20:12:07 rhel6-node1 rgmanager[18694]: [tomcat-6] Checking Existence Of File /var/run/cluster/tomcat-6/tomcat-6:tomcat.pid [tomcat-6:tomcat] > Failed
Jan 13 20:12:07 rhel6-node1 rgmanager[18716]: [tomcat-6] Monitoring Service tomcat-6:tomcat > Service Is Not Running
Jan 13 20:12:07 rhel6-node1 rgmanager[5733]: status on tomcat-6 "tomcat" returned 1 (generic error)
Jan 13 20:12:07 rhel6-node1 rgmanager[5733]: Stopping service service:Tomcat
Jan 13 20:12:07 rhel6-node1 rgmanager[18812]: [tomcat-6] Stopping Service tomcat-6:tomcat
Jan 13 20:12:07 rhel6-node1 rgmanager[18834]: [tomcat-6] Checking Existence Of File /var/run/cluster/tomcat-6/tomcat-6:tomcat.pid [tomcat-6:tomcat] > Failed - File Doesn't
Jan 13 20:12:07 rhel6-node1 rgmanager[18856]: [tomcat-6] Stopping Service tomcat-6:tomcat > Succeed
Jan 13 20:12:07 rhel6-node1 rgmanager[18909]: [ip] Removing IPv4 address 10.13.211.133/24 from eth0
Jan 13 20:12:17 rhel6-node1 rgmanager[5733]: Service service:Tomcat is recovering
Jan 13 20:12:18 rhel6-node1 rgmanager[5733]: Recovering failed service service:Tomcat
Jan 13 20:12:18 rhel6-node1 rgmanager[19003]: [ip] Adding IPv4 address 10.13.211.133/24 to eth0
Jan 13 20:12:21 rhel6-node1 rgmanager[19153]: [tomcat-6] Starting Service tomcat-6:tomcat
Jan 13 20:12:22 rhel6-node1 rgmanager[5733]: Service service:Tomcat started
Environment
- Red Hat Enterprise Linux (RHEL) 6 with the High Availability Add On
resource-agentsprior to release3.9.2-21.el6
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase of over 48,000 articles and solutions.
Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.
