Offline install 2024R1.3.2-1 error

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
Post Reply
donaldhornish
Posts: 1
Joined: Thu Mar 25, 2021 8:16 am

Offline install 2024R1.3.2-1 error

Post by donaldhornish »

I am attempting to install 2024R1.3.2-1 in an offline environment. Server is RHEL8. From command line initiated install with ./fullinstall. System starts copying files to /tmp and then halts because it fills /tmp up. My /tmp is size set at 8GB. How large does /tmp need to be to accommodate the fullinstall? Is it possible to redirect the install to a different temp directory so I do not have to increase the size of /tmp?
DoubleDoubleA
Posts: 286
Joined: Thu Feb 09, 2017 5:07 pm

Re: Offline install 2024R1.3.2-1 error

Post by DoubleDoubleA »

Hi @donaldhornish,

Thanks for the message, based on your feedback we're looking at some adjustments to fullinstall now that should help address this issue, especially for EL 8.

Fundamentally the issue is that the EL 8 offline tarball is 8GB+ to start with, as you can see here https://repo.nagios.com/?repo=offline . EL 9 is just shy of 4GB.

Then, we also make use of /tmp to copy some things, so yes, at an EL 8 default of 8GB /tmp, it will break when you follow our install instructions that also tell you to download to /tmp.

In the short term it may be fastest to bump /tmp to 20GB. When we have an update to fullinstall that is a little nicer to /tmp, we would make it available as part of a full release, and that will take a little while to go through the release process.

Aaron
danderson

Re: Offline install 2024R1.3.2-1 error

Post by danderson »

If you want immediate resolution and are willing to modify the fullinstall script, you can change the following line, near line 9, from

Code: Select all

tempdir=$(mktemp -d)
to

Code: Select all

tempdir="$(dirname "$(readlink -f "$0")")"
Remove the following line, near line 18

Code: Select all

cp -r offline-nagiosxi "$tempdir/"
and remove the following line, near line 25

Code: Select all

rm -rf $tempdir
Post Reply