Hi I get this when i try to upgrade:
Downloading Packages:
Running rpm_check_debug
ERROR with rpm_check_debug vs depsolve:
Package psa-tomcat-configurator needs mod_jk, this is not available.
Complete!
Any idea how to fix it, commands if possible since im a unix newbie.
Thanks
Get tomcat error when trying to upgrade
-
- Long Time Forum Regular
- Posts: 2813
- Joined: Sat Aug 20, 2005 9:30 am
- Location: The Netherlands
What OS? What version of Plesk? What versions of relevant packages installed?
Lemonbit Internet Dedicated Server Management
OS CentOS 5.1
Plesk Version 8.6.0
plesk repo Enable
Plesk Version 8.6.0
plesk repo Enable
the problem is the updated httpd package from the CentOS maintainers.
Required by psa-tomcat-configurator package:
rpm -qR psa-tomcat-configurator
rpmlib(VersionedDependencies) <= 3.0.3-1
psa >= 8.4.0
tomcat5
tomcat5-admin-webapps
tomcat5-webapps
java
mod_jk
/bin/sh
/bin/sh
/bin/sh
rpmlib(PayloadFilesHavePrefix) <= 4.0-1
rpmlib(CompressedFileNames) <= 3.0.4-1
Provided by mod_jk-ap20 package:
pm -q --provides mod_jk-ap20
mod_jk
mod_jk.so()(64bit)
mod_jk-ap20 = 1.2.15-42psa.cos5.build84080425.19
And here is the Problem, packages marked as obsolete by CentOS maintainers:
rpm -q --obsoletes -p /var/cache/yum/updates/packages/httpd-2.2.3-11.el5_2.centos.4.x86_64.rpm
httpd-suexec
apache
secureweb
mod_dav
mod_gzip
stronghold-apache
stronghold-htdocs
mod_put
mod_roaming
mod_jk
The question is NOW, why is the package marked as obsolete? So, there are three choices:
1) Remove psa-tomcat-configurator if not needed.
2) Exclude httpd from update process.
3) Repackage httpd package (I think this is the way I will go)
The httpd package obsoletes mod_jk because Apache httpd 2.2 comes with mod_proxy_ajp and this is the preferred Tomcat connector for use with Apache httpd 2.2. I think the solution should be Parallels reworking their Tomcat integration to use mod_proxy_ajp instead of mod_jk, at least for distributions that come with Apache httpd 2.2.