Win a copy of Functional Reactive Programming this week in the Other Languages forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

No is possible deploy wars and run TomCat as user tomcat and no as ROOT ?

 
Gabriel Pinares
Greenhorn
Posts: 16
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,

when I run [/usr/local/jakarta/tomcat/bin/./startup.sh;] as ROOT {catalina.out} return:

( OK!, ALL FINE!! )

but when I run [/usr/local/jakarta/tomcat/bin/./startup.sh;] as tomcat {catalina.out} return:




Some idea to fixed this?

┬┐or no is possible?

THANKS
 
Tim Holloway
Saloon Keeper
Posts: 18303
56
Android Eclipse IDE Linux
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
There's not really enough information to tell anything, but one problem I often have suggests itself based on the topic title.

If you have been starting Tomcat as ROOT, Tomcat has created a number of files owned by ROOT. If you then attempt to start as user "tomcat" - or any other non-root user, then the Tomcat startup will fail because it's attempting to create and/or access files that user "tomcat" is not permitted to access or change.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic