By: Adrian Drummond user 14 Oct 2015 at 5:56 p.m. CDT

3 Responses
Adrian Drummond gravatar
I tried to reinstall Gluu Server on my Centos 6.5 Amazon Web Services EC2 instance and it failed. I just installed wget on a fresh Centos 7 instance and it failed too. Is there a problem with the repo on Gluu.org? Here is the terminal output I see: [root@ip-172-31-37-157 ~]# yum install wget Loaded plugins: fastestmirror Loading mirror speeds from cached hostfile * base: mirror.web-ster.com * extras: mirrors.cat.pdx.edu * updates: mirror.spro.net Resolving Dependencies --> Running transaction check ---> Package wget.x86_64 0:1.14-10.el7_0.1 will be installed --> Finished Dependency Resolution Dependencies Resolved ======================================================================================================================================================== Package Arch Version Repository Size ======================================================================================================================================================== Installing: wget x86_64 1.14-10.el7_0.1 base 545 k Transaction Summary ======================================================================================================================================================== Install 1 Package Total download size: 545 k Installed size: 2.0 M Is this ok [y/d/N]: y Downloading packages: wget-1.14-10.el7_0.1.x86_64.rpm | 545 kB 00:00:00 Running transaction check Running transaction test Transaction test succeeded Running transaction Installing : wget-1.14-10.el7_0.1.x86_64 1/1 Verifying : wget-1.14-10.el7_0.1.x86_64 1/1 Installed: wget.x86_64 0:1.14-10.el7_0.1 Complete! [root@ip-172-31-37-157 ~]# [root@ip-172-31-37-157 ~]# [root@ip-172-31-37-157 ~]# [root@ip-172-31-37-157 ~]# wget http://repo.gluu.org/centos/Gluu-7.repo -O /etc/yum.repos.d/Gluu7.repo --2015-10-14 22:42:36-- http://repo.gluu.org/centos/Gluu-7.repo Resolving repo.gluu.org (repo.gluu.org)... 104.239.197.44 Connecting to repo.gluu.org (repo.gluu.org)|104.239.197.44|:80... connected. HTTP request sent, awaiting response... 200 OK Length: 336 Saving to: ‘/etc/yum.repos.d/Gluu7.repo’ 100%[==============================================================================================================>] 336 --.-K/s in 0s 2015-10-14 22:42:36 (33.8 MB/s) - ‘/etc/yum.repos.d/Gluu7.repo’ saved [336/336] [root@ip-172-31-37-157 ~]# wget http://repo.gluu.org/centos/RPM-GPG-KEY-GLUU -O /etc/pki/rpm-gpg/RPM-GPG-KEY-GLUU --2015-10-14 22:42:48-- http://repo.gluu.org/centos/RPM-GPG-KEY-GLUU Resolving repo.gluu.org (repo.gluu.org)... 104.239.197.44 Connecting to repo.gluu.org (repo.gluu.org)|104.239.197.44|:80... connected. HTTP request sent, awaiting response... 200 OK Length: 3112 (3.0K) Saving to: ‘/etc/pki/rpm-gpg/RPM-GPG-KEY-GLUU’ 100%[==============================================================================================================>] 3,112 --.-K/s in 0s 2015-10-14 22:42:48 (267 MB/s) - ‘/etc/pki/rpm-gpg/RPM-GPG-KEY-GLUU’ saved [3112/3112] [root@ip-172-31-37-157 ~]# rpm --import /etc/pki/rpm-gpg/RPM-GPG-KEY-GLUU [root@ip-172-31-37-157 ~]# yum clean all Loaded plugins: fastestmirror Cleaning repos: Gluu-rpm-base-repo base extras updates Cleaning up everything Cleaning up list of fastest mirrors [root@ip-172-31-37-157 ~]# yum install gluu-server Loaded plugins: fastestmirror http://deb-repo.gluu.org/centos/7/repodata/repomd.xml: [Errno 14] curl#7 - "Failed connect to deb-repo.gluu.org:80; Connection refused" Trying other mirror. http://deb-repo.gluu.org/centos/7/repodata/repomd.xml: [Errno 14] curl#7 - "Failed connect to deb-repo.gluu.org:80; Connection refused" Trying other mirror. http://deb-repo.gluu.org/centos/7/repodata/repomd.xml: [Errno 14] curl#7 - "Failed connect to deb-repo.gluu.org:80; Connection refused" Trying other mirror. http://deb-repo.gluu.org/centos/7/repodata/repomd.xml: [Errno 14] curl#7 - "Failed connect to deb-repo.gluu.org:80; Connection refused" Trying other mirror. http://deb-repo.gluu.org/centos/7/repodata/repomd.xml: [Errno 14] curl#7 - "Failed connect to deb-repo.gluu.org:80; Connection refused" Trying other mirror. http://deb-repo.gluu.org/centos/7/repodata/repomd.xml: [Errno 14] curl#7 - "Failed connect to deb-repo.gluu.org:80; Connection refused" Trying other mirror. http://deb-repo.gluu.org/centos/7/repodata/repomd.xml: [Errno 14] curl#7 - "Failed connect to deb-repo.gluu.org:80; Connection refused" Trying other mirror. http://deb-repo.gluu.org/centos/7/repodata/repomd.xml: [Errno 14] curl#7 - "Failed connect to deb-repo.gluu.org:80; Connection refused" Trying other mirror. http://deb-repo.gluu.org/centos/7/repodata/repomd.xml: [Errno 14] curl#7 - "Failed connect to deb-repo.gluu.org:80; Connection refused" Trying other mirror. http://deb-repo.gluu.org/centos/7/repodata/repomd.xml: [Errno 14] curl#7 - "Failed connect to deb-repo.gluu.org:80; Connection refused" Trying other mirror. One of the configured repositories failed (Gluu centos repo), and yum doesn't have enough cached data to continue. At this point the only safe thing yum can do is fail. There are a few ways to work "fix" this: 1. Contact the upstream for the repository and get them to fix the problem. 2. Reconfigure the baseurl/etc. for the repository, to point to a working upstream. This is most often useful if you are using a newer distribution release than is supported by the repository (and the packages for the previous distribution release still work). 3. Disable the repository, so yum won't use it by default. Yum will then just ignore the repository until you permanently enable it again or use --enablerepo for temporary usage: yum-config-manager --disable Gluu-rpm-base-repo 4. Configure the failing repository to be skipped, if it is unavailable. Note that yum will try to contact the repo. when it runs most commands, so will have to try and fail each time (and thus. yum will be be much slower). If it is a very temporary problem though, this is often a nice compromise: yum-config-manager --save --setopt=Gluu-rpm-base-repo.skip_if_unavailable=true failure: repodata/repomd.xml from Gluu-rpm-base-repo: [Errno 256] No more mirrors to try. http://deb-repo.gluu.org/centos/7/repodata/repomd.xml: [Errno 14] curl#7 - "Failed connect to deb-repo.gluu.org:80; Connection refused" http://deb-repo.gluu.org/centos/7/repodata/repomd.xml: [Errno 14] curl#7 - "Failed connect to deb-repo.gluu.org:80; Connection refused" http://deb-repo.gluu.org/centos/7/repodata/repomd.xml: [Errno 14] curl#7 - "Failed connect to deb-repo.gluu.org:80; Connection refused" http://deb-repo.gluu.org/centos/7/repodata/repomd.xml: [Errno 14] curl#7 - "Failed connect to deb-repo.gluu.org:80; Connection refused" http://deb-repo.gluu.org/centos/7/repodata/repomd.xml: [Errno 14] curl#7 - "Failed connect to deb-repo.gluu.org:80; Connection refused" http://deb-repo.gluu.org/centos/7/repodata/repomd.xml: [Errno 14] curl#7 - "Failed connect to deb-repo.gluu.org:80; Connection refused" http://deb-repo.gluu.org/centos/7/repodata/repomd.xml: [Errno 14] curl#7 - "Failed connect to deb-repo.gluu.org:80; Connection refused" http://deb-repo.gluu.org/centos/7/repodata/repomd.xml: [Errno 14] curl#7 - "Failed connect to deb-repo.gluu.org:80; Connection refused" http://deb-repo.gluu.org/centos/7/repodata/repomd.xml: [Errno 14] curl#7 - "Failed connect to deb-repo.gluu.org:80; Connection refused" http://deb-repo.gluu.org/centos/7/repodata/repomd.xml: [Errno 14] curl#7 - "Failed connect to deb-repo.gluu.org:80; Connection refused" [root@ip-172-31-37-157 ~]#

