On my Debian, the CheckNeedUpdate is provided in /usr/share/rhn/actions/packages.py which is provided by "apt-transport-spacewalk"
sent from my mobile device -------- Originale Nachricht -------- Von: Wenkai Chen <wenkai_c...@ensigninfosecurity.com> Gesendet: Thu Jul 16 09:52:50 GMT+02:00 2020 An: "spacewalk-list@redhat.com" <spacewalk-list@redhat.com> Betreff: Re: [Spacewalk-list] Client execution returned "Invalid function call attempted" (code 6) HI , The rhncfg packages are already installed. [root@xxxxx302 yum.repos.d]# rpm -qa | grep rhncfg* rhncfg-5.10.129-1.el7.noarch rhncfg-actions-5.10.129-1.el7.noarch python2-rhncfg-5.10.129-1.el7.noarch python2-rhncfg-client-5.10.129-1.el7.noarch python2-rhncfg-actions-5.10.129-1.el7.noarch rhncfg-management-5.10.129-1.el7.noarch rhncfg-client-5.10.129-1.el7.noarch python2-rhncfg-management-5.10.129-1.el7.noarch I just checked under /usr/share/rhn/actions. It is empty. Chen Wenkai Infrastructure Security Engineer E: wenkai_c...@ensigninfosecurity.com A: 30A Kallang Place, Level 9 Right Wing, Singapore 339213 -----Original Message----- From: spacewalk-list-boun...@redhat.com <spacewalk-list-boun...@redhat.com> On Behalf Of Robert Paschedag Sent: Saturday, 11 July 2020 3:10 PM To: spacewalk-list@redhat.com Subject: Re: [Spacewalk-list] Client execution returned "Invalid function call attempted" (code 6) EXTERNAL: Caution this email originated from outside of the organization. Do not click links or open attachments unless you recognize the sender and know the content is safe. You seem to be missing some packages that provide the function packages.checkNeedUpdate('rhnsd=1',) If I remember right, these should live in /usr/share/rhn/actions Maybe your missing the rhn-actions package. Robert sent from my mobile device -------- Originale Nachricht -------- Von: Wenkai Chen <wenkai_c...@ensigninfosecurity.com> Gesendet: Wed Jul 01 04:44:32 GMT+02:00 2020 An: "spacewalk-list@redhat.com" <spacewalk-list@redhat.com> Betreff: Re: [Spacewalk-list] Client execution returned "Invalid function call attempted" (code 6) HI, Anyone can help on this? Furthermore, when I do a 'yum repolist' command on the client machine, the number of packages listed for the Spacewalk channel is 0. [cid:image009.jpg@01D64F94.E21B4380] When in fact, it has 10000 over packages. [cid:image010.jpg@01D64F94.E21B4380] [A close up of a sign Description generated with very high confidence] Chen Wenkai Infrastructure Security Engineer [A picture containing building Description generated with high confidence] <https://apc01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fwww.linkedin.com%2Fcompany%2Fensign-infosecurity%2F&data=02%7C01%7Cwenkai_chen%40ensigninfosecurity.com%7C0a01d1750eda48676e2108d8256a38bc%7Cd5cb08f4d38848b2bc028ecce3c63fce%7C1%7C0%7C637300485442922641&sdata=jxU%2F7WOv5mIa4PEeNf%2Fh8feu8aAPzoxGsVtb4bNV6ck%3D&reserved=0> [A picture containing tableware Description generated with high confidence] <https://apc01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fyoutu.be%2F9J7FkhXpb-4&data=02%7C01%7Cwenkai_chen%40ensigninfosecurity.com%7C0a01d1750eda48676e2108d8256a38bc%7Cd5cb08f4d38848b2bc028ecce3c63fce%7C1%7C0%7C637300485442922641&sdata=iAEkzqAp3fBHGhZ3N%2FTj8KRlkYxO7mFnNaUUXYf6y9U%3D&reserved=0> [A close up of a sign Description generated with high confidence] <https://apc01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fwww.facebook.com%2FEnsignGlobal&data=02%7C01%7Cwenkai_chen%40ensigninfosecurity.com%7C0a01d1750eda48676e2108d8256a38bc%7Cd5cb08f4d38848b2bc028ecce3c63fce%7C1%7C0%7C637300485442922641&sdata=droPSezkKi9Bzx9xgW43wIrYrBe%2BtJ%2FW2t13j%2BzjBRk%3D&reserved=0> E: wenkai_c...@ensigninfosecurity.com A: 30A Kallang Place, Level 9 Right Wing, Singapore 339213 From: spacewalk-list-boun...@redhat.com <spacewalk-list-boun...@redhat.com> On Behalf Of Wenkai Chen Sent: Wednesday, 24 June 2020 6:40 PM To: spacewalk-list@redhat.com Subject: [Spacewalk-list] Client execution returned "Invalid function call attempted" (code 6) EXTERNAL: Caution this email originated from outside of the organization. Do not click links or open attachments unless you recognize the sender and know the content is safe. HI Spacewalk users, I encountered an error while trying to run a package verification job on one of the CentOS 7 clients. Client execution returned "Invalid function call attempted" (code 6) Here is the output of the command "rhn_check -vvv". ============================================================================================== rhn_check -vvv D: opening db environment /var/lib/rpm cdb:0x401 D: opening db index /var/lib/rpm/Packages 0x400 mode=0x0 D: locked db index /var/lib/rpm/Packages D: opening db index /var/lib/rpm/Providename 0x400 mode=0x0 D: do_call packages.checkNeedUpdate('rhnsd=1',){} D: opening db environment /var/lib/rpm cdb:0x401 D: opening db index /var/lib/rpm/Packages 0x400 mode=0x0 D: loading keyring from pubkeys in /var/lib/rpm/pubkeys/*.key D: couldn't find any keys in /var/lib/rpm/pubkeys/*.key D: loading keyring from rpmdb D: opening db index /var/lib/rpm/Name 0x400 mode=0x0 D: added key gpg-pubkey-f4a80eb5-53a7ff4b to keyring D: added key gpg-pubkey-442df0f8-4783f24a to keyring D: added key gpg-pubkey-352c64e5-52ae6884 to keyring D: added key gpg-pubkey-7fac5991-4615767f to keyring D: added key gpg-pubkey-d38b4796-570c8cd3 to keyring D: added key gpg-pubkey-2582e0c5-56099b04 to keyring D: added key gpg-pubkey-9bd837ba-5bfbc74c to keyring D: added key gpg-pubkey-6963f07f-57fad2ec to keyring D: Using legacy gpg-pubkey(s) from rpmdb D: opening db index /var/lib/rpm/Providename 0x400 mode=0x0 D: closed db index /var/lib/rpm/Providename D: closed db index /var/lib/rpm/Name D: closed db index /var/lib/rpm/Packages D: closed db environment /var/lib/rpm Loaded plugins: fastestmirror, langpacks, rhnplugin Adding en_SG.UTF-8 to language list Config time: 0.024 D: login(forceUpdate=False) invoked D: readCachedLogin invoked D: Checking pickled loginInfo, currentTime=1592995113.38, createTime=1592994906.84, expire-offset=3600.0 D: readCachedLogin(): using pickled loginInfo set to expire at 1592998506.84 D: rpcServer: Calling XMLRPC up2date.listChannels This system is receiving updates from RHN Classic or Red Hat Satellite. rpmdb time: 0.000 Loading mirror speeds from cached hostfile * base: mirror.upsi.edu.my * epel: mirrors.bfsu.edu.cn D: Attempt to call an unsupported action packages.checkNeedUpdate('rhnsd=1',) D: local action status: (6, 'Invalid function call attempted', {}) D: rpcServer: Calling XMLRPC registration.welcome_message D: closed db index /var/lib/rpm/Providename D: closed db index /var/lib/rpm/Packages D: closed db environment /var/lib/rpm ============================================================================================== May I know how to resolve this issue? Thank you. [A close up of a sign Description generated with very high confidence] Chen Wenkai Infrastructure Security Engineer [A picture containing building Description generated with high confidence] <https://apc01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fwww.linkedin.com%2Fcompany%2Fensign-infosecurity%2F&data=02%7C01%7Cwenkai_chen%40ensigninfosecurity.com%7C0a01d1750eda48676e2108d8256a38bc%7Cd5cb08f4d38848b2bc028ecce3c63fce%7C1%7C0%7C637300485442922641&sdata=jxU%2F7WOv5mIa4PEeNf%2Fh8feu8aAPzoxGsVtb4bNV6ck%3D&reserved=0> [A picture containing tableware Description generated with high confidence] <https://apc01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fyoutu.be%2F9J7FkhXpb-4&data=02%7C01%7Cwenkai_chen%40ensigninfosecurity.com%7C0a01d1750eda48676e2108d8256a38bc%7Cd5cb08f4d38848b2bc028ecce3c63fce%7C1%7C0%7C637300485442932594&sdata=Esm%2F1OkYq0xsukMiPjIgXt9l%2BgVw2QUgb67eWqtQsLg%3D&reserved=0> [A close up of a sign Description generated with high confidence] <https://apc01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fwww.facebook.com%2FEnsignGlobal&data=02%7C01%7Cwenkai_chen%40ensigninfosecurity.com%7C0a01d1750eda48676e2108d8256a38bc%7Cd5cb08f4d38848b2bc028ecce3c63fce%7C1%7C0%7C637300485442932594&sdata=N0wm%2Be1I467TMP1FS1nXpf29x7%2BVfA52tJ4YN%2BH1yMA%3D&reserved=0> E: wenkai_c...@ensigninfosecurity.com<mailto:wenkai_c...@ensigninfosecurity.com> A: 30A Kallang Place, Level 9 Right Wing, Singapore 339213 ________________________________ CONFIDENTIALITY NOTICE: "This email is confidential and may also be privileged. If this email has been sent to you in error, please delete it immediately and notify us. Please do not copy, distribute or disseminate part or whole of this email if you are not the intended recipient or if you have not been authorized to do so. We reserve the right, to the extent and under circumstances permitted by applicable laws, to monitor, retain, intercept and block email messages to and from our systems. Thank you." ------------------------------------------------------------------------ _______________________________________________ Spacewalk-list mailing list Spacewalk-list@redhat.com https://apc01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fwww.redhat.com%2Fmailman%2Flistinfo%2Fspacewalk-list&data=02%7C01%7Cwenkai_chen%40ensigninfosecurity.com%7C0a01d1750eda48676e2108d8256a38bc%7Cd5cb08f4d38848b2bc028ecce3c63fce%7C1%7C0%7C637300485442932594&sdata=W5xlz8rr6CkFeXcTe3kUo4R91ALBmI75SYU3aAu6QY4%3D&reserved=0 _______________________________________________ Spacewalk-list mailing list Spacewalk-list@redhat.com https://apc01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fwww.redhat.com%2Fmailman%2Flistinfo%2Fspacewalk-list&data=02%7C01%7Cwenkai_chen%40ensigninfosecurity.com%7C0a01d1750eda48676e2108d8256a38bc%7Cd5cb08f4d38848b2bc028ecce3c63fce%7C1%7C0%7C637300485442932594&sdata=W5xlz8rr6CkFeXcTe3kUo4R91ALBmI75SYU3aAu6QY4%3D&reserved=0 _______________________________________________ Spacewalk-list mailing list Spacewalk-list@redhat.com https://www.redhat.com/mailman/listinfo/spacewalk-list _______________________________________________ Spacewalk-list mailing list Spacewalk-list@redhat.com https://www.redhat.com/mailman/listinfo/spacewalk-list