Hi all,
My problem started when I wanted to upgrade PHP 5.3.x to 5.4.x
I followed this Parallels guide "How to upgrade PHP to PHP 5.4 on CentOS 5 from remi repository" found here http://kb.parallels.com/en/115833
After executing step 4 which is:
4. Remove all PHP 5.3 components and the PHP 5.3 configurator:
I've lost the following:
1- yum
2- rpm
3- plesk access
1- when I type yum, i get:
[root~]# yum
error: Unable to open /usr/lib/rpm/rpmrc for reading: No such file or directory.
error: no dbpath has been set
error: cannot open Packages database in /%{_dbpath}
CRITICAL:yum.main:
Error: rpmdb open failed
[root~]#
2- When I type rpm, I get:
[root~]# rpm
-bash: rpm: command not found
[root~]#
3- when accessing plesk via he web, I get:
ERROR: Service_Agent_Exception
Up Level
Unable to read components configuration from the service node: error: Unable to open /usr/lib/rpm/rpmrc for reading: No such file or directory.
Fatal error: plesk::InternalRpmError(Internal RPM error: Unable to open /usr/lib/rpm/rpmrc for reading: No such file or directory.
)
Please help me I am in serious trouble as this server is very important for us and we invested a lot of time to prepare it for the launch of our websites and online operations.
I am running Centos 6.4 64bit.
Regards,
RA
My problem started when I wanted to upgrade PHP 5.3.x to 5.4.x
I followed this Parallels guide "How to upgrade PHP to PHP 5.4 on CentOS 5 from remi repository" found here http://kb.parallels.com/en/115833
After executing step 4 which is:
4. Remove all PHP 5.3 components and the PHP 5.3 configurator:
Code:
rpm -e --nodeps `rpm -qa | grep psa-php53-configurator-`
rpm -e `rpm -qa | grep 'php53-' | xargs`
I've lost the following:
1- yum
2- rpm
3- plesk access
1- when I type yum, i get:
[root~]# yum
error: Unable to open /usr/lib/rpm/rpmrc for reading: No such file or directory.
error: no dbpath has been set
error: cannot open Packages database in /%{_dbpath}
CRITICAL:yum.main:
Error: rpmdb open failed
[root~]#
2- When I type rpm, I get:
[root~]# rpm
-bash: rpm: command not found
[root~]#
3- when accessing plesk via he web, I get:
ERROR: Service_Agent_Exception
Up Level
Unable to read components configuration from the service node: error: Unable to open /usr/lib/rpm/rpmrc for reading: No such file or directory.
Fatal error: plesk::InternalRpmError(Internal RPM error: Unable to open /usr/lib/rpm/rpmrc for reading: No such file or directory.
)
Please help me I am in serious trouble as this server is very important for us and we invested a lot of time to prepare it for the launch of our websites and online operations.
I am running Centos 6.4 64bit.
Regards,
RA