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

CentOS Updates

Discussion in 'Plesk 9.x for Linux Issues, Fixes, How-To' started by theywill, Jul 5, 2010.

  1. theywill

    theywill Basic Pleskian

    25
     
    Joined:
    Dec 24, 2002
    Messages:
    65
    Likes Received:
    0
    I am running Plesk 9.5.2 on CentOS 5.4. Recently some security updates have been released for CentOS, and I wanted to install these. I can do this via yum, but I wanted to see if anyone had advice about maintaining Plesk while using yum to update the OS. I wouldn't want to break Plesk or install an update that would keep Plesk from updating later.

    Any specific advice?

    Thanks so much.
     
  2. IgorG

    IgorG Forums Analyst Staff Member

    49
    24%
    Joined:
    Oct 27, 2009
    Messages:
    24,546
    Likes Received:
    1,240
    Location:
    Novosibirsk, Russia
    You can safely use yum for CentOS updating.
     
  3. ludot

    ludot Guest

    0
     
    hi,

    I'm new to plesk and I'd like to know if there is a special order for updates??
    Do I have to do a YUM then the plesk updates, or shall I start with updating plesk and then YUM???

    I tried first to update plesk to 9.5.2 and then to update with yum update, mysql got ****ed and psa refuses to start!

    Now I started to do a yum update first and it sounds OK at the moment ;)
    SQL is updated (to 5.0.77) but not php! Then I do a yum update php and php is now updated to 5.2.13

    Now I'm updating plesk from 9.0 to 9.5.2 step by step with the update manager in plesk admin
    - After update 9.2.1, I met a bug with open_ssl but I found the solution here (SOLUTION => http://kb.odin.com/en/8338)
    - After update 9.3, when I restart apache, I have a message saying "mod_ssl already loaded"! I don't really know what this is about??
    - Then updates to 9.5.2 are well done and everything seemed to work !
    - Then when I tried to redo a yum update, and I could find a new version of mysql 5.1.48 but when I installed it my psa service refuse to start now!
    What can I do to update properly centos + plesk + php + mysql??
    Thanks for help ;)
     
    Last edited by a moderator: Jul 9, 2010
  4. danliker

    danliker Silver Pleskian Plesk Certified Professional

    33
    43%
    Joined:
    Feb 15, 2006
    Messages:
    575
    Likes Received:
    0
    Location:
    Switzerland
  5. ludot

    ludot Guest

    0
     
    Thanks for your link ;)
    Can you tell me if there is a special order for updates ?
    Plesk first or YUM first??
    Thanks
     
  6. danliker

    danliker Silver Pleskian Plesk Certified Professional

    33
    43%
    Joined:
    Feb 15, 2006
    Messages:
    575
    Likes Received:
    0
    Location:
    Switzerland
    we do all over yum (atomic plesk repo)
     
    Last edited: Jul 9, 2010
  7. ludot

    ludot Guest

    0
     
    oups sorry I don't understand!!
     
  8. atomicturtle

    atomicturtle Golden Pleskian

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

    ludot Guest

    0
     
    Hi,

    thanks for your answer ;)
    sorry for my english but there might be a misunderstanding!
    I don't want to install plesk through yum! Basically, I have a dedicated server at 1&1 with centos and plesk already installed. I just want to update my server!

    If I understand well, I can update centos through yum and I can update plesk with the plesk admin.
    I wanted to know

    1/ Update Centos
    # yum update
    Update ok => mysql 5.0.77 updated but not php (version 5.1.6 still installed)

    2/ Update php
    #wget -q -O - http://www.atomicorp.com/installers/atomic.sh | sh
    #yum update php
    #/etc/init.d/httpd restart

    Update ok =>php = 5.2.13

    3/ Install plesk update
    3.1/ Version 9.0.1 => update OK
    • Base packages of Plesk
    • Plesk Updater
    • Apache ASP support
    • Plesk Firewall module
    • Watchdog (System monitoring module)

    3.2/ Version 9.2.1 => update NOT OK because of a bug with openssl update (PSA don’t start anymore after plesk update 9.2.1)
    SOLUTION => http://kb.odin.com/en/8338
    #wget -c http://kb.odin.com/Attachments/12669/Attachments/sw-cp-server-1.0-6.201004011130.centos5.x86_64.rpm
    #rpm -Uhv sw-cp-server-1.0-6.201004011130.centos5.x86_64.rpm

    • Base packages of Plesk
    • Plesk Updater
    • Plesk API [former Plesk Agent]
    • Plesk migration manager
    • Plesk Firewall module
    • Watchdog (System monitoring module)
    • Plesk Backup Manager
    • French language pack
    • Horde webmail support

    3.3/ Version 9.2.2 => update OK
    • Base packages of Plesk
    • Plesk Updater
    • Plesk API [former Plesk Agent]
    • Plesk migration manager
    • Plesk Firewall module
    • Watchdog (System monitoring module)
    • Plesk Backup Manager
    • French language pack
    • Horde webmail support

    3.4/ Version 9.2.3 => update OK
    • Base packages of Plesk
    • Plesk Updater
    • Plesk API [former Plesk Agent]
    • Plesk migration manager
    • Plesk Firewall module
    • Watchdog (System monitoring module)
    • Plesk Backup Manager
    • French language pack
    • Horde webmail support

    3.5/ Version 9.5.1 => update OK but message mod_ssl already loaded after restarting apache !!!
    SOLUTION : http://www.atomicorp.com/forums/viewtopic.php?f=3&t=4078
    Plesk apparently added a LoadModule ssl_module statement to /etc/httpd/conf/httpd.conf at some point, while this module is also being loaded in /etc/httpd/conf.d/ssl.conf (from the mod_ssl package). So comment out this line : LoadModule ssl_module statement in /etc/httpd/conf/httpd.conf
    • Base packages of Plesk
    • Plesk Updater
    • Plesk API [former Plesk Agent]
    • Plesk migration manager
    • Plesk Firewall module
    • Watchdog (System monitoring module)
    • Plesk Backup Manager
    • French language pack
    • Horde webmail support

    3.6/ Version 9.5.2 => update OK
    • Base packages of Plesk
    • Plesk Updater
    • Plesk API [former Plesk Agent]
    • Plesk migration manager
    • Plesk Firewall module
    • Watchdog (System monitoring module)
    • Plesk Backup Manager
    • French language pack
    • Horde webmail support
    • PHP5 support

    3.7/ yum update
    If I do one more yum update, mysql is updated to 5.1 and then plesk refuses to start! I guess I have to apply this mysql patch here http://www.atomicorp.com/wiki/index.php/Mysql. I will try and tell here ;)

    Can anybody see any mistake in my procedure?? Or any advice??

    Thanks
     
  10. ludot

    ludot Guest

    0
     
    Some news...
    I followed the procedure to update mysql 5.1 and it's workin ;)
    I had some error at the step 4 for the plesk users (mysql_upgrade -u admin -p) but plesk was still workin (like my site) with the lastest mysql 5.1.48...

    I now have to redo the procedure on my prod server... Hope its gonna work too...
     
  11. ludot

    ludot Guest

    0
     
    It sounds like there are some troubles. It's not that simple... I tried to redo the procedure and I have a problem with step 4 (mysql_upgrade -u admin -p)!
    I cannot apply this task. I just can apply step 4 in 6th position (after step 5 = restarting mysql service)

    STEP 4 : mysql_upgrade -u admin -p => FAILED
    STEP 5 : /etc/init.d/mysqld restart => OK
    Then if I try to restart mysql, mysql failed to reload: I have to stop first and then start mysql service! So plesk can load back OK

    STEP 6 : mysql_upgrade -u admin -p
    And then if I try to run this command again, it is accepted and I have lots of information....
    I guess I have to repair the tables....and some other table like plesk ones probably don't have to be changed and/or cannot be repaired..!!??? I'm getting lost and don't know what to do.... My sites and plesk are working good but what do I have to do?? To skip those messages??? Any advice??? Thanks ;)

     
  12. ludot

    ludot Guest

    0
     
  13. ludot

    ludot Guest

    0
     
    Delete those 2 lines 11 & 20 ???? (skip-bdb)

    In the original tutorial to update Mysql, I just noticed that this line "skip-bdb" is actually written twice (line 11& 20) in the file /etc/my.cnf I guess we have to delete (or comment) those 2 lines!!!!??? It's workin but just to be sure, can someone confirm this???
    Step 3) MySQL 5.1 removed the BERKLEY storage engine. Since it was not commonly used, to save resources it was recommended this be turned off. You must comment the following out or remove it from /etc/my.cnf or MySQL 5.1 will not start!
     
  14. ludot

    ludot Guest

    0
     
    I found some troubles with HORDE...

    1/ HORDE PROBLEM WHEN CHECK SQL : Just one thing I don't understand is when I try to check the sql database, I got an error with horde
    2/ HORDE LANGUE PROBLEM : "Sent folder" cannot be created (after replying to an e-mail) because of the special caracter é used in french (Envoyés) I have found the solution but I cannot find the file on my server... http://lists.horde.org/archives/bugs/Week-of-Mon-20081117/041047.html
     
Loading...