• If you are still using CentOS 7.9, it's time to convert to Alma 8 with the free centos2alma tool by Plesk or Plesk Migrator. Please let us know your experiences or concerns in this thread:
    CentOS2Alma discussion

httpd update

B

bisiklet

Guest
I am trying to update my Red Hat Enterprise Linux Server release 5.2 (Tikanga). I am running plesk 8.6.0 on it.


[root@supercamelot ~]# yum update
Loading "rhnplugin" plugin
rhel-i386-server-5 100% |=========================| 1.2 kB 00:00
Excluding Packages in global exclude list
Finished
Setting up Update Process
Resolving Dependencies
--> Running transaction check
---> Package httpd-manual.i386 0:2.2.3-11.el5_2.4 set to be updated
---> Package mod_ssl.i386 1:2.2.3-11.el5_2.4 set to be updated
---> Package httpd.i386 0:2.2.3-11.el5_2.4 set to be updated
---> Package gnutls-devel.i386 0:1.4.1-3.el5_2.1 set to be updated
---> Package gnutls.i386 0:1.4.1-3.el5_2.1 set to be updated
--> Finished Dependency Resolution

Dependencies Resolved

=============================================================================
Package Arch Version Repository Size
=============================================================================
Updating:
gnutls i386 1.4.1-3.el5_2.1 rhel-i386-server-5 351 k
gnutls-devel i386 1.4.1-3.el5_2.1 rhel-i386-server-5 922 k
httpd i386 2.2.3-11.el5_2.4 rhel-i386-server-5 1.1 M
httpd-manual i386 2.2.3-11.el5_2.4 rhel-i386-server-5 832 k
mod_ssl i386 1:2.2.3-11.el5_2.4 rhel-i386-server-5 84 k

Transaction Summary
=============================================================================
Install 0 Package(s)
Update 5 Package(s)
Remove 0 Package(s)

Total download size: 3.2 M
Is this ok [y/N]: y
Downloading Packages:
(1/5): gnutls-1.4.1-3.el5 100% |=========================| 351 kB 00:00
(2/5): gnutls-devel-1.4.1 100% |=========================| 922 kB 00:00
(3/5): httpd-2.2.3-11.el5 100% |=========================| 1.1 MB 00:00
(4/5): mod_ssl-2.2.3-11.e 100% |=========================| 84 kB 00:00
(5/5): httpd-manual-2.2.3 100% |=========================| 832 kB 00:00
Running rpm_check_debug
ERROR with rpm_check_debug vs depsolve:
Package psa-tomcat-configurator needs mod_jk, this is not available.
Complete!

How can i solve this
 
Running rpm_check_debug
ERROR with rpm_check_debug vs depsolve:
Package psa-tomcat-configurator needs mod_jk, this is not available.
Complete!


Still no go!!
 
If you aren't running tomcat I'd just get rid if it (and its associated stuff).

Faris.
 
