LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 03-19-2003, 03:48 PM   #1
ChangeOfPace
Member
 
Registered: Mar 2003
Posts: 34

Rep: Reputation: 15
Tomcat Startup (? is appendage to previous post)


I installed Tomcat from the /usr/local DIR

I now have /usr/local/jakarta-tomcat-4.0.6-src DIR

The startup command startup.sh = "command not found". If I include the path name before my command = "no such file or dir".

1st week on linux, have struggled all the way here. Can someone throw me a bone??

Thanks.
 
Old 03-20-2003, 03:08 PM   #2
AltF4
Member
 
Registered: Sep 2002
Location: .at
Distribution: SuSE, Knoppix
Posts: 532

Rep: Reputation: 31
does "startup.sh" have the "x" (eXecute) bit set in file permissions ? (check with "ls -l startup.sh")
you can set it with the "chmod" (man chmod) command (chmod u+x startup.sh)

otherwise please post the first 5 lines of "startup.sh" here.
 
Old 03-20-2003, 05:37 PM   #3
TimeSaver
LQ Newbie
 
Registered: Mar 2003
Posts: 12

Rep: Reputation: 0
Go to that tomcat folder and try this.
$./startup.sh

make sure that u have the execution permits on starup.sh. If it gives u errors like don't have permission or something..then do

$chmod 755 startup.sh
$./starup.sh
 
Old 03-21-2003, 09:34 AM   #4
ChangeOfPace
Member
 
Registered: Mar 2003
Posts: 34

Original Poster
Rep: Reputation: 15
I can't find startup.sh

Should it be in the /.../Jakarta-tomcat... DIR?

Would ls list it or do I need another command to list commands?

Thanks.
 
Old 03-21-2003, 01:01 PM   #5
TimeSaver
LQ Newbie
 
Registered: Mar 2003
Posts: 12

Rep: Reputation: 0
it should be in the tomcat directory. May be they now have changed the name of the startup script. Why dont you do a ls on that directory and put them here so we could see what are the contents there and guide you better.

Do this:

ls -l > abc.txt

then open the abc.txt file and copy its contents and paste em here.
 
Old 03-24-2003, 08:34 AM   #6
ChangeOfPace
Member
 
Registered: Mar 2003
Posts: 34

Original Poster
Rep: Reputation: 15
total 331
drwxr-xr-x 9 root root 1246 Mar 24 09:30 .
drwxr-xr-x 17 root root 1229 Mar 20 14:56 ..
-rw-r--r-- 1 root root 10080 Oct 8 10:16 BUILDING.txt
-rw-r--r-- 1 root root 4568 Oct 8 10:16 LICENSE
-rw-r--r-- 1 root root 1264 Oct 8 10:16 OUTSTANDING-BUGS-4.0.4.txt
-rw-r--r-- 1 root root 3084 Oct 8 10:16 README.txt
-rw-r--r-- 1 root root 2358 Oct 8 10:16 RELEASE-NOTES-4.0-B1.txt
-rw-r--r-- 1 root root 15022 Oct 8 10:16 RELEASE-NOTES-4.0-B2.txt
-rw-r--r-- 1 root root 5413 Oct 8 10:16 RELEASE-NOTES-4.0-B3.txt
-rw-r--r-- 1 root root 14787 Oct 8 10:16 RELEASE-NOTES-4.0-B4.txt
-rw-r--r-- 1 root root 6969 Oct 8 10:16 RELEASE-NOTES-4.0-B5.txt
-rw-r--r-- 1 root root 22213 Oct 8 10:16 RELEASE-NOTES-4.0-B6.txt
-rw-r--r-- 1 root root 13160 Oct 8 10:16 RELEASE-NOTES-4.0-B7.txt
-rw-r--r-- 1 root root 14240 Oct 8 10:16 RELEASE-NOTES-4.0-RC1.txt
-rw-r--r-- 1 root root 9417 Oct 8 10:16 RELEASE-NOTES-4.0-RC2.txt
-rw-r--r-- 1 root root 13024 Oct 8 10:16 RELEASE-NOTES-4.0.1-B1.txt
-rw-r--r-- 1 root root 13170 Oct 8 10:16 RELEASE-NOTES-4.0.1.txt
-rw-r--r-- 1 root root 16611 Oct 8 10:16 RELEASE-NOTES-4.0.2-B1.txt
-rw-r--r-- 1 root root 12091 Oct 8 10:16 RELEASE-NOTES-4.0.2-B2.txt
-rw-r--r-- 1 root root 12351 Oct 8 10:16 RELEASE-NOTES-4.0.2.txt
-rw-r--r-- 1 root root 14764 Oct 8 10:16 RELEASE-NOTES-4.0.4.txt
-rw-r--r-- 1 root root 8881 Oct 8 10:16 RELEASE-NOTES-4.0.5.txt
-rw-r--r-- 1 root root 8841 Oct 8 10:16 RELEASE-NOTES-4.0.6.txt
-rw-r--r-- 1 root root 7599 Oct 8 10:16 RELEASE-NOTES-4.0.txt
-rw-r--r-- 1 root root 2548 Oct 8 10:16 RELEASE-PLAN-4.0.1.txt
-rw-r--r-- 1 root root 2683 Oct 8 10:16 RELEASE-PLAN-4.0.txt
-rw-r--r-- 1 root root 5955 Oct 8 10:16 RUNNING.txt
-rw-r--r-- 1 root root 0 Mar 24 09:30 abc.txt
-rw-r--r-- 1 root root 3544 Oct 8 10:16 build.properties.sample
-rw-r--r-- 1 root root 14237 Oct 8 10:16 build.xml
drwxr-xr-x 5 root root 145 Mar 20 15:03 catalina
drwxr-xr-x 4 root root 98 Mar 20 15:03 jasper
drwxr-xr-x 2 root root 264 Mar 20 15:03 lib
drwxr-xr-x 2 root root 194 Mar 20 15:03 resources
drwxr-xr-x 5 root root 209 Mar 20 15:03 service
drwxr-xr-x 4 root root 147 Mar 20 15:03 tester
-rw-r--r-- 1 root root 9294 Oct 8 10:16 tomcat.nsi
drwxr-xr-x 7 root root 176 Mar 20 15:03 webapps
 
Old 04-24-2003, 01:15 PM   #7
shadowbird
LQ Newbie
 
Registered: Apr 2003
Distribution: RedHat
Posts: 27

Rep: Reputation: 15
Hmmm... you're missing the bin directory in Tomcat. That's where the startup.sh file normally resides.
 
Old 05-01-2003, 06:20 PM   #8
Tsoots
LQ Newbie
 
Registered: May 2003
Distribution: Slackware
Posts: 14

Rep: Reputation: Disabled
You could download tomcat binary instead of src, couldn't you. There's probably ant build files in the directory somewhere that you could use to build tomcat but that would need ant installed.

Last edited by Tsoots; 05-01-2003 at 06:22 PM.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
tomcat startup on boot malbery Linux - Software 3 01-27-2005 04:10 PM
Hi Jeremy how do i check my previous post !! hitesh_linux LQ Suggestions & Feedback 8 12-18-2004 09:29 AM
startup Tomcat 5.5.4 in Fedora 2 treotan Linux - Newbie 1 12-03-2004 09:46 PM
TOMCAT init script not working on startup -- tomcat 4.x / Mandrake Linux 8.0 jmartinph Mandriva 0 03-08-2004 01:31 AM
Traversing from previous post c0rk3y *BSD 1 07-26-2002 09:15 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 03:46 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration