Page 1 of 2

CentOS 5.3

Posted: Thu Apr 02, 2009 6:00 pm
by JnascECSI
So has anyone updated a 5.2 box with plesk 8.6 yet and how did it go? Just looking to see if it's a good time to yum the box yet or not.

Re: CentOS 5.3

Posted: Fri Apr 03, 2009 1:07 am
by DerFalk
I did not do it right now, but some hint from other forums is to:

Code: Select all

yum -y update yum
yum clean all
yum -y update glibc
yum -y update

Re: CentOS 5.3

Posted: Fri Apr 03, 2009 12:05 pm
by JnascECSI
Yea dude, totally aware how to yum a server. Was looking to see if anyone had any problems after doing so.

Re: CentOS 5.3

Posted: Fri Apr 03, 2009 1:36 pm
by Kalimari
Great stuff. Additionally it's probably worth noting that running yum -y update will "upgrade" qmail to postfix if you are using Plesk 9.X. This will get around that small issue:

Code: Select all

yum -y update yum
yum clean all
yum -y update glibc
yum -y update --exclude=psa-mail-pc-driver
If that doesn't work, just reconfigure the system with qmail afterwards with:

Code: Select all

/usr/local/psa/admin/sbin/autoinstaller --select-release-current --install-component qmail

Re: CentOS 5.3

Posted: Mon Apr 06, 2009 2:51 am
by DerFalk
ok, good to know...!

Is there anybody put there how has done it with Plesk 8.6 without any Problems?

Re: CentOS 5.3

Posted: Mon Apr 06, 2009 9:40 am
by breun
All of our CentOS 5 servers are now running CentOS 5.3. I had no problems. I love CentOS.

Re: CentOS 5.3

Posted: Mon Apr 06, 2009 1:31 pm
by DerFalk
Did you restart your Servers or just update them?

Re: CentOS 5.3

Posted: Mon Apr 06, 2009 1:50 pm
by breun
The only reason to restart a server is to boot using another kernel. Only the machines that received a new kernel were restarted to boot into the new kernel. Machines running the ASL kernel did not get a new kernel, so there was no reason to reboot those. Don't forget to restart any upgraded daemons if you don't reboot.

Re: CentOS 5.3

Posted: Mon Apr 06, 2009 2:04 pm
by DerFalk
I have a virtual maschine and i do not have ASL, just the great Atomic-repo.

... ok i think an "init 6" should be great... or just a "/etc/init.d/xinetd restart"?

Re: CentOS 5.3

Posted: Tue Apr 07, 2009 7:36 am
by JnascECSI
Well gave it a shot and all went smoothly, don't seem to have any problems at all after the update. I guess the next thing will be to decide if we're ready to go to plesk 9 :roll: or should wait until the migration manager is back in 9 which i could'nt live without.

Re: CentOS 5.3

Posted: Tue Apr 07, 2009 3:09 pm
by hostingguy
I upgraded two dozen servers the other day after our dev and staging and test deployments went smoothly.

it went equally on 9.0.1 and 8.6.0 boxes
like most others have said, I did the following to update

Code: Select all

yum -y install yum-allowdowngrade yum-changelog yum-downloadonly yum-utils && yum clean all
yum -y update glibc\* && yum -y update
There were several boxes that stalled during the installation that Crtl C and Ctrl Z wouldnt get me out of. For those I opened a new terminal to the same box and did this

Code: Select all

kill -9 `ps aux | grep rpm | grep -v grep | awk '{print $2}'`
kill -9 `ps aux | grep yum | grep -v grep | awk '{print $2}'`

rm -f /var/run/yum.pid
rm -f /var/lib/rpm/__db*
rpm --initdb
rpm --rebuilddb
Then because I installed the yum-utils above I only had to run yum-complete-transaction and it finished everything for me.

I do love that handy utility :)

Re: CentOS 5.3

Posted: Tue May 05, 2009 11:31 am
by daffoml
I've got a box that has Cent 4.2 + plesk 8.6

I know if I just do a yum update I'll get to Cent 4.7, is there a way I can make it upgrade to 5.3?

Thanks!

Re: CentOS 5.3

Posted: Tue May 05, 2009 11:45 am
by hostingguy
I think you can go download the centos-release from 5.3 and then try an upgrade but test that first before yuo try for real :p

Re: CentOS 5.3

Posted: Tue May 05, 2009 12:37 pm
by breun
daffoml wrote:I know if I just do a yum update I'll get to Cent 4.7, is there a way I can make it upgrade to 5.3?
There is a way, but it's not supported by CentOS and I don't recommend doing it on a production server.

Re: CentOS 5.3

Posted: Wed May 06, 2009 2:18 pm
by damon
On a new Centos 5.2 box I tried to dow this and Yum acts like there is nothing to upgrade.

Code: Select all

[ ~]# yum -y update yum
Loading "fastestmirror" plugin
Loading mirror speeds from cached hostfile
 * extras: chi-10g-1-mirror.fastsoft.net
 * plesk: www4.atomicorp.com
 * atomic: www3.atomicorp.com
 * asl-2.0: atomicorp.com
Setting up Update Process
Could not find update match for yum
No Packages marked for Update

Code: Select all

~]# yum -y update glibc
Loading "fastestmirror" plugin
Loading mirror speeds from cached hostfile
 * extras: chi-10g-1-mirror.fastsoft.net
 * plesk: www4.atomicorp.com
 * atomic: www3.atomicorp.com
 * asl-2.0: atomicorp.com
Setting up Update Process
Could not find update match for glibc
No Packages marked for Update
cat /etc/redhat-release still shows Centos 5.2 (final)