Mantis - Resin
Viewing Issue Advanced Details
1863 minor always 07-10-07 09:43 08-13-07 11:32
ferg  
ferg  
normal  
closed  
fixed  
none    
none 3.1.3  
0001863: chkconfig changes for httpd.sh
(rep by Eddie Anzalone)


I had trouble getting my newly installed resin instance to start upon
reboot on a new RedHat EL5 installation. Please note, the
"resin_home/bin/httpd.sh" script needs to be modified to exist with
redhat chkconfig as per the documentation
(http://kbase.redhat.com/faq/FAQ_43_5943.shtm)... [^] The chkconfig
directives are not located on the proper lines. Also, the last line of
the httpd.sh script needs to reference "$RESIN_HOME" and not "$bin" as
this silently fails during a boot but does not fail using "service start
resin" from a terminal (cli). This was noticed by running the
"/etc/rc.d/rc" command as shown below.

Note, I didn't see this previously (using RHEL4 + 3.0.19) and didn't
taken the time to investigate. Also, I feel that the logic that calls
"basename $script" in the "httpd.sh" just seems pointless. It would be
nice if you could "fix" the distrobution so we don't need to do this
locally.

There are no notes attached to this issue.