<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 TRANSITIONAL//EN">
<HTML>
<HEAD>
  <META HTTP-EQUIV="Content-Type" CONTENT="text/html; CHARSET=UTF-8">
  <META NAME="GENERATOR" CONTENT="GtkHTML/3.24.5">
</HEAD>
<BODY>
<BR>
Hello all,<BR>
<BR>
On a mix of my RHEL/CENTOS 4 systems are getting a "Invalid function call attempted" error (below) when a remote command is scheduled.<BR>
- yum/update package upgdates do not help.<BR>
- Resolution from redhat knowledgebase (below) did not help either.<BR>
<BR>
On one system that is working fine, we cloned to new hardware and now that new system is having this issue.<BR>
We of course re-registered with rhnreg_ks --force blah blah<BR>
I tried removing the systemid file and regenerating the uuid in up2date-uuid file to no avail.<BR>
<BR>
<BR>
Let me know if I can provide further information.<BR>
Thanks<BR>
-Josh<BR>
<BR>
<BR>
<BR>
<BR>
<BR>
<B><FONT SIZE="4">Error from RHN_CHECK</FONT></B><BR>
--------------------------------<BR>
rhn_check -vvvvvv<BR>
D: handle_action actionid = 58601, version = 2<BR>
D: do_call script.run (58601, {'username': 'root', 'groupname': 'root', 'now': '2010-11-02 19:36:52', 'timeout': 600, 'script': '#!/bin/sh\n\necho'})<BR>
D: Attempt to call an unsupported action script.run (58601, {'username': 'root', 'groupname': 'root', 'now': '2010-11-02 19:36:52', 'timeout': 600, 'script': '#!/bin/sh\n\necho'})<BR>
<B><FONT SIZE="5">D: Sending back response (6, 'Invalid function call attempted', {})</FONT></B><BR>
D: do_call packages.checkNeedUpdate ('rhnsd=1',)<BR>
D: local action status:  (0, 'rpm database not modified since last update (or package list recently updated)', {})<BR>
-------------------------------<BR>
<BR>
<BR>
<BR>
<BR>
<B><FONT SIZE="4">Below is this issue in the redhat knowledgebase, however the resolution did not help.</FONT></B><BR>
<BR>
===Excerpt from redhat knowledgebase===<BR>
<BR>
Why am I getting an "Invalid function call<BR>
attempted" when trying to run Remote<BR>
Commands on my systems managed by the<BR>
Satellite Server?<BR>
Release Found: Red Hat Enterprise Linux with Red Hat Satellite Server<BR>
Problem:<BR>
When attempting to run arbitrary scripts via the "Remote Commands" feature of the Red Hat<BR>
Network Satellite Server, scripts fail to execute on the target systems with the following error<BR>
code response:<BR>
(6, 'Invalid function call attempted', {})<BR>
Solution:<BR>
This error is usually generated because the client systems in question are not configured<BR>
properly. In order to ensure that the systems receive the intended remote commands, make<BR>
sure that the following criteria are met on the client systems:<BR>
      1. The clients configured with a Provisioning Entitlement<BR>
      2. The clients are subscribed to the Red Hat Network Tools Channel for their<BR>
         respective Red Hat Enteprise Linux version<BR>
      3. The clients have the rhncfg, rhncfg-client, rhncfg-management, and rhncfg-actions<BR>
         packages installed. These packages contain the necessary client functions required<BR>
         for Remote Commands to execute properly.<BR>
      4. Execute the following command on the client system:<BR>
         # rhn-actions-control --enable-run<BR>
         (Allow rhncfg-client the ability to execute remote scritps)<BR>
In most cases, this will resolve the error and allow Remote Commands to complete<BR>
successfully.<BR>
==============================<BR>
<BR>
<BR>
<BR>
</BODY>
</HTML>