[Yum] proxy not working - configured correctly?
Terry
td3201 at gmail.com
Fri Jun 25 05:29:04 UTC 2010
On Fri, Jun 25, 2010 at 12:19 AM, Terry <td3201 at gmail.com> wrote:
> On Thu, Jun 24, 2010 at 11:49 PM, Seth Vidal <skvidal at fedoraproject.org>wrote:
>
>>
>>
>> On Thu, 24 Jun 2010, Terry wrote:
>>
>> On Thu, Jun 24, 2010 at 11:23 PM, James Antill <james-yum at and.org>
>>> wrote:
>>> Terry <td3201 at gmail.com> writes:
>>>
>>> > Hello,
>>> >
>>> > I have a single server that is giving me a fit. It is a RHEL
>>> 5.3 box that
>>> > was installed with no package groups, not even base, so a
>>> minimal install.
>>> >
>>> > I have the following proxy configuration in yum.conf:
>>> > proxy=http://server:3128/
>>> > proxy_username=DOMAIN%5Cbar
>>> > proxy_password=foo
>>>
>>> From that the latest yum (from 5.5 or upstream) would set a proxy for
>>> http, https and ftp of:
>>>
>>> http://DOMAIN%5Cbar:foo@server:3128/?
>>>
>>> ...does that look fine? Do you know what error you are getting?
>>>
>>> --
>>> James Antill -- james at and.org
>>> _______________________________________________
>>>
>>> Thanks for the reply. I am using yum-3.2.22-26.el5. I gave what you
>>> suggested a try. Here's what my new config says:
>>> proxy=http://DOMAIN%5Cfoo:bar@server:3128
>>>
>>>
>>> [root at server network-scripts]# yum check-update
>>> Loaded plugins: rhnplugin, security
>>> There was an error communicating with RHN.
>>> RHN support will be disabled.
>>> Error communicating with server. The message was:
>>> Connection refused
>>>
>>> I double checked my firewall logs and it is completely ignoring the proxy
>>> configuration because it is going directly to the Internet to get to RHN:
>>> Jun 24 23:30:44 10.98.1.1 %ASA-4-106023: Deny tcp src
>>> VLAN197:10.197.1.5/46109 dst outside:209.132.183.44/443 by access-group
>>> "VLAN197-in" [0x0, 0x0]
>>>
>>> It's hitting RHN directly, not via proxy.
>>>
>>>
>>>
>>
>> Hmm - well if you're using the rhnplugin then yum's communication being
>> proxied has nothing to do with it.
>>
>> what do you see in your rhn-plugin configuration?
>>
>> specifically
>> /etc/sysconfig/rhn/up2date
>>
>> -sv
>>
>> _______________________________________________
>> Yum mailing list
>> Yum at lists.baseurl.org
>> http://lists.baseurl.org/mailman/listinfo/yum
>>
>>
> Default configuration which is proxy disabled and no configuration for it.
> Expected but, again, none of my other machines have this file configured.
> Only main yum.conf.
>
I went ahead and configured this file and it's now working. How are all of
my other servers working fine with just the global yum.conf proxy
configuration? Confused.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.baseurl.org/pipermail/yum/attachments/20100625/9cc47f1d/attachment.html>
More information about the Yum
mailing list