aspose file tools*
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 Soft Skills this week in the Jobs Discussion forum!
JavaRanch » Java Forums » Products » Tomcat
Bookmark "Tomcat Install under Linux" Watch "Tomcat Install under Linux" New topic
Author

Tomcat Install under Linux

Douggie Fox
Greenhorn

Joined: Jun 14, 2001
Posts: 19
Hi,

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?

TIA

Paul
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
Hi,

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