Page 1 of 1

NagiosXI installation error - PHP conflict

Posted: Thu Sep 30, 2021 10:58 am
by arv
NagiosXI installation fails with the error as
php56-common conflicts with php-common-5.4.16-48.el7.x86_64

Re: NagiosXI installation error - PHP conflict

Posted: Thu Sep 30, 2021 2:22 pm
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

Re: NagiosXI installation error - PHP conflict

Posted: Mon Oct 04, 2021 4:08 am
by arv
Hi Benjamin

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

Thanks
Arv

Re: NagiosXI installation error - PHP conflict

Posted: Mon Oct 04, 2021 3:29 pm
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

Re: NagiosXI installation error - PHP conflict

Posted: Thu Oct 07, 2021 4:50 am
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

Re: NagiosXI installation error - PHP conflict

Posted: Thu Oct 07, 2021 9:02 am
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