<div dir="ltr">Are you sure you are using the correct name there are 2 names channel name and channel label...you need to use the channel label (I believe)<br></div><div class="gmail_extra"><br><br><div class="gmail_quote">
On Tue, Oct 8, 2013 at 4:36 AM, Franky Van Liedekerke <span dir="ltr"><<a href="mailto:liedekef@telenet.be" target="_blank">liedekef@telenet.be</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
On 2013-10-08 03:28, Miguel Cruz wrote:<br>
<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
I get the following error when I try to sync my erratas:<br>
<br>
[root@spacewalk spacewalk_scripts]# ./redhat-clone-errata.sh<br>
WARNING: channel.software.listErrata returned an error: Fault returned<br>
from XML RPC Server, fault code -210: No such channel<br>
<br>
WARNING: channel.software.listErrata returned an error: Fault returned<br>
from XML RPC Server, fault code -210: No such channel<br>
<br>
I'm not sure if its the channel names as seen on my spacewalk server or<br>
the ones used by the RHN that i need to put on redhat-clone-errata.sh.<br>
Important bits from my redhat-clone-errata.sh:<br>
<br>
# now do the import<br>
# change the channel parameter to your liking<br>
# and add the option "--redhat-channel <RHN channel name>" if the channel<br>
name if not the same as in your spacewalk server<br>
./<a href="http://ya-errata-import.pl" target="_blank">ya-errata-import.pl</a> [1] --server $SPACEWALK --channel<br>
rhel5.i386-updates --redhat-channel rhel5-i386-server-5 --os-version 5<br>
--publish --redhat --rhn-proxy=xxx --startfromprevious twoweeks --quiet<br>
<br>
./<a href="http://ya-errata-import.pl" target="_blank">ya-errata-import.pl</a> [1] --server $SPACEWALK --channel<br>
rhel5.x86_64-updates --os-version 5 --publish --redhat --rhn-proxy=xxx<br>
--startfromprevious twoweeks --quiet<br>
<br>
My channels in my spacewalk server:<br>
<br>
RHEL_5_i386_UPDATES<br>
Spacewalk Default Organization<br>
2671<br>
11<br>
<br>
RHEL_5_x86_64_UPDATES<br>
Spacewalk Default Organization<br>
3419<br>
1<br>
</blockquote>
<br>
<br>
I advise you to read the help section:<br>
--channel          The spacewalk channel you want to publish errata to<br>
<snip><br>
--redhat-channel   RedHat channel to get errata from, only usefull with --redhat, defaults to the same as --channel<br>
<br>
And also: you need to use exactly the same names as on your spacewalk server, including upppercase characters.<br>
<br>
Franky<br>
<br>
______________________________<u></u>_________________<br>
Spacewalk-list mailing list<br>
<a href="mailto:Spacewalk-list@redhat.com" target="_blank">Spacewalk-list@redhat.com</a><br>
<a href="https://www.redhat.com/mailman/listinfo/spacewalk-list" target="_blank">https://www.redhat.com/<u></u>mailman/listinfo/spacewalk-<u></u>list</a><br>
</blockquote></div><br></div>