Page 1 of 1

NagiosXI upgrade fails from 5.4.13 to 5.5.0

Posted: Mon Jul 16, 2018 6:55 am
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.

Re: NagiosXI upgrade fails from 5.4.13 to 5.5.0

Posted: Mon Jul 16, 2018 7:46 am
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.

Re: NagiosXI upgrade fails from 5.4.13 to 5.5.0

Posted: Mon Jul 16, 2018 8:00 am
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.

Re: NagiosXI upgrade fails from 5.4.13 to 5.5.0

Posted: Mon Jul 16, 2018 8:04 am
by jacek
Weird, better wait for Nagios Support over here.

Re: NagiosXI upgrade fails from 5.4.13 to 5.5.0

Posted: Mon Jul 16, 2018 12:20 pm
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.

Re: NagiosXI upgrade fails from 5.4.13 to 5.5.0

Posted: Tue Aug 07, 2018 4:22 am
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/)?

Re: NagiosXI upgrade fails from 5.4.13 to 5.5.0

Posted: Tue Aug 07, 2018 4:33 pm
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>".