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

Compatibility with CentOS Plus repository

Discussion in 'Plesk for Linux - 8.x and Older' started by breun, Jul 4, 2007.

  1. breun

    breun Golden Pleskian

    29
     
    Joined:
    Jun 28, 2005
    Messages:
    1,647
    Likes Received:
    0
    I have enabled the CentOS Plus Repository for a couple of CentOS 4 servers in order to upgrade to PHP 5 and MySQL 5. The CentOS Plus repository also has updated httpd, mod_ssl, perl, mod_perl and postgresql packages (amongst others).

    I wonder if a full 'yum update' using CentOS Plus would be compatible with Plesk. The main problem I can see is that httpd from CentOS Plus obsoletes the httpd-suexec package and if Plesk specifically looks for a httpd-suexec during upgrades I expect trouble.

    Can anybody confirm whether Plesk is compatible with a system that's fully upgraded using the CentOS Plus repository?
     
  2. lpittman

    lpittman Guest

    0
     
    Hey breun,

    It would be quite simple to simply setup a machine, install the single domain license of plesk and run the update... :)

    I have a spare HD here I could pop in a machine and try if you want.

    Luke
     
  3. breun

    breun Golden Pleskian

    29
     
    Joined:
    Jun 28, 2005
    Messages:
    1,647
    Likes Received:
    0
    If you have a spare machine you test this on, that'd be great. I don't have any at the moment.
     
  4. lpittman

    lpittman Guest

    0
     
    Sure thing - CentOS 4.5?
     
  5. breun

    breun Golden Pleskian

    29
     
    Joined:
    Jun 28, 2005
    Messages:
    1,647
    Likes Received:
    0
    Yeah, that's the latest currently supported by Plesk, so I'd go with that. I hope there'll be CentOS 5 support soon.
     
  6. lpittman

    lpittman Guest

    0
     
    Had a 4.3 Server CD here so I went with that - if you need something specific, let me know. This should be fine though.

    Can you supply me with the exact repo conf you would like me to test?

    Luke
     
  7. breun

    breun Golden Pleskian

    29
     
    Joined:
    Jun 28, 2005
    Messages:
    1,647
    Likes Received:
    0
    If you install CentOS 4.3 and run 'yum update' afterwards you're running 4.5. :)

    1. Install CentOS 4.3
    2. yum update to CentOS 4.5
    3. Set enabled=1 in the CentOS Plus section of /etc/yum.repos.d/CentOS-Base.repo
    4. yum update everything using the CentOS Plus repository
    5. See if you can install Plesk
     
  8. lpittman

    lpittman Guest

    0
     
    Cool - that's what I was planning.

    I just finished the initial update and will continue here and let you know how it goes.

    Luke
     
  9. lpittman

    lpittman Guest

    0
     
    Looks like the only upgrade that the CentOS Plus channel is offering is perl version 5.8.8-4.el4s1.

    I'll update and try anyway!

    Luke
     
  10. lpittman

    lpittman Guest

    0
     
    So far had to remove

    Code:
    selinux-policy-targeted-1.17.30-2.145.noarch
     
  11. lpittman

    lpittman Guest

    0
     
    Okay - so the installation completed fine with the CentOS Plus version of perl.

    Now I've ran 'yum check-update' and get the following:

    Code:
    yum check-update
    Setting up repositories
    Reading repository metadata in from local files
    
    curl.i386                                7.12.1-11.el4          base
    gd.i386                                  2.0.28-5.4E            base
    httpd.i386                               2.0.59-1.el4s1.5.el4.c centosplus
    httpd-suexec.i386                        2.0.52-32.2.ent.centos update
    mod_perl.i386                            2.0.3-1.el4s1.1        centosplus
    mod_ssl.i386                             1:2.0.59-1.el4s1.5.el4 centosplus
    mysql.i386                               5.0.42-1.el4.centos    centosplus
    mysql-server.i386                        5.0.42-1.el4.centos    centosplus
    ntp.i386                                 4.2.0.a.20040617-6.el4 base
    perl-DBD-MySQL.i386                      3.0008-1.el4.centos    centosplus
    perl-DBI.i386                            1.53-2.el4s1           centosplus
    php.i386                                 5.1.6-3.el4s1.7        centosplus
    php-domxml.i386                          4.3.9-3.22.5           update
    php-gd.i386                              5.1.6-3.el4s1.7        centosplus
    php-imap.i386                            5.1.6-3.el4s1.7        centosplus
    php-mbstring.i386                        5.1.6-3.el4s1.7        centosplus
    php-mysql.i386                           5.1.6-3.el4s1.7        centosplus
    php-pear.noarch                          1:1.4.11-1.el4s1.1     centosplus
    selinux-policy-targeted.noarch           1.17.30-2.145          base
    selinux-policy-targeted-sources.noarch   1.17.30-2.145          base
    
    I assume you want me to go ahead and do this update and see how it goes?

    Luke
     
  12. lpittman

    lpittman Guest

    0
     
    Aite I'm just gonna go ahead with the upgrade and see what happens ... will keep you informed.
     
  13. lpittman

    lpittman Guest

    0
     
    Code:
    Dependencies Resolved
    
    =============================================================================
     Package                 Arch       Version          Repository        Size
    =============================================================================
    Installing:
     httpd                   i386       2.0.59-1.el4s1.5.el4.centos  centosplus        928 k
         replacing  httpd-suexec.i386 2.0.52-28.ent.centos4
    
     php-xml                 i386       5.1.6-3.el4s1.7  centosplus         84 k
         replacing  php-domxml.i386 4.3.9-3.22.4
    
    Updating:
     curl                    i386       7.12.1-11.el4    base              230 k
     gd                      i386       2.0.28-5.4E      base              119 k
     mod_perl                i386       2.0.3-1.el4s1.1  centosplus        4.0 M
     mod_ssl                 i386       1:2.0.59-1.el4s1.5.el4.centos  centosplus         96 k
     mysql                   i386       5.0.42-1.el4.centos  centosplus        2.0 M
     mysql-server            i386       5.0.42-1.el4.centos  centosplus        9.9 M
     ntp                     i386       4.2.0.a.20040617-6.el4  base              1.2 M
     perl-DBD-MySQL          i386       3.0008-1.el4.centos  centosplus        145 k
     perl-DBI                i386       1.53-2.el4s1     centosplus        602 k
     php                     i386       5.1.6-3.el4s1.7  centosplus        1.1 M
     php-gd                  i386       5.1.6-3.el4s1.7  centosplus        102 k
     php-imap                i386       5.1.6-3.el4s1.7  centosplus         48 k
     php-mbstring            i386       5.1.6-3.el4s1.7  centosplus        969 k
     php-mysql               i386       5.1.6-3.el4s1.7  centosplus         77 k
     php-pear                noarch     1:1.4.11-1.el4s1.1  centosplus        345 k
     selinux-policy-targeted  noarch     1.17.30-2.145    base              124 k
     selinux-policy-targeted-sources  noarch     1.17.30-2.145    base              169 k
    Installing for dependencies:
     mysql-libs              i386       5.0.42-1.el4.centos  centosplus        1.5 M
     mysqlclient14           i386       4.1.22-1.el4s1.1  centosplus        1.2 M
     php-cli                 i386       5.1.6-3.el4s1.7  centosplus        2.0 M
     php-common              i386       5.1.6-3.el4s1.7  centosplus        135 k
     php-pdo                 i386       5.1.6-3.el4s1.7  centosplus        219 k
    
    Transaction Summary
    =============================================================================
    Install      7 Package(s)
    Update      17 Package(s)
    Remove       0 Package(s)
    Total download size: 27 M
     
  14. lpittman

    lpittman Guest

    0
     
    I went ahead and performed those upgrades and have rebooted the box to make sure everything gets restarted properly.

    Seems like there are some issues - however Plesk is still functioning.

    I'll check around.
     
  15. lpittman

    lpittman Guest

    0
     
    Looks like named is messed up ...

    Code:
    [root@test /]# service named start
    Starting named: /bin/chown: cannot access `/var/named/run-root/var/named': No such file or directory
                                                               [FAILED]
    [root@test /]#
     
  16. lpittman

    lpittman Guest

    0
     
    I've done a little messing around, but cannot get it working.

    I'll leave it at this point and wait for your reply.
     
  17. lpittman

    lpittman Guest

    0
     
    If you'd like SSH access to the box I can provide it for you to look around.
     
  18. breun

    breun Golden Pleskian

    29
     
    Joined:
    Jun 28, 2005
    Messages:
    1,647
    Likes Received:
    0
    That last issue can come up when you have bind-chroot package installed, I believe. Or maybe SELinux is in the way. Did you disable SELinux before installing Plesk?

    Maybe we should have installed httpd before installing Plesk to see if the installer would have handled the availability of the newer httpd packages which obsoletes httpd-suexec.

    If you could PM me about the credentials I'd like to have a look around.

    Thanks a lot for setting all this up! :)
     
  19. lpittman

    lpittman Guest

    0
     
    Hey dude,

    Have you had a look around the box? Do you need anything else? I'd like to pull that one off the bench if I can. Let me know!

    Luke
     
  20. breun

    breun Golden Pleskian

    29
     
    Joined:
    Jun 28, 2005
    Messages:
    1,647
    Likes Received:
    0
    I was out of town for three days. I'll try to take a look soon.
     
Loading...