<span>Hi,<br><br>At the moment I am trying to get [ rhn-clone-errata.py ] to work but I can't seem to do so.<br><br>My situation is that on server mgt50 I have spacewalk 1.4 running. It is  a closed environment <br>with a http proxy connected to the Internet.<br>


<br>My hosts are running RHEL 5.4 x86_64<br><br>From the mgt50 I am trying to get errata information into Spacewalk using :<br><br>/sbin/rhn-clone-errata.py -s localhost -l admin -p <pw admin> -c rhel-x86_64-server-5  --publish<br>


( using the -s I also tried mgt50 instead of localhost ).<br><br>iptables / selinux are stopped<br><br>In the script I set the following :<br><br></span><div style="margin-left:40px"><span>svrRHN = '<a href="http://xmlrpc.rhn.redhat.com" target="_blank">xmlrpc.rhn.redhat.com</a>'</span><br>


<span>userRHN = 'RHN Username'</span><br><span>passRHN = '<RHN Password'</span><br><span></span></div><span><br>When running my script, On the prompt I set :<br><br></span><div style="margin-left:40px">


<span>export https_proxy="http://<proxy user>:<proxy <a href="http://password@10.132.174.140:8080" target="_blank">password@10.132.174.140:8080</a>"</span><br><span></span><span>export http_proxy="http://<proxy user>:<proxy <a href="http://password@10.132.174.140:8080" target="_blank">password@10.132.174.140:8080</a>"</span><br>


</div><br><br>Does not matter what I try the error message keep on saying  :<br><div style="margin-left:40px"><br>socket.gaierror: (-2, 'Name or service not known')<br></div><br><span><br><br>Running yum check_update runs perfectly.<br>


<br>Can anyone help me solving my issue(s) <br><br><br>Maybe how I should look at the output ... I don't know whether it is the connection to RHN or the connection to<br>my spacewalk server which is wrong.<br><br>Hope someone can help me.<br>


<br>Michel<br><br></span>