Page 7 of 9
Re: Error: nagiosxi-deps-el7 conflicts with nrpe-3.2.0-6.el7
Posted: Mon Jun 25, 2018 4:57 pm
by scottwilkerson
rtsupport wrote:we cannot do up gradation directly on PRD,
I understand that.
rtsupport wrote:Restore PRD backup to Test/Dev environment (same Nagios XI version)--> then upgrade Test environment to latest Nagios XI.. -- > Take Backup --> now restore that backup to new OS with same latest version. ??
Correct me if i am missing something as this we can do..
That sounds great!
Then you can also take a moment and let the Test/Dev run for a minute making sure everything appears normal before taking the backup that will be used to restore on the new OS
this will take a LOT of variables out of the mix
Re: Error: nagiosxi-deps-el7 conflicts with nrpe-3.2.0-6.el7
Posted: Wed Jun 27, 2018 2:38 pm
by rtsupport
Hi Scott,
as per last discussion i am trying to upgrade test server but that is also falling have attached upgrade log for your reference
Referring doc for up gradation-
https://assets.nagios.com/downloads/nag ... ctions.pdf
Linux version -
Red Hat Enterprise Linux Server release 7.4 (Maipo)
Current Nagios XI Version -
Nagios XI 2014R2.7
Re: Error: nagiosxi-deps-el7 conflicts with nrpe-3.2.0-6.el7
Posted: Wed Jun 27, 2018 3:17 pm
by scottwilkerson
Is part of this log missing? I don't see any errors. Is it erroring on the screen?
Re: Error: nagiosxi-deps-el7 conflicts with nrpe-3.2.0-6.el7
Posted: Wed Jun 27, 2018 3:31 pm
by rtsupport
no error on the screen as well, its just finishing like attached image. Not getting "Nagios XI Upgrade Complete!" message aslo
Re: Error: nagiosxi-deps-el7 conflicts with nrpe-3.2.0-6.el7
Posted: Wed Jun 27, 2018 3:42 pm
by scottwilkerson
I have no idea why this is erroring here but, here is what I would like you to do
edit
/tmp/nagiosxi/subcomponents/ndoutils/post-upgrade
Comment out this line
making it read
the run the
./upgrade again
Re: Error: nagiosxi-deps-el7 conflicts with nrpe-3.2.0-6.el7
Posted: Wed Jun 27, 2018 4:02 pm
by rtsupport
it move forward but failed now at below error.. have attached upgrade log again.
Code: Select all
Installing new PNP templates...
Updating init script...
Enabling large install tweaks...
Fixing config file permissions...
Fixing htpasswd permissions...
Checking group memberships...
Installing new XI templates...
URL: https://localhost/nagiosxi/includes/components/ccm/
CMDLINE
/usr/bin/wget --save-cookies nagiosql.cookies --keep-session-cookies https://localhost/nagiosxi/includes/components/ccm/ --no-check-certificate --post-data 'submit=Login&hidelog=true&loginSubmitted=true&backend=1&username=nagiosxi&password=n@gweb' -O nagiosql.login--2018-06-27 16:56:33-- https://localhost/nagiosxi/includes/components/ccm/
Resolving www.mc.xerox.com... 13.131.1.242
Connecting to www.mc.xerox.com|13.131.1.242|:8000... connected.
Proxy tunneling failed: Service UnavailableUnable to establish SSL connection.
NAGIOSQL LOGIN FAILED!
Re: Error: nagiosxi-deps-el7 conflicts with nrpe-3.2.0-6.el7
Posted: Wed Jun 27, 2018 4:30 pm
by scottwilkerson
This system needs to have localhost added to the no_proxy in /etc/wgetrc
see
https://support.nagios.com/kb/article.php?id=147
How was this functioning?
after you add that, you can run upgrade again..
The good news is the upgrade script is close to done
Re: Error: nagiosxi-deps-el7 conflicts with nrpe-3.2.0-6.el7
Posted: Wed Jun 27, 2018 4:52 pm
by rtsupport
great!! all set now on up-gradation... part Test server is upgraded to latest one Nagios XI.
Code: Select all
Total Warnings: 716
Total Errors: 0
Things look okay - No serious problems were detected during the pre-flight check
RET: 0
Running configuration check...
Stopping nagios:. done.
Starting nagios: done.
Fixing php-mcrypt bug...
Stopping httpd: [ OK ]
Starting httpd: [ OK ]
Nagios XI Upgrade Complete!
---------------------------
Now next step for me..
1- Will install latest version of Nagios XI on new RHEL 7 server
.. For installation server is ready with RHEL subscription manager
.. RHEL optional Repo enabled
.. Proxy is configured as per -
https://support.nagios.com/kb/article.php?id=147
2- Take backup from updated Test server and scp to new RHEL 7 Server
3- Restore it using ./restore script
Please add if i missed. something.
Re: Error: nagiosxi-deps-el7 conflicts with nrpe-3.2.0-6.el7
Posted: Wed Jun 27, 2018 5:06 pm
by scottwilkerson
rtsupport wrote:great!! all set now on up-gradation... part Test server is upgraded to latest one Nagios XI.
Now next step for me..
1- Will install latest version of Nagios XI on new RHEL 7 server
.. For installation server is ready with RHEL subscription manager
.. RHEL optional Repo enabled
.. Proxy is configured as per -
https://support.nagios.com/kb/article.php?id=147
2- Take backup from updated Test server and scp to new RHEL 7 Server
3- Restore it using ./restore script
Please add if i missed. something.
Before step 2 You will need to install nagios xi latest on the server
https://assets.nagios.com/downloads/nag ... -Linux.pdf
The rest looks correct!
Re: Error: nagiosxi-deps-el7 conflicts with nrpe-3.2.0-6.el7
Posted: Wed Jun 27, 2018 5:30 pm
by rtsupport
one more thing would also like to clear.
As we have configured nagiosramdisk so -- we have to follow.
1.
-Install latest version of Nagios XI.
-Create nagiosramdisk
-Restore backup
-run /upgrade script
OR
2.
-Install latest version of Nagios XI.
-Restore backup
-Create nagiosramdisk
-run /upgrade script
Note : In Test server nagiosramdisk is created and configured as /u01/var/nagiosramdisk but as per ramdisk doc it will create and configured /var/nagiosramdisk
so is there anything which need to be taken care ? before proceeding
# nagiosramdisk doc
https://assets.nagios.com/downloads/nag ... giosXI.pdf