This week's book giveaway is in the Agile and other Processes forum.
We're giving away four copies of The Mikado Method and have Ola Ellnestam and Daniel Brolund on-line!
See this thread for details.
The moose likes Tomcat and the fly likes Tomcat Install under Linux Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login


Win a copy of The Mikado Method this week in the Agile and other Processes forum!
JavaRanch » Java Forums » Products » Tomcat
Reply 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
 
Similar Threads
Tomcat installation on Linux.. need help..
installing JFORUM on LINUX
How do I start Tomcat under iMac command shell
Installation Guide (Tomcat on Linux)
Tomcat installation on Linux.. Please help..