Page 1 of 1
Restoration of Nagios XI - Xmartic
Posted: Fri Aug 23, 2019 4:02 pm
by evisus
Hello team.
I would like to know if it is possible to make a backup from a Nagios XI server installed in a 6.3 centres with php 5.4 and restore to a Nagios XI server installed in a centos 7 with php 7.
Will there be a problem with php 7?
Thank you in advance for your help
Re: Restoration of Nagios XI - Xmartic
Posted: Mon Aug 26, 2019 9:33 am
by benjaminsmith
Hello
@evisus,
That shouldn't be a problem, but make sure you migrate between the same versions of Nagios XI. So either upgrade the current system to the latest prior to migrating, or install the same version on the new server and migrate.
Here's our migration guide with step-by-step instructions:
Backing Up And Restoring Your Nagios XI System
You can download previous versions from this page:
Nagios XI - Previous Versions
Let us know if you have any questions.
Re: Restoration of Nagios XI - Xmartic
Posted: Tue Sep 03, 2019 12:10 pm
by evisus
Hi.
I have built a laboratory in centos 7 and php 7.2 and I find an error installing nagios xi from the source:
####
Error: Package: nagiosxi-deps-el7-5.6.6-1.noarch (/nagiosxi-deps-el7-5.6.6-1.noarch)
Requires: php-mssql
Available: php-mssql-5.4.16-7.el7.x86_64 (nagiosxi-deps)
php-mssql = 5.4.16-7.el7
Available: php-mssql-5.4.16-9.el7.x86_64 (epel)
php-mssql = 5.4.16-9.el7
Error: Package: nagiosxi-deps-el7-5.6.6-1.noarch (/nagiosxi-deps-el7-5.6.6-1.noarch)
Requires: php-mysql
Available: php-mysql-5.4.16-46.el7.x86_64 (base)
php-mysql = 5.4.16-46.el7
Available: php-mysqlnd-5.4.16-46.el7.x86_64 (base)
php-mysql = 5.4.16-46.el7
Available: php-pecl-mysql-1.0.0-0.17.20160812git230a828.el7.remi.7.2.x86_64 (remi-php72)
php-mysql = 1:1.0.0
Installed: php-mysqlnd-7.2.22-1.el7.remi.x86_64 (@remi-php72)
Not found
Available: php-mysqlnd-7.2.21-1.el7.remi.x86_64 (remi-php72)
Not found
You could try using --skip-broken to work around the problem
You could try running: rpm -Va --nofiles --nodigest
RESULT=1
===================
INSTALLATION ERROR!
===================
Installation step failed - exiting.
Check for error messages in the install log (install.log).
If you require assistance in resolving the issue, please include install.log
in your communications with Nagios XI technical support.
The script that failed was: './1-prereqs'
####
Is there any updated version of "nagiosxi-deps-el7-5.6.6-1.noarch" for php 7?
Any idea how to correct the error?
Thank you
Re: Restoration of Nagios XI - Xmartic
Posted: Tue Sep 03, 2019 4:09 pm
by benjaminsmith
Hello
@evisus,
There are conflicting php packages preventing the installer from completing. What commands did you use to install php 7, can you post them for us to review?
Take a look at this thread as a reference:
Upgrading PHP on Nagios
Re: Restoration of Nagios XI - Xmartic
Posted: Tue Sep 03, 2019 4:12 pm
by evisus
Hi.
I have used the instructions on the next page as a reference.
https://tecnstuff.net/how-to-install-php-7-on-centos-7/
I emphasize that I had no previous version of php installed on the server.
Re: Restoration of Nagios XI - Xmartic
Posted: Tue Sep 03, 2019 4:36 pm
by evisus
This has worked for me: "Upgrading PHP on Nagios"
In short, we must perform a native installation of Nagios XI with php 5.5 and then migrate to Php 7.2
My intention was to start with php 7.2 but it was not possible.
Thanks for the help, you can close this thread
Re: Restoration of Nagios XI - Xmartic
Posted: Tue Sep 03, 2019 4:50 pm
by benjaminsmith
Thanks for the help, you can close this thread
No problem.
Thank you for using the Nagios Support Forums.