Tomcat not starting in linux ---permission denied to run startup.sh

aswathy picture aswathy · Aug 11, 2016 · Viewed 31.3k times · Source

I pasted tomcat folder in Linux machine. User is root . When I go to bin folder and execute ./startup.sh I'm getting an error:permission denied. [This is what I got]

How to rectify this issue.

png

Answer

aswathy picture aswathy · Aug 11, 2016

give:

chmod -R 777 startup.sh

Then error will come as:Cannot find ./catalina.sh then give:

chmod -R 777 catalina.sh

Tomcat will start. the problem was because there was no permission for executing. u can see if permission is there or not by giving:

ls -l