AW: [CentOS] executable on /etc/rc.local doesn't start

Mon Jul 17 08:36:02 UTC 2006
Horchler, Joerg <joerg.horchler at coremedia.com>

Do you have any logfile output? First check whether the environment
(JAVA_HOME for example) is set before calling
/usr/apache-tomcat-5.5.17/bin/startup.sh. For example

<<<< snip
#!/bin/bash
export JAVA_HOME=/opt/jdk1.5.0_05_x86_64
bin/startup.sh
>>>> snip

-----Ursprüngliche Nachricht-----
Von: centos-bounces at centos.org [mailto:centos-bounces at centos.org] Im Auftrag
von Mark Quitoriano
Gesendet: Montag, 17. Juli 2006 10:22
An: CentOS mailing list
Betreff: [CentOS] executable on /etc/rc.local doesn't start

Hi

i installed apache tomcat on my server and put the startup on /etc/rc.local
file so it will boot up everytime i restarted my server. But it never booted
up i still need to run it manually what am i missing?

here's my rc.local
#!/bin/sh
#
# This script will be executed *after* all the other init scripts.
# You can put your own initialization stuff in here if you don't # want to
do the full Sys V style init stuff. 


ntpdate -u 18.145.0.30

/usr/local/sbin/apache-tomcat-start

touch /var/lock/subsys/local



my ntpddate seems to start. how do i verify if the program is executed or
not? anyway the apache-tomcat-start is link to the startup.sh of apache
tomcat and it's on my /usr/loca/sbin.

lrwxrwxrwx  1 root root   40 Jul  7 18:16 apache-tomcat-start ->
/usr/apache-tomcat-5.5.17/bin/startup.sh


-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/x-pkcs7-signature
Size: 5720 bytes
Desc: not available
URL: <http://lists.centos.org/pipermail/centos/attachments/20060717/ced56d52/attachment-0005.bin>