http://public-yum.oracle.com/repo/Or...ta/repomd.xml: [Errno 14] PYCURL ERROR 22 - "The requested URL returned error: 407"
Trying other mirror.
Error: Cannot retrieve repository metadata (repomd.xml) for repository: ol6_latest. Please verify its path and try again
Above error occurs when I attempt to install snmp. Command I used was
yum install –y net-snmp-utils net-snmp net-snmp-libs
Checked that the server has internet access and it does. The server works through a proxy however username and password are commented out. This works well with other Linux servers (all of them are Red Hat Enterprise Linux Server release 6.3 (Santiago). All (3 of them) set up in the same manner. However having trouble with this one particular server. If I edit public-yum-old.repo so that the channels enabled setting is set to "0" url error disappears. However - attempting to install snmp comes back with
yum install –y net-snmp-utils net-snmp net-snmp-libs
Loaded plugins: refresh-packagekit, security
Setting up Install Process
No package net-snmp-utils available.
No package net-snmp available.
No package net-snmp-libs available.
Error: Nothing to do
Changing gpgcheck value from 0 - 1 and vice-versa makes no difference. I have internet access because I can access google. I tested connection by trying wget
www.google.com and was successful. I clean yum with
yum clean all
also
yum clean metadata
Try yum update but cannot update.
Successfully installed snmp and configured on two other Oracle Linux servers. To the best of my knowledge the server giving this problem is setup in the same manner as two other exisiting servers where snmp was setup without issues .Just this one playing up. See copy of repo file below:
[ol6_latest]
name=Oracle Linux $releasever Latest ($basearch)
baseurl=http://public-yum.oracle.com/repo/OracleLinux/OL6/latest/$basearch/
gpgkey=http://public-yum.oracle.com/RPM-GPG-KEY-oracle-ol6
gpgcheck=1
enabled=0
[ol6_ga_base]
name=Oracle Linux $releasever GA installation media copy ($basearch)
baseurl=http://public-yum.oracle.com/repo/OracleLinux/OL6/0/base/$basearch/
gpgkey=http://public-yum.oracle.com/RPM-GPG-KEY-oracle-ol6
gpgcheck=0
enabled=0
[ol6_u1_base]
name=Oracle Linux $releasever Update 1 installation media copy ($basearch)
baseurl=http://public-yum.oracle.com/repo/OracleLinux/OL6/1/base/$basearch/
gpgkey=http://public-yum.oracle.com/RPM-GPG-KEY-oracle-ol6
gpgcheck=0
enabled=0
[ol6_u2_base]
name=Oracle Linux $releasever Update 2 installation media copy ($basearch)
baseurl=http://public-yum.oracle.com/repo/OracleLinux/OL6/2/base/$basearch/
gpgkey=http://public-yum.oracle.com/RPM-GPG-KEY-oracle-ol6
gpgcheck=0
enabled=0
[ol6_u3_base]
name=Oracle Linux $releasever Update 3 installation media copy ($basearch)
baseurl=http://public-yum.oracle.com/repo/OracleLinux/OL6/3/base/$basearch/
gpgkey=http://public-yum.oracle.com/RPM-GPG-KEY-oracle-ol6
gpgcheck=0
enabled=0
[ol6_UEK_latest]
name=Latest Unbreakable Enterprise Kernel for Oracle Linux $releasever ($basearch)
baseurl=http://public-yum.oracle.com/repo/OracleLinux/OL6/UEK/latest/$basearch/
gpgkey=http://public-yum.oracle.com/RPM-GPG-KEY-oracle-ol6
gpgcheck=0
enabled=0
[ol6_UEK_base]
name=Unbreakable Enterprise Kernel for Oracle Linux $releasever ($basearch)
baseurl=http://public-yum.oracle.com/repo/OracleLinux/OL6/UEK/base/$basearch/
gpgkey=http://public-yum.oracle.com/RPM-GPG-KEY-oracle-ol6
gpgcheck=0
enabled=0
Thanks in advance
curethepc