wood burning stoves 2.0*
The moose likes Tomcat and the fly likes Tomcat Install under Linux Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Products » Tomcat
Bookmark "Tomcat Install under Linux" Watch "Tomcat Install under Linux" New topic

Tomcat Install under Linux

Douggie Fox

Joined: Jun 14, 2001
Posts: 19

I'm having some problems installing Tomcat under Linux. I think the main issue is to do with permissions but I'm struggling to find any consistent advice.

I have installed tomcat and if I run startup.sh as myself I get error messages relating to "catalina.out: permission denied". If I login as su, startup.sh starts tomcat properly. This leads me to a number of questions:

What's the advice regarding which "user" should run tomcat? I've read that the user "nobody" should be used? If that is the case, is there any advice on how to do this? Should the permissions on the tomcat install directory be changed? Any ideas how to do this?


Mike Curwen
Ranch Hand

Joined: Feb 20, 2001
Posts: 3695

at the very least, you should be starting Tomcat as the same user that owns the tomcat directories.

Who owns them, and who are you starting it as ?
Vijay Vaddem
Ranch Hand

Joined: Feb 13, 2004
Posts: 243

Did u tried to change the owner (chown) for the tomcat installation folder???
I agree. Here's the link: http://aspose.com/file-tools
subject: Tomcat Install under Linux
Similar Threads
How do I start Tomcat under iMac command shell
Tomcat installation on Linux.. need help..
Tomcat installation on Linux.. Please help..
installing JFORUM on LINUX
Installation Guide (Tomcat on Linux)