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.


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.

  • That gives this error: Cannot find /usr/local/tomcat/bin/catalina.sh This file is needed to run this program
    – Genadinik
    Apr 6 '11 at 23:58
  • Did you install tomcat manually or with apt-get?
    – ed209
    Apr 7 '11 at 0:00
  • I installed it manually.
    – Genadinik
    Apr 7 '11 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 '11 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 '11 at 1:13

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.