Page 1 of 1
Plesk 8.3 RHEL4 PHP/MySQL upgrade
Posted: Wed Jan 02, 2008 3:29 pm
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
Posted: Wed Jan 02, 2008 6:30 pm
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.
Posted: Wed Jan 02, 2008 8:28 pm
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.
Posted: Fri Jan 04, 2008 7:40 pm
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?
Posted: Sat Jan 05, 2008 10:47 am
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
Posted: Sat Jan 05, 2008 11:23 pm
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

Posted: Sun Jan 06, 2008 10:49 am
by scott
Run: /etc/init.d/httpd start
see what the error is
httpd restart
Posted: Sun Jan 06, 2008 5:23 pm
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)
