Plesk 9.3 PHP 5.1.6 upgrade to 5.2

Community support for Plesk, CPanel, WebMin and others with insight from two of the founders of Plesk. Ask for help here! No question is too simple or complicated. :-)
stuthemonkey
New Forum User
New Forum User
Posts: 2
Joined: Tue Aug 03, 2010 1:24 pm

Plesk 9.3 PHP 5.1.6 upgrade to 5.2

Unread post 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.
scott
Atomicorp Staff - Site Admin
Atomicorp Staff - Site Admin
Posts: 8355
Joined: Wed Dec 31, 1969 8:00 pm
Location: earth
Contact:

Re: Plesk 9.3 PHP 5.1.6 upgrade to 5.2

Unread post by scott »

x86_64 box by any chance? or did you change the priorities in the yum configs?
stuthemonkey
New Forum User
New Forum User
Posts: 2
Joined: Tue Aug 03, 2010 1:24 pm

Re: Plesk 9.3 PHP 5.1.6 upgrade to 5.2

Unread post 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.
qlex
Forum User
Forum User
Posts: 11
Joined: Tue May 24, 2011 2:58 pm
Location: Poland

Re: Plesk 9.3 PHP 5.1.6 upgrade to 5.2

Unread post 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
scott
Atomicorp Staff - Site Admin
Atomicorp Staff - Site Admin
Posts: 8355
Joined: Wed Dec 31, 1969 8:00 pm
Location: earth
Contact:

Re: Plesk 9.3 PHP 5.1.6 upgrade to 5.2

Unread post by scott »

qlex
Forum User
Forum User
Posts: 11
Joined: Tue May 24, 2011 2:58 pm
Location: Poland

Re: Plesk 9.3 PHP 5.1.6 upgrade to 5.2

Unread post 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
scott
Atomicorp Staff - Site Admin
Atomicorp Staff - Site Admin
Posts: 8355
Joined: Wed Dec 31, 1969 8:00 pm
Location: earth
Contact:

Re: Plesk 9.3 PHP 5.1.6 upgrade to 5.2

Unread post by scott »

Whats the error?
User avatar
mikeshinn
Atomicorp Staff - Site Admin
Atomicorp Staff - Site Admin
Posts: 4155
Joined: Thu Feb 07, 2008 7:49 pm
Location: Chantilly, VA

Re: Plesk 9.3 PHP 5.1.6 upgrade to 5.2

Unread post 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.
qlex
Forum User
Forum User
Posts: 11
Joined: Tue May 24, 2011 2:58 pm
Location: Poland

Re: Plesk 9.3 PHP 5.1.6 upgrade to 5.2

Unread post 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
scott
Atomicorp Staff - Site Admin
Atomicorp Staff - Site Admin
Posts: 8355
Joined: Wed Dec 31, 1969 8:00 pm
Location: earth
Contact:

Re: Plesk 9.3 PHP 5.1.6 upgrade to 5.2

Unread post 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
qlex
Forum User
Forum User
Posts: 11
Joined: Tue May 24, 2011 2:58 pm
Location: Poland

Re: Plesk 9.3 PHP 5.1.6 upgrade to 5.2

Unread post 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
scott
Atomicorp Staff - Site Admin
Atomicorp Staff - Site Admin
Posts: 8355
Joined: Wed Dec 31, 1969 8:00 pm
Location: earth
Contact:

Re: Plesk 9.3 PHP 5.1.6 upgrade to 5.2

Unread post by scott »

Id contact your provider, it sounds like they might have broken the rpm database
paulie
Forum User
Forum User
Posts: 76
Joined: Tue Apr 20, 2010 2:49 am

Re: Plesk 9.3 PHP 5.1.6 upgrade to 5.2

Unread post 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.
qlex
Forum User
Forum User
Posts: 11
Joined: Tue May 24, 2011 2:58 pm
Location: Poland

Re: Plesk 9.3 PHP 5.1.6 upgrade to 5.2

Unread post 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
scott
Atomicorp Staff - Site Admin
Atomicorp Staff - Site Admin
Posts: 8355
Joined: Wed Dec 31, 1969 8:00 pm
Location: earth
Contact:

Re: Plesk 9.3 PHP 5.1.6 upgrade to 5.2

Unread post 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
Post Reply