Page 1 of 2

Installer stopped working on 5/2/15, I think.

Posted: Wed May 06, 2015 12:01 am
by Coldmine
I am trying to install Nagios on RHEL version 7. When I ran ./fullinstall I saw an error. In the install.log file, this site has a 404 error:

Code: Select all

http://mirror.oss.ou.edu/epel/7/x86_64/repodata/dd5cf6a19fbbe585a0dcb7b4dd9e2861d4017cfc5439cf6fc8bef73f646ff19b-primary.sqlite.bz2
The link is indeed defective. As of 5/2/15, there is a new ...-primary.sqlite.bz2 file. It is in the location of http://mirror.oss.ou.edu/epel/7/x86_64/repodata/.

Is there a way to manually modify a configuration file so the correct URL is invoked and installed? This would lead to a successful download.

There were various Processing Dependency issues in the install. I'm not sure if I should even try the ./fullinstall again given the warnings about installing it on a clean machine only. How do I get Nagios installed?

Re: Installer stopped working on 5/2/15, I think.

Posted: Wed May 06, 2015 9:17 am
by jdalrymple
This is not a broken install but rather a broken mirror.

Add "exclude=mirror.oss.ou.ed" to the main section of /etc/yum/pluginconf.d/fastestmirror.conf

Do a

Code: Select all

yum clean dbcache metadata
See if that fixes it.

Re: Installer stopped working on 5/2/15, I think.

Posted: Wed May 06, 2015 4:15 pm
by Coldmine
I don't have an fastestmirror.conf file in that directory.

I have these files:

amazon-id.conf product-id.conf rhui-lb.conf
langpacks.conf rhnplugin.conf subscription-manager.conf

What should I do?

Re: Installer stopped working on 5/2/15, I think.

Posted: Wed May 06, 2015 4:50 pm
by jdalrymple
Sorry - I didn't notice that you're on RHEL which I don't think uses fastestmirror anymore. I don't have an RHEL 7 system handy - so I'll do my best - let's try this.

Open /etc/yum.repos.d/epel.repo - mine looks like this:

Code: Select all

[epel]
name=Extra Packages for Enterprise Linux 7 - $basearch
#baseurl=http://download.fedoraproject.org/pub/epel/7/$basearch
mirrorlist=https://mirrors.fedoraproject.org/metalink?repo=epel-7&arch=$basearch
failovermethod=priority
enabled=1
gpgcheck=1
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-EPEL-7

[epel-debuginfo]
name=Extra Packages for Enterprise Linux 7 - $basearch - Debug
#baseurl=http://download.fedoraproject.org/pub/epel/7/$basearch/debug
mirrorlist=https://mirrors.fedoraproject.org/metalink?repo=epel-debug-7&arch=$basearch
failovermethod=priority
enabled=0
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-EPEL-7
gpgcheck=1

[epel-source]
name=Extra Packages for Enterprise Linux 7 - $basearch - Source
#baseurl=http://download.fedoraproject.org/pub/epel/7/SRPMS
mirrorlist=https://mirrors.fedoraproject.org/metalink?repo=epel-source-7&arch=$basearch
failovermethod=priority
enabled=0
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-EPEL-7
gpgcheck=1
In each of those uncomment the baseurl line and comment the mirrorlist line.

Cross your fingers and try to install again.

Re: Installer stopped working on 5/2/15, I think.

Posted: Wed May 06, 2015 7:41 pm
by Coldmine
I tried that. "In each of those uncomment the baseurl line and comment the mirrorlist line."

I ran the installer again. It still doesn't work.

In install.log I see these messages:

Loaded plugins: amazon-id, rhui-lb
http://mirror.oss.ou.edu/epel/7/x86_64/ ... cfc5439cf6 fc8bef73f646ff19b-primary.sqlite.bz2: [Errno 14] HTTP Error 404 - Not Found
Trying other mirror.

...