By Michael Schwartz Account Admin 14 Oct 2015 at 6:05 p.m. CDT

Michael Schwartz gravatar
Yes, it looks like it is... assigned to an engineer to take a look.

By Adrian Drummond user 14 Oct 2015 at 11:02 p.m. CDT

Adrian Drummond gravatar
I just retried the installation and I am still getting an error on Centos 6.5 and also on Centos 7. The Centos 6.5 error is: [root@ip-172-31-20-45 ~]# yum install gluu-server Loaded plugins: fastestmirror, presto Loading mirror speeds from cached hostfile * base: mirrors.usc.edu * extras: ftp.osuosl.org * updates: mirror.keystealth.org http://deb-repo.gluu.org/centos/6/repodata/repomd.xml: [Errno 14] PYCURL ERROR 7 - "couldn't connect to host" Trying other mirror. Error: Cannot retrieve repository metadata (repomd.xml) for repository: Gluu-rpm-base-repo. Please verify its path and try again [root@ip-172-31-20-45 ~]# The Centos 7 error is: [centos@ip-172-31-37-157 ~]$ [centos@ip-172-31-37-157 ~]$ sudo -i [root@ip-172-31-37-157 ~]# yum install gluu-server Loaded plugins: fastestmirror http://deb-repo.gluu.org/centos/7/repodata/repomd.xml: [Errno 14] curl#7 - "Failed connect to deb-repo.gluu.org:80; Connection refused" Trying other mirror. http://deb-repo.gluu.org/centos/7/repodata/repomd.xml: [Errno 14] curl#7 - "Failed connect to deb-repo.gluu.org:80; Connection refused" Trying other mirror. http://deb-repo.gluu.org/centos/7/repodata/repomd.xml: [Errno 14] curl#7 - "Failed connect to deb-repo.gluu.org:80; Connection refused" Trying other mirror. http://deb-repo.gluu.org/centos/7/repodata/repomd.xml: [Errno 14] curl#7 - "Failed connect to deb-repo.gluu.org:80; Connection refused" Trying other mirror. http://deb-repo.gluu.org/centos/7/repodata/repomd.xml: [Errno 14] curl#7 - "Failed connect to deb-repo.gluu.org:80; Connection refused" Trying other mirror. http://deb-repo.gluu.org/centos/7/repodata/repomd.xml: [Errno 14] curl#7 - "Failed connect to deb-repo.gluu.org:80; Connection refused" Trying other mirror. http://deb-repo.gluu.org/centos/7/repodata/repomd.xml: [Errno 14] curl#7 - "Failed connect to deb-repo.gluu.org:80; Connection refused" Trying other mirror. http://deb-repo.gluu.org/centos/7/repodata/repomd.xml: [Errno 14] curl#7 - "Failed connect to deb-repo.gluu.org:80; Connection refused" Trying other mirror. http://deb-repo.gluu.org/centos/7/repodata/repomd.xml: [Errno 14] curl#7 - "Failed connect to deb-repo.gluu.org:80; Connection refused" Trying other mirror. http://deb-repo.gluu.org/centos/7/repodata/repomd.xml: [Errno 14] curl#7 - "Failed connect to deb-repo.gluu.org:80; Connection refused" Trying other mirror. One of the configured repositories failed (Gluu centos repo), and yum doesn't have enough cached data to continue. At this point the only safe thing yum can do is fail. There are a few ways to work "fix" this: 1. Contact the upstream for the repository and get them to fix the problem. 2. Reconfigure the baseurl/etc. for the repository, to point to a working upstream. This is most often useful if you are using a newer distribution release than is supported by the repository (and the packages for the previous distribution release still work). 3. Disable the repository, so yum won't use it by default. Yum will then just ignore the repository until you permanently enable it again or use --enablerepo for temporary usage: yum-config-manager --disable Gluu-rpm-base-repo 4. Configure the failing repository to be skipped, if it is unavailable. Note that yum will try to contact the repo. when it runs most commands, so will have to try and fail each time (and thus. yum will be be much slower). If it is a very temporary problem though, this is often a nice compromise: yum-config-manager --save --setopt=Gluu-rpm-base-repo.skip_if_unavailable=true failure: repodata/repomd.xml from Gluu-rpm-base-repo: [Errno 256] No more mirrors to try. http://deb-repo.gluu.org/centos/7/repodata/repomd.xml: [Errno 14] curl#7 - "Failed connect to deb-repo.gluu.org:80; Connection refused" http://deb-repo.gluu.org/centos/7/repodata/repomd.xml: [Errno 14] curl#7 - "Failed connect to deb-repo.gluu.org:80; Connection refused" http://deb-repo.gluu.org/centos/7/repodata/repomd.xml: [Errno 14] curl#7 - "Failed connect to deb-repo.gluu.org:80; Connection refused" http://deb-repo.gluu.org/centos/7/repodata/repomd.xml: [Errno 14] curl#7 - "Failed connect to deb-repo.gluu.org:80; Connection refused" http://deb-repo.gluu.org/centos/7/repodata/repomd.xml: [Errno 14] curl#7 - "Failed connect to deb-repo.gluu.org:80; Connection refused" http://deb-repo.gluu.org/centos/7/repodata/repomd.xml: [Errno 14] curl#7 - "Failed connect to deb-repo.gluu.org:80; Connection refused" http://deb-repo.gluu.org/centos/7/repodata/repomd.xml: [Errno 14] curl#7 - "Failed connect to deb-repo.gluu.org:80; Connection refused" http://deb-repo.gluu.org/centos/7/repodata/repomd.xml: [Errno 14] curl#7 - "Failed connect to deb-repo.gluu.org:80; Connection refused" http://deb-repo.gluu.org/centos/7/repodata/repomd.xml: [Errno 14] curl#7 - "Failed connect to deb-repo.gluu.org:80; Connection refused" http://deb-repo.gluu.org/centos/7/repodata/repomd.xml: [Errno 14] curl#7 - "Failed connect to deb-repo.gluu.org:80; Connection refused" [root@ip-172-31-37-157 ~]#

By Adrian Drummond user 15 Oct 2015 at 3:24 a.m. CDT

Adrian Drummond gravatar
I just retried the yum install on Centos 6.5 and Centos 7 and it worked. The problem was that my server was having a problem with the yum repo. Here is what I did to resolve the issue: cd /etc/yum.repos.d/ rm Gluu.repo yum clean all wget http://repo.gluu.org/centos/Gluu.repo -O /etc/yum.repos.d/Gluu.repo OR for Centos 7 wget http://repo.gluu.org/centos/Gluu-7.repo -O /etc/yum.repos.d/Gluu7.repo yum install gluu-server I hope this helps anyone having a problem with a repo. Thanks for the quick repo fix guys, :-) Adrian