From owner-freebsd-questions Wed Nov 8 8:31:55 2000 Delivered-To: freebsd-questions@freebsd.org Received: from baucis.sc.intel.com (baucis.sc.intel.com [143.183.152.22]) by hub.freebsd.org (Postfix) with ESMTP id 430E937B4CF for ; Wed, 8 Nov 2000 08:31:50 -0800 (PST) Received: from SMTP (fmsmsxvs03-1.fm.intel.com [132.233.42.203]) by baucis.sc.intel.com (8.9.1a+p1/8.9.1/d: relay.m4,v 1.32 2000/10/12 22:57:04 dmccart Exp $) with SMTP id IAA23483 for ; Wed, 8 Nov 2000 08:31:43 -0800 (PST) Received: from fmsmsx19.fm.intel.com ([132.233.48.19]) by 132.233.48.203 (Norton AntiVirus for Internet Email Gateways 1.0) ; Wed, 08 Nov 2000 16:31:41 0000 (GMT) Received: by fmsmsx19.fm.intel.com with Internet Mail Service (5.5.2650.21) id ; Wed, 8 Nov 2000 08:31:40 -0800 Message-ID: From: "Unice, Kyle" To: "'freebsd-questions@FreeBSD.ORG'" Subject: Starting Jarkata-Tomcat in /usr/local/etc/rc.d Date: Wed, 8 Nov 2000 08:31:30 -0800 MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2650.21) Content-Type: text/plain; charset="iso-8859-1" Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Folks, I can start tomcat just fine from the command line, but when I try starting it from a script in /usr/local/etc/rc.d, it does not run. I go in with "ps waux | grep -i jak" and nothing is there. I have three scripts in /usr/local/etc/rc.d: apache.sh mysql.sh dhcpd.sh Can someone tell me what I am doing wrong? Thx Kyle #!/bin/sh PATH=$PATH:/jdk/bin export PATH JAVA_HOME=/jdk export JAVA_HOME TOMCAT_HOME=/jakarta-tomcat export TOMCAT_HOME if [ -x /usr/local/apache/bin/apachectl ]; then date >> /tmp/log.txt /jakarta-tomcat/bin/tomcat.sh start >> /tmp/log.txt 1>>/tmp/log.txt 2>>/tmp/log.txt /usr/local/apache/bin/apachectl start > /dev/null echo -n 'apache ' fi W. Kyle Unice Senior Software Eng. Mail Stop UT2 F2-46 Internet Management Appliance Division American Fork, Utah 84003 Intel Corporation Voice: (801) 763-2853 734 East Utah Valley Drive, Suite #300 FAX: (801) 763-2897 Email: kyle unice intel com Viewpoints, opinions, and content are my own and not necessarily those of Intel Corp. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message