Re: [cllfst] tomcat configuration

[ Thread Index | Date Index | More lists.tuxfamily.org/cllfst Archives ]


salem;

Try to run the script as super user :



sudo  sh /usr/local/tomcat-6.0.20/bin/startup.sh

yours.

On Mon, Jul 27, 2009 at 2:06 PM, ElAmriNabil_Y <elamrinabil@xxxxxxxxx> wrote:

Try to edit  the permission of the binary file as a root ; you have not the ability to edit the binary file as an ordinary user

yours

 

De : Listengine [mailto:listengine@xxxxxxxxxxxxxxxxx] De la part de slimani rabeb
Envoyé : lundi 27 juillet 2009 10:25
À : cllfst@xxxxxxxxxxxxxxxxxxx
Objet : [cllfst] tomcat configuration

 

السلام عليكم
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




Mail converted by MHonArc 2.6.19+ http://listengine.tuxfamily.org/