When you have the isue with mod_jk just remove tomcat (if you don't need it)

rpm -e psa-tomcat-configurator
 
This problem seems to occur when trying to upgrade from httpd 2.2.3-11.el5_1.centos.3 to 2.2.3-11.el5_2.centos.4. I haven't been able to figure this one out completely though. Yum says: "Package psa-tomcat-configurator needs mod_jk, this is not available." This sounds strange, since the mod_jk-ap20 package installed and 'rpm -q --provides mod_jk-ap20' reports that it provides mod_jk. Why would mod_jk-ap20 suddenly stop providing mod_jk when httpd and mod_ssl are upgraded and the upgrade doesn't seem to touch psa-tomcat-reconfigurator or mod_jk-ap20?

Running rpm_check_debug
Member: mod_ssl.x86_64 1-2.2.3-11.el5_1.centos.3 - None
Member: httpd.x86_64 0-2.2.3-11.el5_1.centos.3 - None
Member: httpd.x86_64 0-2.2.3-11.el5_2.centos.4 - u
Adding Package httpd - 2.2.3-11.el5_2.centos.4.x86_64 in mode u
Member: mod_ssl.x86_64 1-2.2.3-11.el5_2.centos.4 - u
Adding Package mod_ssl - 1:2.2.3-11.el5_2.centos.4.x86_64 in mode u
ERROR with rpm_check_debug vs depsolve:
Package psa-tomcat-configurator needs mod_jk, this is not available.

I haven't figured out if the problem is with the Plesk packages involved (psa-tomcat-reconfigurator and mod_jk-ap20) or if yum is somehow 'not getting it'. Anyone have a solution that does not involve removing Tomcat support from Plesk?

(CentOS 5 comes with httpd 2.2, but the name of the mod_jk-ap20 package seems to suggest it is intended for httpd 2.0. Could that be somehow significant?)
 
As far as I understand, mod_jk is not a normal package available via Centos's repositories. So what happen is, when you install plesk, plesk install this for you from their own repositories which usually are not added to centos by default.

Now centos updated httpd, but plesk doesn't have an updated mod_jk yet for the new httpd version which is causing this problem. So we will have to wait for plesk to add an updated version for us. Or we can compile our own from source and hope it doesn't break any other plesk tomcat requirements.
 
As far as I understand, mod_jk is not a normal package available via Centos's repositories. So what happen is, when you install plesk, plesk install this for you from their own repositories which usually are not added to centos by default.

That's correct, mod_jk-ap20 is a Plesk package.

Now centos updated httpd, but plesk doesn't have an updated mod_jk yet for the new httpd version which is causing this problem. So we will have to wait for plesk to add an updated version for us. Or we can compile our own from source and hope it doesn't break any other plesk tomcat requirements.

Sounds like that could be it, but httpd stays at 2.2.3, there have been httpd updates in the past that all worked just fine and I can't find any dependency mismatches looking the requires and provides for the packages involved.
 
Hi,

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.
 
I did this:

Code:
yum -y update httpd

This failed of course, but it downloaded the RPM file.
Then you go there and install it yourself

Code:
cd /var/cache/yum/updates/packages
rpm -Uvh httpd-* mod_ssl-2.2.3-11.el5_2.centos.4.x86_64.rpm --nodeps
service httpd configtest

Then you restart apache and open a beer :)
 
Gentlemen,

Thank you for the report.
We take care about the issue. It will be fixed as soon as posible. We will keep you informed.
 
Which is repository directory?

which folder should these be put into as the repository? I'm using CentOS5 as you will see from the folder names.
/root/psa/PSA_8.6.0/dist-rpm-CentOS-5-x86_64
or
/root/psa/PSA_8.6.0/dist-rpm-CentOS-5-x86_64/base

or if elsewhere, can you tell me where?

Grateful for any help.

UPDATE:
I put psa-mod_jk-1.2.15-6.98092.x86_64.rpm into both the above folders, and am getting the same:
Transaction Summary
=============================================================================
Install 7 Package(s)
Update 134 Package(s)
Remove 1 Package(s)

Total download size: 391 M
Is this ok [y/N]: y
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!
[root@plesk2 ~]#

Update 2:

Or should it be /usr/local/psa/var as the folder in which to put the files?

I cannot find psa-tomcat-configurator-9.0.0-cos5.build90081117.17.noarch.rpm on the server either, so I guess I need to upload both of them.
 
Last edited by a moderator:
You cant do that, when you download them use RPM to install them.

rpm -Uvh package.rpm
 
Hi again hostingguy and thanks for this response,

Sorry for being thick. Sergius said
You should put psa-mod_jk and psa-tomcat-configurator in the repository depending on architecture and OS
so do I want to put them both in /usr/local/psa/var folder and then run
rpm -Uvh /usr/local/psa/var/psa-mod_jk-1.2.15-6.98092.x86_64.rpm

