Plesk 8.3 RHEL4 PHP/MySQL upgrade

Support/Development for PHP
Kalimari
Forum Regular
Forum Regular
Posts: 526
Joined: Wed Jan 02, 2008 3:21 pm
Location: United Kingdom

Plesk 8.3 RHEL4 PHP/MySQL upgrade

Unread post by Kalimari »

Hi,

Have a strange error when upgrading PHP/MySQL to version 5 under Plesk 8.3/RHEL4. I have added yum/atomic package as outlined in instructions, but when I run any yum commands I always get the following error:

yum update php
Setting up Update Process
Setting up repositories
http://www.atomicorp.com/channels/plesk ... repomd.xml: [Errno 14] HTTP Error 404: Not Found

The URL seems to be wrong ~/redhat/Null/i386/~ and I cannot remove yum as it has a dependency with the atomic package and it's left me a little stumped as I am unable to retry/install or update anything.

Haven't seen any other users with this problem. Any advice or tips would be gratefully received.

Thanks
scott
Atomicorp Staff - Site Admin
Atomicorp Staff - Site Admin
Posts: 8355
Joined: Wed Dec 31, 1969 8:00 pm
Location: earth
Contact:

Unread post by scott »

Yeah rhel4 is still the odd man out with yum. It cant handle the variables you normally pass in with yum. Replace $releasever with 4 on that platform.
Kalimari
Forum Regular
Forum Regular
Posts: 526
Joined: Wed Jan 02, 2008 3:21 pm
Location: United Kingdom

Unread post by Kalimari »

Thanks Scott,

That did the trick. PHP has been upgraded to 5.2.5, for anyone else with this problem, edit the baseurl in /etc/yum.repos.d/plesk.repo, replace $releasever with 4.
redman18
Forum User
Forum User
Posts: 11
Joined: Fri Jan 04, 2008 7:32 pm

Unread post by redman18 »

scott wrote:Yeah rhel4 is still the odd man out with yum. It cant handle the variables you normally pass in with yum. Replace $releasever with 4 on that platform.
Hi! Dose this apply also for servers:
psa v8.3.0_build83071218.18 os_CentOS 4.3
Linux 2.6.9-42.ELsmp

I looked in directory /etc/yum.repos.d/, but there were not plesk.repo

there were:
CentOS-Base.repo
CentOS-Media.repo

do I need replace string '$releasever' with '4'?

there are many such strings - all of them?
scott
Atomicorp Staff - Site Admin
Atomicorp Staff - Site Admin
Posts: 8355
Joined: Wed Dec 31, 1969 8:00 pm
Location: earth
Contact:

Unread post by scott »

Doesn't apply for centos, since it supports yum natively. To add the plesk repo run:

wget -q -O - http://www.atomicorp.com/installers/atomic |sh
redman18
Forum User
Forum User
Posts: 11
Joined: Fri Jan 04, 2008 7:32 pm

Unread post by redman18 »

Thanks!

Installation were ok.
But now I have some problems with Apache :(
I can not start up it:

ERROR: PleskFatalException

Unable to make action: Unable to manage service by websrvmng: websrvmng: Service /etc/init.d/httpd failed to start

0: /usr/local/psa/admin/plib/common_func.php3:158
psaerror(string 'Unable to make action: Unable to manage service by websrvmng: websrvmng: Service /etc/init.d/httpd failed to start')
1: /usr/local/psa/admin/htdocs/server/restart_services.php:28

Please - help if You can - I think there are some problems with syntaxe after upgrade :(
scott
Atomicorp Staff - Site Admin
Atomicorp Staff - Site Admin
Posts: 8355
Joined: Wed Dec 31, 1969 8:00 pm
Location: earth
Contact:

Unread post by scott »

Run: /etc/init.d/httpd start

see what the error is
redman18
Forum User
Forum User
Posts: 11
Joined: Fri Jan 04, 2008 7:32 pm

httpd restart

Unread post by redman18 »

Thanks for suggestion :)

There some other problems
There is not working restart of httpd service.

on all kind of comands there is answer -

bash: httpd: command not found
bash: service: command not found
etc.

(I tried different possibilities - what I have found in web - still trying to find something) :)
Post Reply