Thanks Charles, I am new to linux. I changed all files owner and grp to the root but still I get the same error. this is what i have:
[EMAIL PROTECTED] usr]# cd java [EMAIL PROTECTED] java]# ls -l total 19328 drwxr-xr-x 9 root root 4096 Mar 6 10:57 jdk1.6.0_02 drwxr-xr-x 8 root root 4096 Mar 6 12:58 jre1.6.0_05 -rwxr-xr-x 1 root root 19745768 Mar 6 12:51 jre-6u5-linux-i586.bin [EMAIL PROTECTED] java]# cd jdk* [EMAIL PROTECTED] jdk1.6.0_02]# ls -l total 19220 drwxr-xr-x 2 root root 4096 Mar 6 10:54 bin -rwxr-xr-x 1 root root 2539 Jun 22 2007 COPYRIGHT drwxr-xr-x 5 root root 4096 Mar 6 10:54 db drwxr-xr-x 10 root root 4096 Mar 6 10:55 demo drwxr-xr-x 3 root root 4096 Mar 6 10:55 include drwxr-xr-x 4 root root 4096 Mar 6 10:56 jre drwxr-xr-x 2 root root 4096 Mar 6 10:56 lib -rwxr-xr-x 1 root root 13471 Jul 9 2007 LICENSE -rwxr-xr-x 1 root root 19780 Jul 9 2007 LICENSE.rtf -rwxr-xr-x 1 root root 25379 Jun 14 2007 README.html -rwxr-xr-x 1 root root 23521 Jun 14 2007 README_ja.html -rwxr-xr-x 1 root root 18329 Jun 14 2007 README_zh_CN.html drwxr-xr-x 9 root root 4096 Mar 6 10:57 sample -rwxr-xr-x 1 root root 19264985 Jun 14 2007 src.zip -rwxr-xr-x 1 root root 178596 Jun 14 2007 THIRDPARTYLICENSEREADME.txt [EMAIL PROTECTED] local]# ls -l total 6400 -rw------- 1 root root 1253 May 29 15:44 1212100216273-integrated.jnlp drwxr-xr-x 3 root root 4096 Jun 27 2007 adm drwxrwxrwx 16 root root 4096 May 28 09:03 apache2 drwx------ 11 root root 4096 May 29 15:10 apache-tomcat-5.5.26 -rw------- 1 root root 6372195 May 29 15:10 apache-tomcat-5.5.26.tar.gz drwxr-xr-x 2 root root 4096 Aug 12 2004 bin lrwxrwxrwx 1 root root 10 Jun 27 2007 etc -> /local/etc drwxr-xr-x 2 root root 4096 Aug 12 2004 games lrwxrwxrwx 1 root root 10 Jun 27 2007 home -> ./var/home drwxr-xr-x 2 root root 4096 Aug 12 2004 include lrwxrwxrwx 1 root root 20 May 29 15:17 jakarta-tomcat -> apache-tomcat-5.5.26 drwxrwxrwx 2 root root 4096 May 29 10:16 java drwxr-xr-x 2 root root 4096 Aug 12 2004 lib drwxr-xr-x 2 root root 4096 Aug 12 2004 libexec drwxrwxrwx 2 root root 4096 Mar 6 13:34 mysql drwxr-xr-x 2 root root 4096 Aug 12 2004 sbin drwxr-xr-x 4 root root 4096 Jun 27 2007 share drwxr-xr-x 2 root root 4096 Aug 12 2004 src drwx-----T 2 root root 4096 May 29 15:00 tmp lrwxrwxrwx 1 root root 10 Jun 27 2007 var -> /local/var -rw------- 1 root root 5530 May 26 13:10 wget-log -rw------- 1 root root 5075 May 27 10:16 wget-log.1 [EMAIL PROTECTED] local]# cd ja* [EMAIL PROTECTED] jakarta-tomcat]# cd bin [EMAIL PROTECTED] bin]# ./startup.sh Using CATALINA_BASE: /usr/local/jakarta-tomcat Using CATALINA_HOME: /usr/local/jakarta-tomcat Using CATALINA_TMPDIR: /usr/local/jakarta-tomcat/temp Using JRE_HOME: /usr/java/jdk1.6.0_02 [EMAIL PROTECTED] bin]# I get the same error on catalina.out. I appreciate your help. mk On 6/9/08, Caldarale, Charles R <[EMAIL PROTECTED]> wrote: > > > From: kohanm [mailto:[EMAIL PROTECTED] > > Subject: Tomcat-5.5 run error on red hat > > > > And I set up PATH and JAVA_HOME on* .bash_profile*: > > In *catalina.ou*t get error: > > line 275: /usr/java/jdk1.6.0_02/bin*/java*: *No such file or > > directory* > > Why does your e-mail have so many apparently spurious asterisks in it? > > > My question is, why tomcat searchs for the > > JAVA directory after bin ? > > It's not looking for the java directory, it's looking for the java > executable. It's either not there or has incorrect permissions (e.g., no > execute access). > > - Chuck > > > THIS COMMUNICATION MAY CONTAIN CONFIDENTIAL AND/OR OTHERWISE PROPRIETARY > MATERIAL and is thus for use only by the intended recipient. If you received > this in error, please contact the sender and delete the e-mail and its > attachments from all computers. > > --------------------------------------------------------------------- > To start a new topic, e-mail: users@tomcat.apache.org > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > -- Massoud