I'm not sure when/how the package will end up in the right place (or which folder indeed is the right place.
 
Tried a number of things

I've tried a number of things:

1. Copied both files to /var/cache/yum/updates/packages and tried to run them

[root@plesk2 ~]# rpm -Uvh psa-mod_jk-1.2.15-6.98092.x86_64.rpm
error: open of psa-mod_jk-1.2.15-6.98092.x86_64.rpm failed: No such file or directory
[root@plesk2 ~]# rpm -Uvh /var/cache/yum/updates/packages/psa-mod_jk-1.2.15-6.98092.x86_64.rpm
error: Failed dependencies:
mod_jk is needed by (installed) psa-tomcat-configurator-8.6.0-cos5.build86080722.00.noarch
[root@plesk2 ~]# rpm -Uvh /var/cache/yum/updates/packages/psa-mod_jk-1.2.15-6.98092.x86_64.rpm
error: Failed dependencies:
mod_jk is needed by (installed) psa-tomcat-configurator-8.6.0-cos5.build86080722.00.noarch
[root@plesk2 ~]#

2. Then I tried exactly what hostingguy said a few posts ago:

[root@plesk2 ~]# cd /var/cache/yum/updates/packages
[root@plesk2 packages]# rpm -Uvh httpd-* mod_ssl-2.2.3-11.el5_2.centos.4.x86_64.rpm --nodeps
Preparing... ########################################### [100%]
1:httpd ########################################### [ 25%]
2:httpd-devel ########################################### [ 50%]
3:httpd-manual ########################################### [ 75%]
4:mod_ssl ########################################### [100%]
[root@plesk2 packages]# service httpd configtest
Syntax OK
[root@plesk2 packages]#
which looked promising, but when I now yum update, I get:
Transaction Summary
=============================================================================
Install 7 Package(s)
Update 130 Package(s)
Remove 1 Package(s)

Total download size: 389 M
Is this ok [y/N]: y
Downloading Packages:
Running rpm_check_debug
Running Transaction Test
Finished Transaction Test


