Yum, rhn and an apache proxy : problems

Benoit Guguin <[email protected]>
Newsgroups gmane.linux.redhat.rhn.user
Organization Alixen
Message-ID <[email protected]>
Hi,

I have some truble  to  use yum through  an apache 1.3 proxy.

-- When I try to update my system :
yum update
Loading "installonlyn" plugin
Loading "rhnplugin" plugin
Setting up Update Process
Setting up repositories
Error: Cannot open/read repomd.xml file for repository: rhel-i386-server-5


-- In the log file /var/log/up2date, all seems to go well :
[Thu Nov 29 11:03:24 2007] up2date logging into up2date server
[Thu Nov 29 11:03:25 2007] up2date successfully retrieved authentication token 
from up2date server


-- In the apache 1.3 proxy log files, seems to go wrong :
"CONNECT xmlrpc.rhn.redhat.com:443 HTTP/1.1" 200 -
"CONNECT xmlrpc.rhn.redhat.com:443 HTTP/1.1" 200 -
CONNECT xmlrpc.rhn.redhat.com:443 HTTP/1.1" 400 307

So I've got two good response (for the authentification I suppose) and one bad 

I've tried to modify python in order to add a userAgent ... but doesn't change 
anything.

I've tried to use local variable (http_proxy and https_proxy) in place of the 
configuration in yum ... but didn't change anything ...


In the other hand, all rhn_* commands work greats ... rhn_check works without 
problems and the information is up to date in rhn.redhat.com ...



Any idea ? 
thank you in avance.




Well 



-- 
Guguin Benoit
Société Alixen 20 rue Jean Rostand 91 400 Orsay Cedex France
Tel :  01 60 19 72 31, Fax : 01 69 41 78 54
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.