Are you sure rc5.d is your startup level? Mine starts in rc3.d, but I am running RH Linux 8.0. Just a thought.
-----Original Message----- From: thors_hammer123 [mailto:[EMAIL PROTECTED] Sent: Monday, June 30, 2003 12:50 PM To: [EMAIL PROTECTED] Subject: Tomcat and Linux I have installed Tomcat 5.0 (as part of the Java Web Services Pack) on a Redhat 7.1 system kernel 2.4.20. I am trying to get Tomcat to boot up at startup, and been failing. Following some instructions, I wrote the following script: ------------------------------------------------------- #!/bin/bash # # apache # # chkconfig: # description: Start up the Tomcat servlet engine. # Source function library. . /etc/init.d/functions RETVAL=$? TOMCATHOME="/usr1/jwsdp-1.2" case "$1" in 'start') if [ -f $TOMCATHOME/bin/startup.sh ]; then echo $"Starting Tomcat" $TOMCATHOME/bin/startup.sh fi ;; 'stop') if [ -f $TOMCATHOME/bin/shutdown.sh ]; then echo $"Stopping Tomcat" $TOMCATHOME/bin/shutdown.sh fi ;; *) echo $"Usage: $0 {start|stop}" exit 1 ;; esac exit $RETVAL ------------------------------------------------------- and placed it in the rc5.d directory under the name S71tomcat, and made a link in the init.d directory to this file under the name tomcat. This does not work and I don't understand why not. If I type at a terminal "tomcat start", Tomcat starts with no problems. What could be going on? TIA __________________________________ Do you Yahoo!? SBC Yahoo! DSL - Now only $29.95 per month! http://sbc.yahoo.com --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]