Upgrading Tomcat5 to tomcat 5.5 on CentOS 4

Okay… I got tomcat5 origianlly with plesk, but I need tomcat5.5, so I downloaded using yum, but it does this after the rpm's are installed…

****Trying to establish test connection… connected done Checking for the system groups and users necessary for Tomcat…

Checking for the group 'tomcat'…

Group 'tomcat' already exists

Checking for the user 'tomcat'…

User 'tomcat' already exists

Trying to find JAVA_HOME variable in the /usr/share/tomcat5/conf/tomcat5.conf…

JAVAHOME variable is already in the /usr/share/tomcat5/conf/tomcat5.conf and has correct value (/usr/lib/jvm/java) Trying to replace TOMCATUSER variable in the /usr/share/tomcat5/conf/tomcat5.conf… done Making chown and chmod under JDK stuff Trying to set up Tomcat permissions… chmod: cannot access `/usr/share/tomcat5/conf/jk2.properties': No such file or directory

ERROR while trying to chmod tomcat5 file jk2.properties Check the error reason(see log file: /tmp/psa-tomcat-configurator8.2.0cos4.build82070706.15_installing.070811.15.26.log), fix and try again

Aborting…

error: %trigger(psa-tomcat-configurator-8.2.0-cos4.build82070706.15.noarch) scriptlet failed, exit status 1****

any ideas? Before I ran yum update, I verified that the jk2.properties file was in /usr/share/tomcat5/conf, but for some reason when I do yum update, it removes it, and the above error comes up. I would like to get this fixed If anyone can offer a suggestion on what I can do that would be great. Any help would be greatfull!!

Thanks

Juston

0 Replies

Reply

Please enter an answer
Tips:

You can mention users to notify them: @username

You can use Markdown to format your question. For more examples see the Markdown Cheatsheet.

> I’m a blockquote.

I’m a blockquote.

[I'm a link] (https://www.google.com)

I'm a link

**I am bold** I am bold

*I am italicized* I am italicized

Community Code of Conduct