Page 1 of 1

Nagios XI RPM upgrade to 5.6.2 still showing old version

Posted: Mon Jun 03, 2019 12:11 am
by psundstrom
I'm running Nagios XI on an offline Centos 7.6 server

I tried upgrading from 5.5.11 to 5.6.2 by downloading the latest RPM from https://repo.nagios.com/?repo=offline

I run the upgrade script which completes successfully and when I do:

rpm -qa | grep Nagios

All the Nagios RPM's are on version 5.6.2

However, when I log into Nagios XI web interface, it still displays "Nagios XI 5.5.11" in the bottom left of the browser.

I've tried rebooting the server, but get the same result.

Re: Nagios XI RPM upgrade to 5.6.2 still showing old version

Posted: Mon Jun 03, 2019 12:20 am
by psundstrom
I found the problem.

Turns out our Centos security profile has noexec set on /tmp, which prevents the rest of the upgrade to complete.

As I'd rebooted the server, the original nagiosxi RPM no longer existed in /tmp.

To get around this, I had to complete the install with:

Code: Select all

rpm2cpio nagiosxi-5.6.2=2.el7.x86_64.rpm |cpio -icvdum
tmp/nagiosxi/rpmupgrade

Re: Nagios XI RPM upgrade to 5.6.2 still showing old version

Posted: Mon Jun 03, 2019 11:55 am
by benjaminsmith
Hi @psundstrom,

Thanks for the update and glad to hear it's been resolved. Did you have any other questions or may we close this one out?