Page 1 of 1

5.8.1 tarball multilib errors

Posted: Fri Feb 19, 2021 11:32 am
by rexmundo
Hi

I tried to do the offline installation using the 5.8.1 tarball from the repo, installed the options packages and then run the ./fullinstall.

It failed with a multilib error. It was finding two versions of nmap and it didnt like it.

I checked the nagiosxi folder from the archive and sure enough, there are two nmap rpm's in there! Both x86_64. one is 6.47-1 and 6.47-2.
Can I ask why both versions are needed?

to complete the installation I had to:

1) uninstall the pre-installed nmap version..
(tried to rerun full install at this point and it didnt work so nothing to do with the installed version!)
2) tried to manually install the higher version one: rpm -i nmap-6.47-2.x86_64.rpm.
Failed with a dependency so..
yum install subversion-libs.x86_64
and rerun the rpm install.. which worked.

Then run the fullinstall and it completed fine.

So 2 questions:
1) Why 2 versions of nmap
2) Did I do the right think or have I broken something?

Re: 5.8.1 tarball multilib errors

Posted: Fri Feb 19, 2021 4:46 pm
by dchurch
Nagios XI installs a more recent version of nmap than is available in most of the default repos of the distros we support. The version of nmap that's available in our repos is newer than the one CentOS makes available.

You might have more luck using our repos to "yum install" it: https://repo.nagios.com/?repo=rpm-centos

That way it integrates with your distro's package manager to make it easier to pull updates down.

Re: 5.8.1 tarball multilib errors

Posted: Tue Feb 23, 2021 5:39 am
by rexmundo
Hi

Thanks for the reply. This is RHEL not CentOS.

I need to make this work for an offline installation. We need to install it on servers which will not, and cannot be given access to the internet.

I understand you install the latest version of NMAP but why does the tarball have 2 of them?

Also really keen to understand if I have broken anything with my actions to resolve the error.

Re: 5.8.1 tarball multilib errors

Posted: Wed Feb 24, 2021 10:00 am
by scottwilkerson
I'm going to send this to the developers, but for now you should be able to remove the one nmap before running fullinstall

Code: Select all

rm -f nmap-6.47-1.x86_64.rpm