1. Please take a little time for this simple survey! Thank you for participating!
    Dismiss Notice
  2. Dear Pleskians, please read this carefully! New attachments and other rules Thank you!
    Dismiss Notice
  3. Dear Pleskians, I really hope that you will share your opinion in this Special topic for chatter about Plesk in the Clouds. Thank you!
    Dismiss Notice

httpd update

Discussion in 'Plesk for Linux - 8.x and Older' started by bisiklet, Nov 12, 2008.

  1. bisiklet

    bisiklet Guest

    0
     
    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
     
  2. fvdijk

    fvdijk Guest

    0
     
    Same problem here on CentOS 5.2
     
  3. atomicturtle

    atomicturtle Golden Pleskian

    29
     
    Joined:
    Nov 20, 2002
    Messages:
    2,110
    Likes Received:
    7
    Location:
    Washington, DC
  4. fvdijk

    fvdijk Guest

    0
     
    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!!
     
  5. faris

    faris Guest

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

    Faris.
     
  6. crnunez

    crnunez Regular Pleskian

    25
    90%
    Joined:
    May 24, 2006
    Messages:
    124
    Likes Received:
    0
    Issue with mod_jk

    I have the same issue. Can someone help me??
     
  7. fvdijk

    fvdijk Guest

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

    rpm -e psa-tomcat-configurator
     
  8. breun

    breun Golden Pleskian

    29
     
    Joined:
    Jun 28, 2005
    Messages:
    1,647
    Likes Received:
    0
    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?

    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?)
     
  9. WaDavid

    WaDavid Guest

    0
     
    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.
     
  10. breun

    breun Golden Pleskian

    29
     
    Joined:
    Jun 28, 2005
    Messages:
    1,647
    Likes Received:
    0
    That's correct, mod_jk-ap20 is a Plesk package.

    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.
     
  11. sschaefer

    sschaefer Guest

    0
     
    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 :) )
     
  12. breun

    breun Golden Pleskian

    29
     
    Joined:
    Jun 28, 2005
    Messages:
    1,647
    Likes Received:
    0
    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.
     
  13. Amin Taheri

    Amin Taheri Golden Pleskian Plesk Certified Professional

    33
     
    Joined:
    Jul 5, 2007
    Messages:
    1,398
    Likes Received:
    1
    Location:
    Seattle Area
    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 :)
     
  14. sergius

    sergius Golden Pleskian

    28
    57%
    Joined:
    Nov 6, 2005
    Messages:
    1,898
    Likes Received:
    0
    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.
     
  15. sergius

    sergius Golden Pleskian

    28
    57%
    Joined:
    Nov 6, 2005
    Messages:
    1,898
    Likes Received:
    0
  16. kuhle

    kuhle Guest

    0
     
    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:
    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: Feb 4, 2009
  17. Amin Taheri

    Amin Taheri Golden Pleskian Plesk Certified Professional

    33
     
    Joined:
    Jul 5, 2007
    Messages:
    1,398
    Likes Received:
    1
    Location:
    Seattle Area
    You cant do that, when you download them use RPM to install them.

    rpm -Uvh package.rpm
     
  18. kuhle

    kuhle Guest

    0
     
    Hi again hostingguy and thanks for this response,

    Sorry for being thick. Sergius said
    so do I want to put them both in /usr/local/psa/var folder and then run
    I'm not sure when/how the package will end up in the right place (or which folder indeed is the right place.
     
  19. kuhle

    kuhle Guest

    0
     
    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

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

    which looked promising, but when I now yum update, I get:
    which really scares me! Any clues there?
     
  20. Managing Director

    Managing Director Guest

    0
     
    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.
     
Loading...