hi team,
i have to upgrade PHP to the latest version in my nagios xi 5.7.1 version which is centos 7.8 release. when i am updating the version i am getting the below error :
Error: Package: php-mysql-5.4.45-18.el7.remi.x86_64 (remi)
Requires: php-pdo(x86-64) = 5.4.45-18.el7.remi
Removing: php-pdo-5.4.16-48.el7.x86_64 (@base)
php-pdo(x86-64) = 5.4.16-48.el7
Updated By: php-pdo-7.4.9-1.el7.remi.x86_64 (remi-php74)
php-pdo(x86-64) = 7.4.9-1.el7.remi
Available: php-pdo-5.4.45-18.el7.remi.x86_64 (remi)
php-pdo(x86-64) = 5.4.45-18.el7.remi
Available: php-pdo-7.2.32-1.el7.remi.x86_64 (remi-php72)
php-pdo(x86-64) = 7.2.32-1.el7.remi
Available: php-pdo-7.2.33-1.el7.remi.x86_64 (remi-php72)
php-pdo(x86-64) = 7.2.33-1.el7.remi
Available: php-pdo-7.4.8-2.el7.remi.x86_64 (remi-php74)
php-pdo(x86-64) = 7.4.8-2.el7.remi
Error: Package: php-mssql-5.4.45-18.el7.remi.x86_64 (remi)
Requires: php-pdo(x86-64) = 5.4.45-18.el7.remi
Removing: php-pdo-5.4.16-48.el7.x86_64 (@base)
php-pdo(x86-64) = 5.4.16-48.el7
Updated By: php-pdo-7.4.9-1.el7.remi.x86_64 (remi-php74)
php-pdo(x86-64) = 7.4.9-1.el7.remi
Available: php-pdo-5.4.45-18.el7.remi.x86_64 (remi)
php-pdo(x86-64) = 5.4.45-18.el7.remi
Available: php-pdo-7.2.32-1.el7.remi.x86_64 (remi-php72)
php-pdo(x86-64) = 7.2.32-1.el7.remi
Available: php-pdo-7.2.33-1.el7.remi.x86_64 (remi-php72)
php-pdo(x86-64) = 7.2.33-1.el7.remi
Available: php-pdo-7.4.8-2.el7.remi.x86_64 (remi-php74)
php-pdo(x86-64) = 7.4.8-2.el7.remi
PHP upgrade on nagios xi
-
- Posts: 5324
- Joined: Wed Aug 22, 2018 4:39 pm
- Location: saint paul
Re: PHP upgrade on nagios xi
Hi,
So just to clarify so I have a good understanding of the issue.
1. You had upgraded to PHP lastest version. Which version are you using? And when did you upgrade?
2. Nagios xi failed to upgrade to 5.7.1. If you have the full upgrade log still, that would be helpful.
Additionally, how did you upgrade PHP on this server? Did you follow the instructions on our kb?
https://support.nagios.com/kb/article/n ... 7-860.html
Thanks, Benjamin
So just to clarify so I have a good understanding of the issue.
1. You had upgraded to PHP lastest version. Which version are you using? And when did you upgrade?
2. Nagios xi failed to upgrade to 5.7.1. If you have the full upgrade log still, that would be helpful.
Additionally, how did you upgrade PHP on this server? Did you follow the instructions on our kb?
https://support.nagios.com/kb/article/n ... 7-860.html
Thanks, Benjamin
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.
Be sure to check out our Knowledgebase for helpful articles and solutions!
Be sure to check out our Knowledgebase for helpful articles and solutions!
-
- Posts: 184
- Joined: Sun Jan 07, 2018 12:56 pm
Re: PHP upgrade on nagios xi
I am running nagios xi 5.7.1 and would not like to upgrade the Nagios server. i am running PHP 5.4.16 and would like to upgrade to the latest version of PHP.
I have followed the given article to upgrade the PHP version and got the error in the logs:
Error: Package: php-mysql-5.4.45-18.el7.remi.x86_64 (remi)
Requires: php-pdo(x86-64) = 5.4.45-18.el7.remi
Removing: php-pdo-5.4.16-48.el7.x86_64 (@base)
php-pdo(x86-64) = 5.4.16-48.el7
Updated By: php-pdo-7.4.10-1.el7.remi.x86_64 (remi-php74)
php-pdo(x86-64) = 7.4.10-1.el7.remi
Available: php-pdo-5.4.45-18.el7.remi.x86_64 (remi)
php-pdo(x86-64) = 5.4.45-18.el7.remi
Available: php-pdo-7.2.32-1.el7.remi.x86_64 (remi-php72)
php-pdo(x86-64) = 7.2.32-1.el7.remi
Available: php-pdo-7.2.33-1.el7.remi.x86_64 (remi-php72)
php-pdo(x86-64) = 7.2.33-1.el7.remi
Available: php-pdo-7.4.9-1.el7.remi.x86_64 (remi-php74)
php-pdo(x86-64) = 7.4.9-1.el7.remi
Error: Package: php-mysql-5.4.45-17.el7.remi.x86_64 (remi)
Requires: php-pdo(x86-64) = 5.4.45-17.el7.remi
Removing: php-pdo-5.4.16-48.el7.x86_64 (@base)
php-pdo(x86-64) = 5.4.16-48.el7
Updated By: php-pdo-7.4.10-1.el7.remi.x86_64 (remi-php74)
php-pdo(x86-64) = 7.4.10-1.el7.remi
Available: php-pdo-5.4.45-18.el7.remi.x86_64 (remi)
php-pdo(x86-64) = 5.4.45-18.el7.remi
Available: php-pdo-7.2.32-1.el7.remi.x86_64 (remi-php72)
php-pdo(x86-64) = 7.2.32-1.el7.remi
Available: php-pdo-7.2.33-1.el7.remi.x86_64 (remi-php72)
php-pdo(x86-64) = 7.2.33-1.el7.remi
Available: php-pdo-7.4.9-1.el7.remi.x86_64 (remi-php74)
php-pdo(x86-64) = 7.4.9-1.el7.remi
Error: php-mysql conflicts with php-mysqlnd-7.4.10-1.el7.remi.x86_64
Error: Package: php-mssql-5.4.45-18.el7.remi.x86_64 (remi)
Requires: php-pdo(x86-64) = 5.4.45-18.el7.remi
Removing: php-pdo-5.4.16-48.el7.x86_64 (@base)
php-pdo(x86-64) = 5.4.16-48.el7
Updated By: php-pdo-7.4.10-1.el7.remi.x86_64 (remi-php74)
php-pdo(x86-64) = 7.4.10-1.el7.remi
Available: php-pdo-5.4.45-18.el7.remi.x86_64 (remi)
php-pdo(x86-64) = 5.4.45-18.el7.remi
Available: php-pdo-7.2.32-1.el7.remi.x86_64 (remi-php72)
php-pdo(x86-64) = 7.2.32-1.el7.remi
Available: php-pdo-7.2.33-1.el7.remi.x86_64 (remi-php72)
php-pdo(x86-64) = 7.2.33-1.el7.remi
Available: php-pdo-7.4.9-1.el7.remi.x86_64 (remi-php74)
php-pdo(x86-64) = 7.4.9-1.el7.remi
I have followed the given article to upgrade the PHP version and got the error in the logs:
Error: Package: php-mysql-5.4.45-18.el7.remi.x86_64 (remi)
Requires: php-pdo(x86-64) = 5.4.45-18.el7.remi
Removing: php-pdo-5.4.16-48.el7.x86_64 (@base)
php-pdo(x86-64) = 5.4.16-48.el7
Updated By: php-pdo-7.4.10-1.el7.remi.x86_64 (remi-php74)
php-pdo(x86-64) = 7.4.10-1.el7.remi
Available: php-pdo-5.4.45-18.el7.remi.x86_64 (remi)
php-pdo(x86-64) = 5.4.45-18.el7.remi
Available: php-pdo-7.2.32-1.el7.remi.x86_64 (remi-php72)
php-pdo(x86-64) = 7.2.32-1.el7.remi
Available: php-pdo-7.2.33-1.el7.remi.x86_64 (remi-php72)
php-pdo(x86-64) = 7.2.33-1.el7.remi
Available: php-pdo-7.4.9-1.el7.remi.x86_64 (remi-php74)
php-pdo(x86-64) = 7.4.9-1.el7.remi
Error: Package: php-mysql-5.4.45-17.el7.remi.x86_64 (remi)
Requires: php-pdo(x86-64) = 5.4.45-17.el7.remi
Removing: php-pdo-5.4.16-48.el7.x86_64 (@base)
php-pdo(x86-64) = 5.4.16-48.el7
Updated By: php-pdo-7.4.10-1.el7.remi.x86_64 (remi-php74)
php-pdo(x86-64) = 7.4.10-1.el7.remi
Available: php-pdo-5.4.45-18.el7.remi.x86_64 (remi)
php-pdo(x86-64) = 5.4.45-18.el7.remi
Available: php-pdo-7.2.32-1.el7.remi.x86_64 (remi-php72)
php-pdo(x86-64) = 7.2.32-1.el7.remi
Available: php-pdo-7.2.33-1.el7.remi.x86_64 (remi-php72)
php-pdo(x86-64) = 7.2.33-1.el7.remi
Available: php-pdo-7.4.9-1.el7.remi.x86_64 (remi-php74)
php-pdo(x86-64) = 7.4.9-1.el7.remi
Error: php-mysql conflicts with php-mysqlnd-7.4.10-1.el7.remi.x86_64
Error: Package: php-mssql-5.4.45-18.el7.remi.x86_64 (remi)
Requires: php-pdo(x86-64) = 5.4.45-18.el7.remi
Removing: php-pdo-5.4.16-48.el7.x86_64 (@base)
php-pdo(x86-64) = 5.4.16-48.el7
Updated By: php-pdo-7.4.10-1.el7.remi.x86_64 (remi-php74)
php-pdo(x86-64) = 7.4.10-1.el7.remi
Available: php-pdo-5.4.45-18.el7.remi.x86_64 (remi)
php-pdo(x86-64) = 5.4.45-18.el7.remi
Available: php-pdo-7.2.32-1.el7.remi.x86_64 (remi-php72)
php-pdo(x86-64) = 7.2.32-1.el7.remi
Available: php-pdo-7.2.33-1.el7.remi.x86_64 (remi-php72)
php-pdo(x86-64) = 7.2.33-1.el7.remi
Available: php-pdo-7.4.9-1.el7.remi.x86_64 (remi-php74)
php-pdo(x86-64) = 7.4.9-1.el7.remi
-
- Dreams In Code
- Posts: 7682
- Joined: Wed Feb 11, 2015 12:54 pm
Re: PHP upgrade on nagios xi
Did you run this command from the guide while you were following it?
Because if you did I wouldn't think you would even get those errors. You need to follow the guide line by line.
The yum install command after it doesn't even list php-mysql so you must've missed the command.
Code: Select all
yum -y remove php-*
The yum install command after it doesn't even list php-mysql so you must've missed the command.
-
- Posts: 184
- Joined: Sun Jan 07, 2018 12:56 pm
Re: PHP upgrade on nagios xi
i ran it again and it fixed the issue. you can close the thread.
-
- DevOps Engineer
- Posts: 19396
- Joined: Tue Nov 15, 2011 3:11 pm
- Location: Nagios Enterprises
Re: PHP upgrade on nagios xi
Great!IT-OPS-SYS wrote:i ran it again and it fixed the issue. you can close the thread.
Locking thread