Page 1 of 2

Plesk 9.3 PHP 5.1.6 upgrade to 5.2

Posted: Tue Aug 03, 2010 1:33 pm
by stuthemonkey
I have read a lot of posts about this. and I saw the step by step instructions here: http://www.atomicorp.com/wiki/index.php/PHP

However when I try to do the "yum upgrade php" I get the following errors. I didn't want to do "yum upgrade" as this would be about 300mb of upgrades for the system. I only want to update php at the moment. i'm sure the upgrade of everything would be a good idea, but not the right time to try and do that. and would doing that and upgrading everything mess up plesk at all?

anyway, the error i'm getting when upgrading php is as follows.

Transaction Check Error:
file /usr/share/mysql/ukranian/errmsg.sys from install of mysql-libs-5.1.48-1.el5.art.i386 conflicts with file from package mysql-5.0.77-4.el5_4.1.i386

I get a bunch of these, where the only difference is the folder the errmsg.sys file is in.

I also get the same thing for a couple files in the mysql/charsets/ folder. same conflict.

I want to avoid upgrading mysql if I can. I'm not sure what upgrading mysql to a newer version would do to plesk 9.3. Probably nothing, but don't want to take the risk if I don't have to.

Re: Plesk 9.3 PHP 5.1.6 upgrade to 5.2

Posted: Wed Aug 04, 2010 9:19 am
by scott
x86_64 box by any chance? or did you change the priorities in the yum configs?

Re: Plesk 9.3 PHP 5.1.6 upgrade to 5.2

Posted: Wed Aug 04, 2010 11:23 am
by stuthemonkey
good question. its a vm. So not entirely sure.

Its a Xeon E5310 1.6ghz vm. Running CentOS 5. Plesk identifies the OS as Linux 2.6.9-023stab044.11-enterprise.

but since the original files were i386, and the new ones were i386, would the 64 be an issue?

i haven't changed anything in the yum configs. just did the wget step to add atomic and then tried to update php.

Re: Plesk 9.3 PHP 5.1.6 upgrade to 5.2

Posted: Tue May 24, 2011 3:01 pm
by qlex
hi,
was just wondering if anybody has hints on how to actually update that php to a newer version than 5.1.6.
I also stumbled upon the same problem that stuthemonkey mentioned.

Just to be clear, my php-powered CMS system requires a php of at least 5.2.x so I guess this is the php for vhosts (httpd) rather than the plesk php that needs to be updated to a higher version.

I also tried to remove php by using yum remove php and then yum install php53 but this caused plesk panel to break down (i needed to restore container in plesk power panel).

Thanx for any tips,
Qlex

Re: Plesk 9.3 PHP 5.1.6 upgrade to 5.2

Posted: Tue May 24, 2011 8:08 pm
by scott

Re: Plesk 9.3 PHP 5.1.6 upgrade to 5.2

Posted: Wed May 25, 2011 9:06 am
by qlex
scott, i already did follow that tutorial.
First, the step 2) yum update php failed with incompatibiltiy error.

When i first fiddlered around with it, i updated php to 5.3.6 i believe, but had then troubles logging to Plesk Panel 9.3. It was giving me error 500 messages etc.
And finally I had to recover to previous backed up version of my container using restore method from Plesk Power Panel.

Now, when trying to follow atomicorp tutorial again, im even stuck at 1) step at:
Installing the Atomic GPG key: ....

Please help ?
Maybe it would make more sense to use update feature in Plesk Panel 9.3. to update straight away to version 10 ?

Regards,
qlex

Re: Plesk 9.3 PHP 5.1.6 upgrade to 5.2

Posted: Wed May 25, 2011 2:41 pm
by scott
Whats the error?

Re: Plesk 9.3 PHP 5.1.6 upgrade to 5.2

Posted: Wed May 25, 2011 2:49 pm
by mikeshinn
When i first fiddlered around with it, i updated php to 5.3.6 i believe, but had then troubles logging to Plesk Panel 9.3. It was giving me error 500 messages etc.
I know in one case that plesk will 500 error if the wrong fastcgi is being used with it. If you havent already, double check the version.

Re: Plesk 9.3 PHP 5.1.6 upgrade to 5.2

Posted: Wed May 25, 2011 4:19 pm
by qlex
When following your tutorial, i complete step 1) and go to step 2) yum update, but i use sudo yum update instead of just yum update and receive this error:
http://pastie.org/1973075

when trying to do yum install php53 i get this:
http://pastie.org/1973086

EDIT: THE BELOW MESSAGE IS NOT VALID ANYMORE.
I have written to my provider and they updated the licence and i can login to Plesk 10.
The problem with PHP being 5.1.6 remains.


After successfully running the update of plesk panel from 9.3 to 10 (i received an email with subject "the Panel was successfully updated." I manage to login to Parallels Power Panel, from where I login to Plesk 10.0.0.
After loggin ing i get this error:

This Panel instance is installed in a PVC Container. The current Container offline management settings make the Panel unavailable.

If you have sufficient privileges to modify the Container configuration, change the offline management settings. Otherwise, contact your provider to do this.


Could you help me out ?
qlex

Re: Plesk 9.3 PHP 5.1.6 upgrade to 5.2

Posted: Thu May 26, 2011 9:51 am
by scott
Great, thanks for the report, thats what I needed. As a work around, just run regular old:

yum upgrade

Dont specify the package name after anything, run exactly: yum upgrade

Re: Plesk 9.3 PHP 5.1.6 upgrade to 5.2

Posted: Fri May 27, 2011 2:55 am
by qlex
scott, when typing wget .... the process seems to freeze at:
Installing the Atomic GPG key:

Maybe this is because I already did that several times before.
When i type: yum upgrade, i now only get:

[root@vps147363 ~]# yum upgrade
Loaded plugins: fastestmirror

Re: Plesk 9.3 PHP 5.1.6 upgrade to 5.2

Posted: Fri May 27, 2011 9:52 am
by scott
Id contact your provider, it sounds like they might have broken the rpm database

Re: Plesk 9.3 PHP 5.1.6 upgrade to 5.2

Posted: Sat May 28, 2011 5:08 am
by paulie
Hi qlex,

Your VPS keeled over during the yum update (probably due to lack of resources, whats the spec of your VPS?) . Your providers should be able to fix it, but you can do it yourself (you've got at the very least an rpm lock and possibly a corrupt rpm database).

To fix : (Back up your VPS first)

Code: Select all

init 1
cd /var/lib/rpm
rm __db*

rpm --rebuilddb
init 3
However the same thing is likely to happen again I'm afraid.

Re: Plesk 9.3 PHP 5.1.6 upgrade to 5.2

Posted: Mon May 30, 2011 3:55 am
by qlex
i managed (with help of provider) to clean up issues with rpm.

when i run yum upgrade and i type "yes" to install 229M total size of upgrades (all packages including php 5.3.6-3.el5.art packages are listed) i get:

Code: Select all

Downloading packages
Running rpm_check_debug
Running Transaction Test
Killed
What could be the reason ?
My provider offered that he can resolve this for me for a fee and evaluated it should be done within 1 hour. Should i just accept and also ask to enable/install tomcat with java ?

Qlex

Re: Plesk 9.3 PHP 5.1.6 upgrade to 5.2

Posted: Mon May 30, 2011 10:22 am
by scott
That sounds like something is still broken on the server. Or maybe someone killed the process while you were running it. I'd let them investigate it if they're offering