Nagios installation is failed

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
pavan27
Posts: 9
Joined: Fri Oct 18, 2019 5:52 pm

Re: Nagios installation is failed

Post by pavan27 »

Hello Scott,

I don't see any log under /tmp location.

[root@localhost ~]# ls -lart /tmp/xi*
ls: cannot access /tmp/xi*: No such file or directory
[root@localhost ~]#


how ever, i have redirected install action output to a log file as below

./fullinstall > install.log 2>&1

I am attaching that file.

here is the command output you are looking for
[root@localhost ~]# yum provides rpm-libs
Loaded plugins: enabled_repos_upload, package_upload, product-id, subscription-manager
rpm-libs-4.11.1-16.el7.i686 : Libraries for manipulating RPM packages
Repo : rhel-7-server-rpms



rpm-libs-4.11.1-16.el7.x86_64 : Libraries for manipulating RPM packages
Repo : rhel-7-server-rpms



rpm-libs-4.11.1-18.el7_0.i686 : Libraries for manipulating RPM packages
Repo : rhel-7-server-rpms



rpm-libs-4.11.1-18.el7_0.x86_64 : Libraries for manipulating RPM packages
Repo : rhel-7-server-rpms



rpm-libs-4.11.1-25.el7.i686 : Libraries for manipulating RPM packages
Repo : rhel-7-server-rpms



rpm-libs-4.11.1-25.el7.x86_64 : Libraries for manipulating RPM packages
Repo : rhel-7-server-rpms



rpm-libs-4.11.3-17.el7.i686 : Libraries for manipulating RPM packages
Repo : rhel-7-server-rpms



rpm-libs-4.11.3-17.el7.x86_64 : Libraries for manipulating RPM packages
Repo : rhel-7-server-rpms



rpm-libs-4.11.3-21.el7.i686 : Libraries for manipulating RPM packages
Repo : rhel-7-server-rpms



rpm-libs-4.11.3-21.el7.x86_64 : Libraries for manipulating RPM packages
Repo : rhel-7-server-rpms



rpm-libs-4.11.3-35.el7.i686 : Libraries for manipulating RPM packages
Repo : rhel-7-server-rpms



rpm-libs-4.11.3-35.el7.x86_64 : Libraries for manipulating RPM packages
Repo : rhel-7-server-rpms



rpm-libs-4.11.3-40.el7.x86_64 : Libraries for manipulating RPM packages
Repo : @anaconda/7.7



Uploading Enabled Repositories Report
Loaded plugins: product-id, subscription-manager
You do not have the required permissions to view the files attached to this post.
scottwilkerson
DevOps Engineer
Posts: 19396
Joined: Tue Nov 15, 2011 3:11 pm
Location: Nagios Enterprises
Contact:

Re: Nagios installation is failed

Post by scottwilkerson »

rpm-libs-4.11.1-16.el7.i686 : Libraries for manipulating RPM packages
Repo : rhel-7-server-rpms
this is a problem, why is your rhel-7-server-rpms repository returning i686 rpm's for your x86_64 system?

Something is not setup right on this server or repository.
Former Nagios employee
Creator:
Human Design Website
Get Your Human Design Chart
pavan27
Posts: 9
Joined: Fri Oct 18, 2019 5:52 pm

Re: Nagios installation is failed

Post by pavan27 »

Hello Scott

Thank you so much for updates.



nagios xi installation is required to have "rpm-libs " 32 or 64 bit version of rpm? or it doesn't matter?

To my understanding , offline installation method, i do see fullinstall script is trying to install rpm under nagios xi untar location and trying to install listed rpm's along with dependencies. I believe some of the rpm listed in nagios xi untar location is looking for rpm-libs.i686.

I may be wrong, please correct me if i am wrong.
scottwilkerson
DevOps Engineer
Posts: 19396
Joined: Tue Nov 15, 2011 3:11 pm
Location: Nagios Enterprises
Contact:

Re: Nagios installation is failed

Post by scottwilkerson »

It is going to just install the packages not specifying architecture, this should be determined by your OS and repository settings, so it SHOULD install the x86_64 package ONLY if you have a x86_64 system, however your system/repository setup is trying to install a i686 package on a x86_64 system which is going to fail like it is.
Former Nagios employee
Creator:
Human Design Website
Get Your Human Design Chart
pavan27
Posts: 9
Joined: Fri Oct 18, 2019 5:52 pm

Re: Nagios installation is failed

Post by pavan27 »

Hello Scott,

what is the potential solution to my case ?
I had a chat with SA, they said, by default redhat channel will have both 32 bit and 64 bit rpm's.

is there any way to instruct fullinstall script to look 64 bit rpm ?

Code: Select all

cat fullinstall
#!/bin/sh -e

# Import gpg key
if [ ! -f /etc/pki/rpm-gpg/GPG-KEY-NAGIOS-V2 ]; then
        /bin/cp -f GPG-KEY-NAGIOS-V2 /etc/pki/rpm-gpg/GPG-KEY-NAGIOS-V2
        rpm --import GPG-KEY-NAGIOS-V2
fi

# Do local install of packages
yum -y --nogpgcheck localinstall *.rpm
scottwilkerson
DevOps Engineer
Posts: 19396
Joined: Tue Nov 15, 2011 3:11 pm
Location: Nagios Enterprises
Contact:

Re: Nagios installation is failed

Post by scottwilkerson »

I really don't know what else to say, we have tested this on fresh installs of RHEL and CentOS without issue
Former Nagios employee
Creator:
Human Design Website
Get Your Human Design Chart
pavan27
Posts: 9
Joined: Fri Oct 18, 2019 5:52 pm

Re: Nagios installation is failed

Post by pavan27 »

Hello Scott,

Thank you so much for all your support. I really appreciate your timely help and response.
I still have same issue. Not sure how to overcome errors with rpm.

Anyone can help me on this.

Thank you,

pavna
scottwilkerson
DevOps Engineer
Posts: 19396
Joined: Tue Nov 15, 2011 3:11 pm
Location: Nagios Enterprises
Contact:

Re: Nagios installation is failed

Post by scottwilkerson »

Is it possible to start with a fresh clean minimal install RHEL 7 system?
Former Nagios employee
Creator:
Human Design Website
Get Your Human Design Chart
Locked