--> Finished Dependency Resolution
Error: Package: rrdtool-1.4.9-1.el7.x86_64 (nagiosxi-deps)
Requires: dejavu-lgc-sans-fonts
Error: Package: perl-Net-SNMP-6.0.1-7.el7.noarch (epel)
Requires: perl(Crypt::DES)
Error: Package: rrdtool-1.4.9-1.el7.x86_64 (nagiosxi-deps)
Requires: dejavu-lgc-sans-mono-fonts
Error: Package: nagiosxi-deps-el7-2014r2.6-1.noarch (/nagiosxi-deps-el7-2014r2.6-1.noarch)
Requires: php-snmp
Error: Package: perl-Mail-IMAPClient-3.34-1.el7.noarch (epel)
Requires: perl(Parse::RecDescent)
Error: Package: nagiosxi-deps-el7-2014r2.6-1.noarch (/nagiosxi-deps-el7-2014r2.6-1.noarch)
Requires: php-mbstring
Error: Package: nagiosxi-deps-el7-2014r2.6-1.noarch (/nagiosxi-deps-el7-2014r2.6-1.noarch)
Requires: gd-devel


What should I do?

Re: Installer stopped working on 5/2/15, I think.

Posted: Thu May 07, 2015 9:25 am
by tgriep
You may need to enable your base repo so that the yum installer can install the needed dependencies.
Can you run the following on your server and post the output so we can see the list of repo's on your server?

Code: Select all

yum repolist all

Re: Installer stopped working on 5/2/15, I think.

Posted: Thu May 07, 2015 8:15 pm
by Coldmine

Code: Select all

 yum repolist all
Loaded plugins: amazon-id, rhui-lb
repo id                                                     repo  status
!epel/x86_64                                                Extra enabled: 7,773
epel-debuginfo/x86_64                                       Extra disabled
epel-source                                                 Extra disabled
epel-testing/x86_64                                         Extra disabled
epel-testing-debuginfo/x86_64                               Extra disabled
epel-testing-source/x86_64                                  Extra disabled
!nagios-base                                                Nagio enabled:    76
!nagiosxi-deps                                              Nagio enabled:    22
!rhui-REGION-client-config-server-7/x86_64                  Red H enabled:     4
rhui-REGION-rhel-server-debug-extras/7Server/x86_64         Red H disabled
rhui-REGION-rhel-server-debug-optional/7Server/x86_64       Red H disabled
rhui-REGION-rhel-server-debug-rh-common/7Server/x86_64      Red H disabled
rhui-REGION-rhel-server-debug-rhscl/7Server/x86_64          Red H disabled
rhui-REGION-rhel-server-debug-supplementary/7Server/x86_64  Red H disabled
rhui-REGION-rhel-server-extras/7Server/x86_64               Red H disabled
rhui-REGION-rhel-server-optional/7Server/x86_64             Red H disabled
!rhui-REGION-rhel-server-releases/7Server/x86_64            Red H enabled: 6,855
rhui-REGION-rhel-server-releases-debug/7Server/x86_64       Red H disabled
rhui-REGION-rhel-server-releases-source/7Server/x86_64      Red H disabled
!rhui-REGION-rhel-server-rh-common/7Server/x86_64           Red H enabled:   131
rhui-REGION-rhel-server-rhscl/7Server/x86_64                Red H disabled
rhui-REGION-rhel-server-source-extras/7Server/x86_64        Red H disabled
rhui-REGION-rhel-server-source-optional/7Server/x86_64      Red H disabled
rhui-REGION-rhel-server-source-rh-common/7Server/x86_64     Red H disabled
rhui-REGION-rhel-server-source-rhscl/7Server/x86_64         Red H disabled
rhui-REGION-rhel-server-source-supplementary/7Server/x86_64 Red H disabled
rhui-REGION-rhel-server-supplementary/7Server/x86_64        Red H disabled
!rpmforge                                                   RHEL  enabled:   245
rpmforge-extras                                             RHEL  disabled
rpmforge-testing                                            RHEL  disabled
repolist: 15,106

Re: Installer stopped working on 5/2/15, I think.

Posted: Fri May 08, 2015 9:46 am
by tgriep
Those packages should be part of the Redhat Optional repo. You need to enable that repo and you may need a subscription from Redhat to get access to them.

Re: Installer stopped working on 5/2/15, I think.

Posted: Fri May 08, 2015 2:42 pm
by Coldmine
I think you asked me to post the output for a reason. Do I need every single package that is disabled?

I'm using a free version of AWS. If I need a subscription, it sounds like I will have to pay.

Re: Installer stopped working on 5/2/15, I think.

Posted: Fri May 08, 2015 2:49 pm
by scottwilkerson
you need this item enabled

Code: Select all

rhui-REGION-rhel-server-optional/7Server/x86_64             Red H disabled
Additionally, you will likely want to do a

Code: Select all

yum clean all
to fix the HTTP Error 404 - Not Found issue for the mirror you have cached