NagiosXI installation error - PHP conflict

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
Locked
arv
Posts: 7
Joined: Thu Jun 09, 2016 1:40 am

NagiosXI installation error - PHP conflict

Post by arv »

NagiosXI installation fails with the error as
php56-common conflicts with php-common-5.4.16-48.el7.x86_64
benjaminsmith
Posts: 5324
Joined: Wed Aug 22, 2018 4:39 pm
Location: saint paul

Re: NagiosXI installation error - PHP conflict

Post by benjaminsmith »

HI arv,

Welcome to the Nagios Customer Forum!

Normally, that would indicate that there are applications installed and the server. Is this a clean (new), minimal installation?

Installing Nagios XI Manually on Linux
https://assets.nagios.com/downloads/nag ... -Linux.pdf

-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!
arv
Posts: 7
Joined: Thu Jun 09, 2016 1:40 am

Re: NagiosXI installation error - PHP conflict

Post by arv »

Hi Benjamin

It is a clean server on AWS. Please check attachments , install log , repolist and linus release information

Thanks
Arv
You do not have the required permissions to view the files attached to this post.
benjaminsmith
Posts: 5324
Joined: Wed Aug 22, 2018 4:39 pm
Location: saint paul

Re: NagiosXI installation error - PHP conflict

Post by benjaminsmith »

Hi,

What is the output of the following command? I believe there is another application on this machine using php56, RHEL 7 would be using PHP 5.4. The install script uses the base packages provided by the operating system.

Code: Select all

rpm -qa | grep php
If this is a clean system, then remove PHP and run the installer again. If it fails, please post the install log once more.

Code: Select all

yum remove php*
Reference:
https://assets.nagios.com/downloads/nag ... -Linux.pdf
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!
arv
Posts: 7
Joined: Thu Jun 09, 2016 1:40 am

Re: NagiosXI installation error - PHP conflict

Post by arv »

Hi Benjamin

Had already tried the commands you mentioned...there are no phps installed. It seems like a pre-installation validation from the Nagios script (fullinstall)

Nonetheless , finally we were able to solve it by disabling the puppet5 and velocity-base repos

Thanks for following up on this

Thanks
Arvind
benjaminsmith
Posts: 5324
Joined: Wed Aug 22, 2018 4:39 pm
Location: saint paul

Re: NagiosXI installation error - PHP conflict

Post by benjaminsmith »

Hi,
Nonetheless , finally we were able to solve it by disabling the puppet5 and velocity-base repos
Thanks for sharing that and glad you were able to resolve it.

We'll go ahead and close this post, but feel free to open another if you have any new questions.

--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!
Locked