Hi All,

Could anybody tell me how to make tomcat script LSB compliant ? I am using
Linux High availability project. The heartbeat daemon complaining the
following:

info: Running /etc/init.d/tomcat  start
ERROR: Return code 1 from /etc/init.d/tomcat
CRIT: Giving up resources due to failure of tomcat
info: Running /etc/init.d/tomcat  stop
ERROR: Return code 1 from /etc/init.d/tomcat
info: Retrying failed stop operation [tomcat]
ResourceManager[4188]: info: Running /etc/init.d/tomcat  stop
info: Retrying failed stop operation [tomcat]
ERROR: Resource script for tomcat probably not LSB-compliant.
WARN: it (tomcat) MUST succeed on a stop when already stopped

All I know about LSB is that you should provide start/stop/status options in
your script which I did but got confused with return values (RETVAL???, exit
0/1).
I am using tomcat & heartbeat on Fedora7. Please help, or point to any
useful resource.

Thanks,
-Azhar

Reply via email to