Page 1 of 1

Offline install 2024R1.3.2-1 error

Posted: Fri Dec 13, 2024 2:37 pm
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?

Re: Offline install 2024R1.3.2-1 error

Posted: Fri Dec 13, 2024 3:09 pm
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

Re: Offline install 2024R1.3.2-1 error

Posted: Fri Dec 13, 2024 3:51 pm
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