Page 1 of 1

issue installing on RHEL

Posted: Thu Oct 23, 2014 10:26 am
by benhank
the problem is as follows:

Code: Select all

[root@lkenlogstashp01 tmp]# rm -rf /tmp/*
[root@lkenlogstashp01 tmp]# cd /tmp
[root@lkenlogstashp01 tmp]# wget http://assets.nagios.com/downloads/nagios-log-server/nagioslogserver-latest.tar.gz
--2014-10-23 11:04:16--  http://assets.nagios.com/downloads/nagios-log-server/nagioslogserver-latest.tar.gz
Resolving assets.nagios.com... 72.14.181.71
Connecting to assets.nagios.com|72.14.181.71|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 123986052 (118M) [application/x-gzip]
Saving to: “nagioslogserver-latest.tar.gz”

100%[===================================================================================================================================================>]

2014-10-23 11:07:11 (692 KB/s) - “nagioslogserver-latest.tar.gz” saved [123986052/123986052]

[root@lkenlogstashp01 tmp]# tar xzf nagioslogserver-latest.tar.gz
[root@lkenlogstashp01 tmp]# cd nagioslogserver
[root@lkenlogstashp01 nagioslogserver]# ./fullinstall


ERROR: unable to read system id.
ERROR: your Red Hat installation is not registered or does not have proper entitlements. Please register or enable entitlements at rhn.redhat.com.
so I tried this:

Code: Select all

[root@lkenlogstashp01 nagioslogserver]# ls /etc/sysconfig/
atd         cgred.conf  firstboot     ip6tables         iptables.old   ktune       networking       ntpdate     readonly-root  saslauthd      sysstat
auditd      clock       grub          ip6tables-config  iptables.save  logstash    network-scripts  openct      rhn            selinux        sysstat.iocon
authconfig  console     htcacheclean  ip6tables.old     irqbalance     mcelogd     nfs              prelink     rngd           smartmontools  system-config
autofs      cpuspeed    httpd         ip6tables.save    kdump          modules     nginx            quota_nld   rsyslog        snmpd          system-config
cbq         crond       i18n          iptables          kernel         netconsole  nspluginwrapper  raid-check  samba          snmptrapd      system-config
cgconfig    daemons     init          iptables-config   keyboard       network     ntpd             readahead   sandbox        sshd           udev
[root@lkenlogstashp01 nagioslogserver]# subscription-manager list
+-------------------------------------------+
    Installed Product Status
+-------------------------------------------+
Product Name:   Red Hat Enterprise Linux Server
Product ID:     69
Version:        6.3
Arch:           x86_64
Status:         Subscribed
Status Details:
Starts:         01/08/2014
Ends:           01/08/2015