Transaction Check Error:
file /etc/my.cnf from install of mysql-libs-5.0.58-1.el5.art conflicts with file from package mysql-5.0.45-7.el5
file /usr/share/mysql/charsets/ascii.xml from install of mysql-libs-5.0.58-1.el5.art conflicts with file from package mysql-5.0.45-7.el5
file /usr/share/mysql/czech/errmsg.sys from install of mysql-libs-5.0.58-1.el5.art conflicts with file from package mysql-5.0.45-7.el5
file /usr/share/mysql/danish/errmsg.sys from install of mysql-libs-5.0.58-1.el5.art conflicts with file from package mysql-5.0.45-7.el5
file /usr/share/mysql/dutch/errmsg.sys from install of mysql-libs-5.0.58-1.el5.art conflicts with file from package mysql-5.0.45-7.el5
file /usr/share/mysql/english/errmsg.sys from install of mysql-libs-5.0.58-1.el5.art conflicts with file from package mysql-5.0.45-7.el5
file /usr/share/mysql/estonian/errmsg.sys from install of mysql-libs-5.0.58-1.el5.art conflicts with file from package mysql-5.0.45-7.el5
file /usr/share/mysql/french/errmsg.sys from install of mysql-libs-5.0.58-1.el5.art conflicts with file from package mysql-5.0.45-7.el5
file /usr/share/mysql/german/errmsg.sys from install of mysql-libs-5.0.58-1.el5.art conflicts with file from package mysql-5.0.45-7.el5
file /usr/share/mysql/greek/errmsg.sys from install of mysql-libs-5.0.58-1.el5.art conflicts with file from package mysql-5.0.45-7.el5
file /usr/share/mysql/hungarian/errmsg.sys from install of mysql-libs-5.0.58-1.el5.art conflicts with file from package mysql-5.0.45-7.el5
file /usr/share/mysql/italian/errmsg.sys from install of mysql-libs-5.0.58-1.el5.art conflicts with file from package mysql-5.0.45-7.el5
file /usr/share/mysql/japanese/errmsg.sys from install of mysql-libs-5.0.58-1.el5.art conflicts with file from package mysql-5.0.45-7.el5
file /usr/share/mysql/korean/errmsg.sys from install of mysql-libs-5.0.58-1.el5.art conflicts with file from package mysql-5.0.45-7.el5
file /usr/share/mysql/norwegian-ny/errmsg.sys from install of mysql-libs-5.0.58-1.el5.art conflicts with file from package mysql-5.0.45-7.el5
file /usr/share/mysql/norwegian/errmsg.sys from install of mysql-libs-5.0.58-1.el5.art conflicts with file from package mysql-5.0.45-7.el5
file /usr/share/mysql/polish/errmsg.sys from install of mysql-libs-5.0.58-1.el5.art conflicts with file from package mysql-5.0.45-7.el5
file /usr/share/mysql/portuguese/errmsg.sys from install of mysql-libs-5.0.58-1.el5.art conflicts with file from package mysql-5.0.45-7.el5
file /usr/share/mysql/romanian/errmsg.sys from install of mysql-libs-5.0.58-1.el5.art conflicts with file from package mysql-5.0.45-7.el5
file /usr/share/mysql/russian/errmsg.sys from install of mysql-libs-5.0.58-1.el5.art conflicts with file from package mysql-5.0.45-7.el5
file /usr/share/mysql/serbian/errmsg.sys from install of mysql-libs-5.0.58-1.el5.art conflicts with file from package mysql-5.0.45-7.el5
file /usr/share/mysql/slovak/errmsg.sys from install of mysql-libs-5.0.58-1.el5.art conflicts with file from package mysql-5.0.45-7.el5
file /usr/share/mysql/spanish/errmsg.sys from install of mysql-libs-5.0.58-1.el5.art conflicts with file from package mysql-5.0.45-7.el5
file /usr/share/mysql/swedish/errmsg.sys from install of mysql-libs-5.0.58-1.el5.art conflicts with file from package mysql-5.0.45-7.el5
file /usr/share/mysql/ukrainian/errmsg.sys from install of mysql-libs-5.0.58-1.el5.art conflicts with file from package mysql-5.0.45-7.el5
file /usr/bin/mysql_tableinfo from install of mysql-5.0.58-1.el5.art conflicts with file from package mysql-5.0.45-7.el5
file /usr/share/info/mysql.info.gz from install of mysql-5.0.58-1.el5.art conflicts with file from package mysql-5.0.45-7.el5
file /usr/share/man/man1/my_print_defaults.1.gz from install of mysql-5.0.58-1.el5.art conflicts with file from package mysql-5.0.45-7.el5
file /usr/share/man/man1/mysql.1.gz from install of mysql-5.0.58-1.el5.art conflicts with file from package mysql-5.0.45-7.el5
file /usr/share/man/man1/mysql_find_rows.1.gz from install of mysql-5.0.58-1.el5.art conflicts with file from package mysql-5.0.45-7.el5
file /usr/share/man/man1/mysql_tableinfo.1.gz from install of mysql-5.0.58-1.el5.art conflicts with file from package mysql-5.0.45-7.el5
file /usr/share/man/man1/mysql_waitpid.1.gz from install of mysql-5.0.58-1.el5.art conflicts with file from package mysql-5.0.45-7.el5
file /usr/share/man/man1/mysqlaccess.1.gz from install of mysql-5.0.58-1.el5.art conflicts with file from package mysql-5.0.45-7.el5
file /usr/share/man/man1/mysqladmin.1.gz from install of mysql-5.0.58-1.el5.art conflicts with file from package mysql-5.0.45-7.el5
file /usr/share/man/man1/mysqldump.1.gz from install of mysql-5.0.58-1.el5.art conflicts with file from package mysql-5.0.45-7.el5
file /usr/share/man/man1/mysqlshow.1.gz from install of mysql-5.0.58-1.el5.art conflicts with file from package mysql-5.0.45-7.el5
file /usr/include/drm/drm.h from install of kernel-headers-2.6.27.7-9.art conflicts with file from package libdrm-devel-2.0.2-1.1
file /usr/include/drm/drm_sarea.h from install of kernel-headers-2.6.27.7-9.art conflicts with file from package libdrm-devel-2.0.2-1.1
file /usr/include/drm/i915_drm.h from install of kernel-headers-2.6.27.7-9.art conflicts with file from package libdrm-devel-2.0.2-1.1
file /usr/include/drm/mga_drm.h from install of kernel-headers-2.6.27.7-9.art conflicts with file from package libdrm-devel-2.0.2-1.1
file /usr/include/drm/r128_drm.h from install of kernel-headers-2.6.27.7-9.art conflicts with file from package libdrm-devel-2.0.2-1.1
file /usr/include/drm/radeon_drm.h from install of kernel-headers-2.6.27.7-9.art conflicts with file from package libdrm-devel-2.0.2-1.1
file /usr/include/drm/savage_drm.h from install of kernel-headers-2.6.27.7-9.art conflicts with file from package libdrm-devel-2.0.2-1.1
file /usr/include/drm/via_drm.h from install of kernel-headers-2.6.27.7-9.art conflicts with file from package libdrm-devel-2.0.2-1.1
file /usr/include/drm/drm.h from install of kernel-headers-2.6.27.7-9.art conflicts with file from package libdrm-devel-2.0.2-1.1
file /usr/include/drm/drm_sarea.h from install of kernel-headers-2.6.27.7-9.art conflicts with file from package libdrm-devel-2.0.2-1.1
file /usr/include/drm/i915_drm.h from install of kernel-headers-2.6.27.7-9.art conflicts with file from package libdrm-devel-2.0.2-1.1
file /usr/include/drm/mga_drm.h from install of kernel-headers-2.6.27.7-9.art conflicts with file from package libdrm-devel-2.0.2-1.1
file /usr/include/drm/r128_drm.h from install of kernel-headers-2.6.27.7-9.art conflicts with file from package libdrm-devel-2.0.2-1.1
file /usr/include/drm/radeon_drm.h from install of kernel-headers-2.6.27.7-9.art conflicts with file from package libdrm-devel-2.0.2-1.1
file /usr/include/drm/savage_drm.h from install of kernel-headers-2.6.27.7-9.art conflicts with file from package libdrm-devel-2.0.2-1.1
file /usr/include/drm/via_drm.h from install of kernel-headers-2.6.27.7-9.art conflicts with file from package libdrm-devel-2.0.2-1.1
file /usr/share/man/man1/mysql_config.1.gz from install of mysql-server-5.0.58-1.el5.art conflicts with file from package mysql-5.0.45-7.el5

Error Summary
-------------

[root@plesk2 packages]#

which really scares me! Any clues there?
 
Plesk has not updated `mod_jk` psa-tomcat-configurator

I`m using the latest release of CentOS 5 and could not run `yum update` without a complete failure.

The first error message was:
`Package psa-tomcat-configurator needs mod_jk, this is not available.`

I`ve incrementally updated some packages and accomplished only changing the yum error message to:
`....
Downloading Packages:
Running rpm_check_debug
ERROR with rpm_check_debug vs depsolve:
mod_jk is needed by (installed) psa-tomcat-configurator
Complete!
(1, ['Please report this error in bugzilla'])`

The Apache incremental updates will not load until `mod_jk` is updated.

I emailed Parallels - got no response. All the evidence points to Parallels` failure to update `mod-jk`. Until that happens, `yum update` will not run successfully.
 
Back
Top