OEL 6.1 YUM proxy problem
Hi all,
I have some issue with OEL 6.1 YUM proxy.
*[root@rac1 tmp]# uname -a*
Linux rac1.oracle.cloud 2.6.32-100.34.1.el6uek.x86_64 #1 SMP Wed May 25 17:46:45 EDT 2011 x86_64 x86_64 x86_64 GNU/Linux
*[root@rac1 tmp]# rpm -qa | grep yum*
yum-metadata-parser-1.1.2-16.el6.x86_64
yum-3.2.29-17.0.1.el6.noarch
yum-rhn-plugin-0.9.1-26.0.2.el6.noarch
yum-utils-1.1.30-6.el6.noarch
PackageKit-yum-plugin-0.5.8-19.0.1.el6.x86_64
PackageKit-yum-0.5.8-19.0.1.el6.x86_64
*[root@rac1 tmp]# cat /etc/yum.repos.d/public-yum-ol6.repo*
[ol6_ga_base]
name=Oracle Linux 6 GA - $basearch - base
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=1
[ol6_u1_base]
name=Oracle Linux 6 U1 - $basearch - base
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=1
*[root@rac1 tmp]# cat /etc/yum.conf*
[main]
cachedir=/var/cache/yum/$basearch/$releasever
debuglevel=2
sslverify=false
logfile=/var/log/yum.log
pkgpolicy=newest
distroverpkg=redhat-release
tolerant=1
exactarch=1
# The proxy server - proxy server:port number
proxy=http://xxx.xxx.xxx.xxx:3128
# The account details for yum connections
proxy_username=xxx
proxy_password=@$xxx
*[root@rac1 tmp]# yum update*
http://public-yum.oracle.com/repo/OracleLinux/OL6/0/base/x86_64/repodata/repomd.xml: [Errno 14] PYCURL ERROR 5 - "Couldn't resolve proxy '$xxx@192.168.1.50'"
Trying other mirror.
Error: Cannot retrieve repository metadata (repomd.xml) for repository: ol6_ga_base. Please verify its path and try again
[root@rac1 tmp]#
In OEL5.7 this works fine without any problem. I think this related to OEL6.1, maybe YUM does not understand proxy, my password for proxy starting with @$ but I changed my password and
output is changed to
*[root@rac1 tmp]# yum update*
http://public-yum.oracle.com/repo/OracleLinux/OL6/0/base/x86_64/repodata/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_ga_base. Please verify its path and try again
[root@rac1 tmp]#
If anyone can help me please reply.
./thanks