[root@lkenlogstashp01 nagioslogserver]# yum repolist all
Loaded plugins: product-id, refresh-packagekit, security
repo id                                                                 repo name
Webmin                                                                  Webmin Distribution Neutral
elasticsearch-1.3                                                       Elasticsearch repository for 1.3.x packages
epel                                                                    Extra Packages for Enterprise Linux 6 - x86_64
epel-debuginfo                                                          Extra Packages for Enterprise Linux 6 - x86_64 - Debug
epel-source                                                             Extra Packages for Enterprise Linux 6 - x86_64 - Source
epel-testing                                                            Extra Packages for Enterprise Linux 6 - Testing - x86_64
epel-testing-debuginfo                                                  Extra Packages for Enterprise Linux 6 - Testing - x86_64 - Debug
epel-testing-source                                                     Extra Packages for Enterprise Linux 6 - Testing - x86_64 - Source
logstash-1.4                                                            logstash repository for 1.4.x packages
rhel-6-server-beta-debug-rpms                                           Red Hat Enterprise Linux 6 Server Beta (Debug RPMs)
rhel-6-server-beta-rpms                                                 Red Hat Enterprise Linux 6 Server Beta (RPMs)
rhel-6-server-beta-source-rpms                                          Red Hat Enterprise Linux 6 Server Beta (Source RPMs)
rhel-6-server-cf-tools-1-beta-debug-rpms                                Red Hat CloudForms Tools for RHEL 6 Beta (Debug RPMs)
rhel-6-server-cf-tools-1-beta-rpms                                      Red Hat CloudForms Tools for RHEL 6 Beta (RPMs)
rhel-6-server-cf-tools-1-beta-source-rpms                               Red Hat CloudForms Tools for RHEL 6 Beta (Source RPMs)
rhel-6-server-cf-tools-1-debug-rpms                                     Red Hat CloudForms Tools for RHEL 6 (Debug RPMs)
rhel-6-server-cf-tools-1-rpms                                           Red Hat CloudForms Tools for RHEL 6 (RPMs)
rhel-6-server-cf-tools-1-source-rpms                                    Red Hat CloudForms Tools for RHEL 6 (Source RPMs)
rhel-6-server-debug-rpms                                                Red Hat Enterprise Linux 6 Server (Debug RPMs)
rhel-6-server-extras-debuginfo                                          Red Hat Enterprise Linux 6 Server - Extras (Debug RPMs)
rhel-6-server-extras-rpms                                               Red Hat Enterprise Linux 6 Server - Extras (RPMs)
rhel-6-server-extras-source-rpms                                        Red Hat Enterprise Linux 6 Server - Extras (Source RPMs)
rhel-6-server-fastrack-debug-rpms                                       Red Hat Enterprise Linux 6 Server - Fastrack (Debug RPMs)
rhel-6-server-fastrack-rpms                                             Red Hat Enterprise Linux 6 Server - Fastrack (RPMs)
rhel-6-server-fastrack-source-rpms                                      Red Hat Enterprise Linux 6 Server - Fastrack (Source RPMs)
rhel-6-server-optional-beta-debug-rpms                                  Red Hat Enterprise Linux 6 Server - Optional Beta (Debug RPMs)
rhel-6-server-optional-beta-rpms                                        Red Hat Enterprise Linux 6 Server - Optional Beta (RPMs)
rhel-6-server-optional-beta-source-rpms                                 Red Hat Enterprise Linux 6 Server - Optional Beta (Source RPMs)
rhel-6-server-optional-debug-rpms                                       Red Hat Enterprise Linux 6 Server - Optional (Debug RPMs)
rhel-6-server-optional-fastrack-debug-rpms                              Red Hat Enterprise Linux 6 Server - Optional Fastrack (Debug RPMs)
rhel-6-server-optional-fastrack-rpms                                    Red Hat Enterprise Linux 6 Server - Optional Fastrack (RPMs)
rhel-6-server-optional-fastrack-source-rpms                             Red Hat Enterprise Linux 6 Server - Optional Fastrack (Source RPMs)
rhel-6-server-optional-rpms                                             Red Hat Enterprise Linux 6 Server - Optional (RPMs)
rhel-6-server-optional-source-rpms                                      Red Hat Enterprise Linux 6 Server - Optional (Source RPMs)
rhel-6-server-rh-common-debug-rpms                                      Red Hat Enterprise Linux 6 Server - RH Common (Debug RPMs)
rhel-6-server-rh-common-rpms                                            Red Hat Enterprise Linux 6 Server - RH Common (RPMs)
rhel-6-server-rh-common-source-rpms                                     Red Hat Enterprise Linux 6 Server - RH Common (Source RPMs)
rhel-6-server-rhev-agent-beta-debug-rpms                                Red Hat Enterprise Virtualization Agents for RHEL 6 Server Beta (Debug RPMs)
rhel-6-server-rhev-agent-beta-rpms                                      Red Hat Enterprise Virtualization Agents for RHEL 6 Server Beta (RPMs)
rhel-6-server-rhev-agent-beta-source-rpms                               Red Hat Enterprise Virtualization Agents for RHEL 6 Server Beta (Source RPMs)
rhel-6-server-rhev-agent-debug-rpms                                     Red Hat Enterprise Virtualization Agents for RHEL 6 Server (Debug RPMs)
rhel-6-server-rhev-agent-rpms                                           Red Hat Enterprise Virtualization Agents for RHEL 6 Server (RPMs)
rhel-6-server-rhev-agent-source-rpms                                    Red Hat Enterprise Virtualization Agents for RHEL 6 Server (Source RPMs)
rhel-6-server-rhn-tools-beta-debug-rpms                                 RHN Tools for Red Hat Enterprise Linux 6 Server Beta (Debug RPMs)
rhel-6-server-rhn-tools-beta-rpms                                       RHN Tools for Red Hat Enterprise Linux 6 Server Beta (RPMs)
rhel-6-server-rhn-tools-beta-source-rpms                                RHN Tools for Red Hat Enterprise Linux 6 Server Beta (Source RPMs)
rhel-6-server-rhn-tools-debug-rpms                                      RHN Tools for Red Hat Enterprise Linux 6 Server (Debug RPMs)
rhel-6-server-rhn-tools-rpms                                            RHN Tools for Red Hat Enterprise Linux 6 Server (RPMs)
rhel-6-server-rhn-tools-source-rpms                                     RHN Tools for Red Hat Enterprise Linux 6 Server (Source RPMs)
rhel-6-server-rhs-client-1-debug-rpms                                   Red Hat Storage Native Client for RHEL 6 (Debug RPMs)
rhel-6-server-rhs-client-1-rpms                                         Red Hat Storage Native Client for RHEL 6 (RPMs)
rhel-6-server-rhs-client-1-source-rpms                                  Red Hat Storage Native Client for RHEL 6 (Source RPMs)
rhel-6-server-rpms                                                      Red Hat Enterprise Linux 6 Server (RPMs)
rhel-6-server-sam-beta-debug-rpms                                       Red Hat Subscription Asset Manager (for RHEL 6 Server) Beta (Debug RPMs)
rhel-6-server-sam-beta-rpms                                             Red Hat Subscription Asset Manager (for RHEL 6 Server) Beta (RPMs)
rhel-6-server-sam-beta-source-rpms                                      Red Hat Subscription Asset Manager (for RHEL 6 Server) Beta (Source RPMs)
rhel-6-server-sam-debug-rpms                                            Red Hat Subscription Asset Manager (for RHEL 6 Server) (Debug RPMs)
rhel-6-server-sam-rpms                                                  Red Hat Subscription Asset Manager (for RHEL 6 Server) (RPMs)
rhel-6-server-sam-source-rpms                                           Red Hat Subscription Asset Manager (for RHEL 6 Server) (Source RPMs)
rhel-6-server-source-rpms                                               Red Hat Enterprise Linux 6 Server (Source RPMs)
rhel-6-server-supplementary-beta-debuginfo                              Red Hat Enterprise Linux 6 Server - Supplementary Beta (Debug RPMs)
rhel-6-server-supplementary-beta-rpms                                   Red Hat Enterprise Linux 6 Server - Supplementary Beta (RPMs)
rhel-6-server-supplementary-beta-source-rpms                            Red Hat Enterprise Linux 6 Server - Supplementary Beta (Source RPMs)
rhel-6-server-supplementary-debuginfo                                   Red Hat Enterprise Linux 6 Server - Supplementary (Debug RPMs)
rhel-6-server-supplementary-rpms                                        Red Hat Enterprise Linux 6 Server - Supplementary (RPMs)
rhel-6-server-supplementary-source-rpms                                 Red Hat Enterprise Linux 6 Server - Supplementary (Source RPMs)
rhel-6-server-thirdparty-oracle-java-beta-rpms                          Red Hat Enterprise Linux 6 Server - Oracle Java Beta (RPMs)
rhel-6-server-thirdparty-oracle-java-beta-source-rpms                   Red Hat Enterprise Linux 6 Server - Oracle Java Beta (Source RPMs)
rhel-6-server-thirdparty-oracle-java-rpms                               Red Hat Enterprise Linux 6 Server - Oracle Java (RPMs)
rhel-6-server-thirdparty-oracle-java-source-rpms                        Red Hat Enterprise Linux 6 Server - Oracle Java (Source RPMs)
rhel-6-server-v2vwin-1-debug-rpms                                       Red Hat Virt V2V Tool for RHEL 6 (Debug RPMs)
rhel-6-server-v2vwin-1-rpms                                             Red Hat Virt V2V Tool for RHEL 6 (RPMs)
rhel-6-server-v2vwin-1-source-rpms                                      Red Hat Virt V2V Tool for RHEL 6 (Source RPMs)
rhel-server-dts-6-rhb-debug-rpms                                        Red Hat Developer Toolset RHB Debug RPMs for Red Hat Enterprise Linux 6 Server
rhel-server-dts-6-rhb-rpms                                              Red Hat Developer Toolset RHB RPMs for Red Hat Enterprise Linux 6 Server
rhel-server-dts-6-rhb-source-rpms                                       Red Hat Developer Toolset RHB Source RPMs for Red Hat Enterprise Linux 6 Server
rhel-server-rhscl-6-beta-debug-rpms                                     Red Hat Software Collections Beta Debug RPMs for Red Hat Enterprise Linux 6 Server
rhel-server-rhscl-6-beta-rpms                                           Red Hat Software Collections Beta RPMs for Red Hat Enterprise Linux 6 Server
rhel-server-rhscl-6-beta-source-rpms                                    Red Hat Software Collections Beta Source RPMs for Red Hat Enterprise Linux 6 Server
rhel-source                                                             Red Hat Enterprise Linux 6Server - x86_64 - Source
rhel-source-beta                                                        Red Hat Enterprise Linux 6Server Beta - x86_64 - Source
repolist: 25,370
and I am stumped

