Page 2 of 2

Re: Nagios installation is failed

Posted: Wed Jan 22, 2020 2:20 pm
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

Re: Nagios installation is failed

Posted: Wed Jan 22, 2020 2:40 pm
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.

Re: Nagios installation is failed

Posted: Wed Jan 22, 2020 3:21 pm
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.

Re: Nagios installation is failed

Posted: Wed Jan 22, 2020 3:44 pm
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.

Re: Nagios installation is failed

Posted: Wed Jan 22, 2020 3:55 pm
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

Re: Nagios installation is failed

Posted: Wed Jan 22, 2020 3:59 pm
by scottwilkerson
I really don't know what else to say, we have tested this on fresh installs of RHEL and CentOS without issue

Re: Nagios installation is failed

Posted: Fri Jan 24, 2020 12:08 pm
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

Re: Nagios installation is failed

Posted: Fri Jan 24, 2020 3:57 pm
by scottwilkerson
Is it possible to start with a fresh clean minimal install RHEL 7 system?