This week's book giveaway is in the Servlets forum.
We're giving away four copies of Murach's Java Servlets and JSP and have Joel Murach on-line!
See this thread for details.
The moose likes Tomcat and the fly likes Error while executing startup.sh(Tomcat) Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Products » Tomcat
Bookmark "Error while executing startup.sh(Tomcat)" Watch "Error while executing startup.sh(Tomcat)" New topic
Author

Error while executing startup.sh(Tomcat)

kriss Mathews
Greenhorn

Joined: Aug 25, 2005
Posts: 1
Hi,

While starting tomcat using the command startup.sh on solaris 9 platform its giving me the following error .The Tomcat version being used here is 5.5.7.

# ./startup.sh
Using CATALINA_BASE: /usr/tomcat
Using CATALINA_HOME: /usr/tomcat
Using CATALINA_TMPDIR: /usr/tomcat/temp
Using JRE_HOME: /usr/java
touch: /usr/tomcat/logs/catalina.out cannot create
# ./catalina.sh: /usr/tomcat/logs/catalina.out: cannot create


Any tips to solve this would be highly appreciated...

Thanks,
Kriss
Ben Souther
Sheriff

Joined: Dec 11, 2004
Posts: 13410

Sounds like the user that Tomcat is running under doesn't have sufficient permissions to write to the TOMCAT_HOME/logs directory.


Java API J2EE API Servlet Spec JSP Spec How to ask a question... Simple Servlet Examples jsonf
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Error while executing startup.sh(Tomcat)
 
Similar Threads
Running tomcat in linux
Error starting Tomcat in Ubuntu
Tomcat doesn't stop
Running tomcat in linux
Running tomcat in linux