Ubuntu – Starting tomcat on ubuntu

tomcatUbuntu

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.

Best Answer

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.