Re: issue installing on RHEL

Posted: Thu Oct 23, 2014 11:26 am
by sreinhardt
I don't yet know the log server installer as well as the xi installer, but is this system both online and registered with redhat licensing?

edit: well I see at least you are registered... let me take a peek at the installer.

edit2: Looks like we might have missed one of the RHEL version checks. Could do the following:

Edit libinstall.sh at lines 417 the function valid_rhel() should be changed to:

Code: Select all

# If the system is Red Hat, make sure it's registered & has the appropriate
# channels enabled.
valid_rhel() {
	if [ -x /usr/sbin/rhn_check ] && ! /usr/sbin/rhn_check 2>/dev/null; then
		if [ -x /usr/bin/subscription-manager ] && [[ ! -z $(subscription-manager list | grep Status: | grep -qF Subscribed) ]]; then
			error "your Red Hat installation is not registered or does" \
				  "not have proper entitlements. Please register or" \
				  "enable entitlements at rhn.redhat.com."
		fi
	fi
	
}

Re: issue installing on RHEL

Posted: Thu Oct 23, 2014 12:22 pm
by benhank
so far the install is working!

Re: issue installing on RHEL

Posted: Thu Oct 23, 2014 12:25 pm
by benhank
Nagios Log Server Installation Success!
whoo hoo!


btw I got my nagios core sys admin certification during the conference!
lock it up spence and thanks