<div dir="ltr">Hi Paul, <div><br></div><div>This a more often issue than everybody things, in order to fix this, what we do is to run the next commands on the client side:</div><div><div style="box-sizing:border-box"><div style=""><div style=""><p style=""><font face="arial, sans-serif" style="" size="4">Disable all the plugins to disable rhnplugin: sed -i 's/plugins=1/plugins=0/g' /etc/yum.conf</font></p>



<p style=""><font face="arial, sans-serif" size="4">Disable all the external repositores: yum-config-manager --disable \*</font></p>



<p style=""><font face="arial, sans-serif" size="4">Re-enable all the plugins to enable rhnplugin: sed -i 's/plugins=0/plugins=1/g' /etc/yum.conf<br></font></p>





</div>
</div>
</div><div><font face="arial, sans-serif" size="4">Update all the packages related to rpm, rhn, and yum: yum update rpm* rhn* yum* -y</font></div></div><div><span style="font-family:"Segoe UI","Helvetica Neue","Apple Color Emoji","Segoe UI Emoji",Helvetica,Arial,sans-serif;font-size:14px"><br></span></div><div><span style="font-family:"Segoe UI","Helvetica Neue","Apple Color Emoji","Segoe UI Emoji",Helvetica,Arial,sans-serif;font-size:14px">This fix the issue. At least that's my experience. Hope this helps.</span></div><div><span style="font-family:"Segoe UI","Helvetica Neue","Apple Color Emoji","Segoe UI Emoji",Helvetica,Arial,sans-serif;font-size:14px"><br></span></div><div><span style="font-family:"Segoe UI","Helvetica Neue","Apple Color Emoji","Segoe UI Emoji",Helvetica,Arial,sans-serif;font-size:14px">BR,</span></div><div><span style="font-family:"Segoe UI","Helvetica Neue","Apple Color Emoji","Segoe UI Emoji",Helvetica,Arial,sans-serif;font-size:14px"><br></span></div><div><span style="font-family:"Segoe UI","Helvetica Neue","Apple Color Emoji","Segoe UI Emoji",Helvetica,Arial,sans-serif;font-size:14px">Ezequiel</span></div><div><span style="font-family:"Segoe UI","Helvetica Neue","Apple Color Emoji","Segoe UI Emoji",Helvetica,Arial,sans-serif;font-size:14px"><br></span></div><div><br></div></div><div dir="auto"></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">El jue., 13 de febrero de 2020 7:26 p. m., Paul Greene <<a href="mailto:paul.greene.va@gmail.com" target="_blank">paul.greene.va@gmail.com</a>> escribió:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr">I have a spacewalk 2.9 server with CentOS 7 clients. When I run a scheduled remote command on 50 systems, usually about half of the systems will get marked as "failed" with the error "Invalid function call attempted (code 6)".<br><br>They all have the same configuration, and every line put in the remote command will run just fine from a command prompt. If I go into a system that has been marked "failed" and manually verify if the command did what it was supposed to do, many times it actually did succeed, but was still marked "failed". And there are some that did in fact fail.<br><br>How can I address this error to get rid of the false "failed" messages?<br><br>I looked in /var/log/up2date on the clients that failed and get just these messages at the time the scheduled task failed:<br><br>up2date updateLoginfo() login info<br>up2date logging into up2date server<br>up2date successfully retrieved authentication token from up2date server</div>
_______________________________________________<br>
Spacewalk-list mailing list<br>
<a href="mailto:Spacewalk-list@redhat.com" rel="noreferrer" target="_blank">Spacewalk-list@redhat.com</a><br>
<a href="https://www.redhat.com/mailman/listinfo/spacewalk-list" rel="noreferrer noreferrer" target="_blank">https://www.redhat.com/mailman/listinfo/spacewalk-list</a></blockquote></div>