السلام عليكم
I have installed tomcat6.0.20 on my ubuntu 9.04 using the tutorial in this website:
http://ubuntuforums.org/showthread.php?p=226828
and a similar tutorial by MBB
at the last step after running the command:
sh /usr/local/tomcat-6.0.20/bin/startup.sh
as a result I get this:
Using CATALINA_BASE: /usr/local/tomcat-6.0.20
Using CATALINA_HOME: /usr/local/tomcat-6.0.20
Using CATALINA_TMPDIR: /usr/local/tomcat-6.0.20/temp
Using JRE_HOME: /usr/local/jdk1.6.0_14
touch: ne peut faire un touch sur `/usr/local/tomcat-6.0.20/logs/catalina.out': Permission non accordée
./catalina.sh: 375: cannot create /usr/local/tomcat-6.0.20/logs/catalina.out: Permission denied
instead of this:
Using CATALINA_BASE: /usr/local/tomcat-6.0.20
Using CATALINA_HOME: /usr/local/tomcat-6.0.20
Using CATALINA_TMPDIR: /usr/local/tomcat-6.0.20/temp
Using JRE_HOME: /usr/local/jdk1.6.0_14
which means that a problem occured!!!!!
I tried to edit /usr/local/tomcat-6.0.20/bin/catalina.sh by adding the following lines found in:
http://www.informinator.ca/blog/category/informatique/linux/
JAVA_HOME=/usr/local/jdk1.6.0-14
TOMCAT_HOME=/usr/local/tomcat-6..0.20
CATALINA_HOME=/usr/local/tomcat-6.0.20
JAVA_OPTS=”-server -Xmx200m -Dfile.encoding=ISO8859-1″
export LD_ASSUME_KERNEL=2.4.1
the same thing happened again!!
how can I fix this problem???
thankyou for the help