0

I am trying to run the startup.sh command in ubuntu right from the /usr/local/tomcat/bin directory, but it tells me that "command not found"

Why would that be the case? If I do an ls -l command it shows that file right in the directory.

Thanks in advance for your suggestions :) I use tomcat 7.

1 Answer 1

2

try sudo /etc/init.d/tomcat start

or sudo /etc/init.d/tomcat6 start. If you want to start it manually, you may need to chmod +x startup.sh to make it executable first.

5
  • That gives this error: Cannot find /usr/local/tomcat/bin/catalina.sh This file is needed to run this program
    – Genadinik
    Apr 6, 2011 at 23:58
  • Did you install tomcat manually or with apt-get?
    – ed209
    Apr 7, 2011 at 0:00
  • I installed it manually.
    – Genadinik
    Apr 7, 2011 at 0:06
  • also, while there is a file called tomcat in the /etc/init.d/ diretory, when I try to call it, that generates an error "command not found"
    – Genadinik
    Apr 7, 2011 at 0:07
  • try installing with apt-get (google it) or try this guide for hints on your manual installation: howtogeek.com/howto/linux/installing-tomcat-6-on-ubuntu
    – ed209
    Apr 7, 2011 at 1:13

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .