NagiosXI upgrade fails from 5.4.13 to 5.5.0

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
Locked
nagios1810
Posts: 10
Joined: Thu Feb 01, 2018 7:57 am

NagiosXI upgrade fails from 5.4.13 to 5.5.0

Post by nagios1810 »

Hi Team,

I am tring to upgrade the NagiosXi 5.4.13 to 5.5.0. But it shows below issue at the end

*** Compile finished ***

You can now continue with the installation or upgrade process.

Read the PDF documentation (docs/NRPE.pdf) for information on the next
steps you should take to complete the installation or upgrade.

cd ./src/; make install-plugin
make[1]: Entering directory `/software/nagiosxi/subcomponents/nrpe/nrpe-3.2.1/src'
/usr/bin/install -c -m 755 -d /usr/local/nagios/bin
/usr/bin/install -c -m 755 ../uninstall /usr/local/nagios/bin/nrpe-uninstall
/usr/bin/install -c -m 775 -o nagios -g nagios -d /usr/local/nagios/libexec
/usr/bin/install -c -m 775 -o nagios -g nagios -d /usr/local/nagios/libexec
/usr/bin/install -c -m 775 -o nagios -g nagios check_nrpe /usr/local/nagios/libexec
make[1]: Leaving directory `/software/nagiosxi/subcomponents/nrpe/nrpe-3.2.1/src'
cd ./src/; make install-daemon
make[1]: Entering directory `/software/nagiosxi/subcomponents/nrpe/nrpe-3.2.1/src'
/usr/bin/install -c -m 755 -d /usr/local/nagios/bin
/usr/bin/install -c -m 755 ../uninstall /usr/local/nagios/bin/nrpe-uninstall
/usr/bin/install -c -m 755 nrpe /usr/local/nagios/bin
/usr/bin/install -c -m 755 -d /usr/lib/tmpfiles.d
/usr/bin/install -c -m 644 ../startup/tmpfile.conf /usr/lib/tmpfiles.d/nrpe.conf
make[1]: Leaving directory `/software/nagiosxi/subcomponents/nrpe/nrpe-3.2.1/src'
/usr/bin/install -c -m 644 startup/default-service /usr/lib/systemd/system/nrpe.service
UPGRADE: NRPE upgraded OK.
UPGRADE: NRDP is being upgraded...
UPGRADE: NRDP upgraded OK.
Finished updating Core, Plugins, NRPE, NRDP ...
Upgrading MySQL database for XI...
Removing Ajaxterm...
Installing new SSH Terminal...
No package shellinabox available.
Error: Nothing to do

Could you please help us to resove this ?

I have attached the upgrade log here.
You do not have the required permissions to view the files attached to this post.
jacek
Posts: 255
Joined: Wed Sep 09, 2015 5:49 am

Re: NagiosXI upgrade fails from 5.4.13 to 5.5.0

Post by jacek »

I believe Your system can't download the shellinabox package - is Your machine internet enabled?
You can check this thread:
https://support.nagios.com/forum/viewto ... =6&t=49376

Or try upgrading to 5.5.1, there is a few issues in the 5.5.0 update that has been fixed in the 5.5.1.
nagios1810
Posts: 10
Joined: Thu Feb 01, 2018 7:57 am

Re: NagiosXI upgrade fails from 5.4.13 to 5.5.0

Post by nagios1810 »

HI Team,

We have a Internet Connectivity. but also we have facing that issue.

I have followed these steps to upgrade NagiosXI. It defaulty took 5.5.0.

How can I upgrade the 5.5.1 verison?
Can you give the steps ?

cd /tmp
rm -rf nagiosxi xi*.tar.gz
wget http://assets.nagios.com/downloads/nagi ... est.tar.gz
tar xzf xi-latest.tar.gz
cd nagiosxi
./upgrade


Thanks
Govind.
jacek
Posts: 255
Joined: Wed Sep 09, 2015 5:49 am

Re: NagiosXI upgrade fails from 5.4.13 to 5.5.0

Post by jacek »

Weird, better wait for Nagios Support over here.
jomann
Development Lead
Posts: 611
Joined: Mon Apr 22, 2013 10:06 am
Location: Nagios Enterprises

Re: NagiosXI upgrade fails from 5.4.13 to 5.5.0

Post by jomann »

Do you have epel installed? Is it a clone of epel? If so, verify that your epel repo has shellinabox. It is a standard package in epel. If you absolutely cannot add that package then we can offer a workaround.

If you don't know if it is a clone take a look in /etc/yum.repos.d and find the epel repo and take a look.
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.
sib
Posts: 111
Joined: Thu Dec 11, 2014 8:06 am

Re: NagiosXI upgrade fails from 5.4.13 to 5.5.0

Post by sib »

Hi

I have the same issue. What is wrong in adding all the dependant packages to your nagios deps repository (https://repo.nagios.com/nagiosxi-deps/6/)?
User avatar
lmiltchev
Bugs find me
Posts: 13589
Joined: Mon May 23, 2011 12:15 pm

Re: NagiosXI upgrade fails from 5.4.13 to 5.5.0

Post by lmiltchev »

@nagios1810
Yes, you can run the commands below:

Code: Select all

cd /tmp
rm -rf nagiosxi xi*.tar.gz
wget http://assets.nagios.com/downloads/nagiosxi/xi-latest.tar.gz
tar xzf xi-latest.tar.gz
cd nagiosxi
./upgrade
in order to upgrade your system.

Did you check to see if you have epel repo installed?

@sib, you may or may not have the same issue. nagios1810 is performing a manual install, not rpm install for once. Please start a new/separate thread, and describe in details the issue that you are having. You can reference this thread if you wish, e.g. "I am having the same or similar issue as the one, described here: <URL>".
Be sure to check out our Knowledgebase for helpful articles and solutions!
Locked