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

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]



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@xxxxxxxxxx [mailto:centos-bounces@xxxxxxxxxx] 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


Attachment: smime.p7s
Description: S/MIME cryptographic signature

_______________________________________________
CentOS mailing list
CentOS@xxxxxxxxxx
http://lists.centos.org/mailman/listinfo/centos

[Index of Archives]     [CentOS]     [CentOS Announce]     [CentOS Development]     [CentOS ARM Devel]     [CentOS Docs]     [CentOS Virtualization]     [Carrier Grade Linux]     [Linux Media]     [Asterisk]     [DCCP]     [Netdev]     [Xorg]     [Linux USB]
  Powered by Linux