<div dir="ltr">If the client isn't connected to the internet directly, make sure you've removed any old repo's under /etc/yum.repos.d/, as it may be trying to pull from that repo instead of Spacewalk. <div><br>
</div><div>You shouldn't need to modify anything under /etc/yum/pluginconf.d. Looks like the client had an issue downloading repodata from the Spacewalk server. This is cached in Spacewalk under /var/cache/rhn/repodata. Make sure /var/cache/rhn is owned by apache.root, Verify taskomatic is running and has built the necessary repodata for your channel. /var/log/rhn/rhn_taskomatic_daemon.log. I've seen that error happen before when taskomatic was currently building the necessary repodata for the channel. </div>
</div><div class="gmail_extra"><br><br><div class="gmail_quote">On Fri, May 16, 2014 at 2:47 PM, William Kwan <span dir="ltr"><<a href="mailto:potatok@yahoo.com" target="_blank">potatok@yahoo.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div><div style="color:#000;background-color:#fff;font-family:Courier New,courier,monaco,monospace,sans-serif;font-size:10pt">
Hi all<br><br>I'm a Spacewalk newbie. I have a few questions regarding client setup on CentOS6.5<br><br>1. when I register a CentOS 6.5 client, it throws me errors after successfully registered. Those are pretty sure coming from yum repos.  The "client" is not connected to the internet directly.  This is expected?  <br>
<br>[root@centtest ~]# rhnreg_ks -v --serverUrl=<a>http://spacewalk.test.com/XMLRPC</a> --activationkey=1-0224935016493724c1f8dbee91502823<br>Could not retrieve mirrorlist <a>http://mirrorlist.centos.org/?release=6&arch=x86_64&repo=os</a> error was<br>
14: PYCURL ERROR 6 - "Couldn't resolve host '<a>mirrorlist.centos.org</a>'"<br>Could not get
 metalink <a>https://mirrors.fedoraproject.org/metalink?repo=epel-6&arch=x86_64</a> error was<br>.... <br>....<br><br><br>2. I added osad packages on the client and attempted to install a couple of packages selected from the base Centos 6.5 channel.  They ended up with <br>
<br>Error while executing packages action: failure: repodata/37f91aa77dbd6a3de69cfbd7aeb7852ea37ac30c908d97097f9c49570875783b-filelists.sqlite.bz2 from base: [Errno 256] No more mirrors to try. [[6]]" (code -1)<br>Packages Scheduled:<br>
ant-1.7.1-13.el6:0.x86_64<br><br>Is there anything I need to do or missing?  Do I need to specify the channels in "/etc/yum/pluginconf.d/rhnplugin.conf"<br><br><br>Thanks in advance <br><br>Will<br><br><br><br></div>
</div><br>_______________________________________________<br>
Spacewalk-list mailing list<br>
<a href="mailto:Spacewalk-list@redhat.com">Spacewalk-list@redhat.com</a><br>
<a href="https://www.redhat.com/mailman/listinfo/spacewalk-list">https://www.redhat.com/mailman/listinfo/spacewalk-list</a><br></blockquote></div><br></div>