[Spacewalk-list] Client execution returned "Invalid function call attempted" (code 6)

Laack, Andrea P Andrea.Laack at bswhealth.org
Thu Jul 16 10:53:15 UTC 2020


You are still missing the following:
rhncfg
rhncfg-actions

Andrea

-----Original Message-----
From: spacewalk-list-bounces at redhat.com <spacewalk-list-bounces at redhat.com> On Behalf Of Wenkai Chen
Sent: Thursday, July 16, 2020 2:53 AM
To: spacewalk-list at redhat.com
Subject: {EXTERNAL} Re: [Spacewalk-list] Client execution returned "Invalid function call attempted" (code 6)


CAUTION:  This email originated outside of BSWH; avoid action unless you know the content is safe. Send suspicious emails as attachments to BadEmail at BSWHealth.org.

HI ,

The rhncfg packages are already installed.

[root at 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_chen at ensigninfosecurity.com
  A:  30A Kallang Place, Level 9 Right Wing, Singapore 339213




-----Original Message-----
From: spacewalk-list-bounces at redhat.com <spacewalk-list-bounces at redhat.com> On Behalf Of Robert Paschedag
Sent: Saturday, 11 July 2020 3:10 PM
To: spacewalk-list at 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_chen at ensigninfosecurity.com>
Gesendet: Wed Jul 01 04:44:32 GMT+02:00 2020
An: "spacewalk-list at redhat.com" <spacewalk-list at 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 at 01D64F94.E21B4380]

When in fact, it has 10000 over packages.
[cid:image010.jpg at 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://urldefense.com/v3/__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__;JSUlJSUlJSUlJSUlJSUlJSU!!JA_k2roV-A!XhWl-NfLGZyi11MqhA7EIbGwh3Xpt1jpK_VpRJRNerDtUk869FJ5poq5zorpZBz4vw$ >      [A picture containing tableware  Description generated with high confidence] <https://urldefense.com/v3/__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__;JSUlJSUlJSUlJSUlJSU!!JA_k2roV-A!XhWl-NfLGZyi11MqhA7EIbGwh3Xpt1jpK_VpRJRNerDtUk869FJ5poq5zoou5z-h-g$ >      [A close up of a sign  Description generated with high confidence] <https://urldefense.com/v3/__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__;JSUlJSUlJSUlJSUlJSUlJQ!!JA_k2roV-A!XhWl-NfLGZyi11MqhA7EIbGwh3Xpt1jpK_VpRJRNerDtUk869FJ5poq5zoqhBk9tEQ$ >

  E:  wenkai_chen at ensigninfosecurity.com
  A:  30A Kallang Place, Level 9 Right Wing, Singapore 339213


From: spacewalk-list-bounces at redhat.com <spacewalk-list-bounces at redhat.com> On Behalf Of Wenkai Chen
Sent: Wednesday, 24 June 2020 6:40 PM
To: spacewalk-list at 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://urldefense.com/v3/__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__;JSUlJSUlJSUlJSUlJSUlJSU!!JA_k2roV-A!XhWl-NfLGZyi11MqhA7EIbGwh3Xpt1jpK_VpRJRNerDtUk869FJ5poq5zorpZBz4vw$ >      [A picture containing tableware  Description generated with high confidence] <https://urldefense.com/v3/__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__;JSUlJSUlJSUlJSUlJSUl!!JA_k2roV-A!XhWl-NfLGZyi11MqhA7EIbGwh3Xpt1jpK_VpRJRNerDtUk869FJ5poq5zorNRDE9WA$ >      [A close up of a sign  Description generated with high confidence] <https://urldefense.com/v3/__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__;JSUlJSUlJSUlJSUlJSUlJQ!!JA_k2roV-A!XhWl-NfLGZyi11MqhA7EIbGwh3Xpt1jpK_VpRJRNerDtUk869FJ5poq5zor1U3VJhw$ >

  E:  wenkai_chen at ensigninfosecurity.com<mailto:wenkai_chen at 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 at redhat.com
https://urldefense.com/v3/__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__;JSUlJSUlJSUlJSUlJSUl!!JA_k2roV-A!XhWl-NfLGZyi11MqhA7EIbGwh3Xpt1jpK_VpRJRNerDtUk869FJ5poq5zorCnrJzaQ$ 


_______________________________________________
Spacewalk-list mailing list
Spacewalk-list at redhat.com
https://urldefense.com/v3/__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__;JSUlJSUlJSUlJSUlJSUl!!JA_k2roV-A!XhWl-NfLGZyi11MqhA7EIbGwh3Xpt1jpK_VpRJRNerDtUk869FJ5poq5zorCnrJzaQ$ 

_______________________________________________
Spacewalk-list mailing list
Spacewalk-list at redhat.com
https://urldefense.com/v3/__https://www.redhat.com/mailman/listinfo/spacewalk-list__;!!JA_k2roV-A!XhWl-NfLGZyi11MqhA7EIbGwh3Xpt1jpK_VpRJRNerDtUk869FJ5poq5zorm2fRvkw$ 

**********************************************************************
The information contained in this e-mail may be privileged and/or confidential, and protected from disclosure, and no waiver of any attorney-client, work product, or other privilege is intended.  If you are the intended recipient, further disclosures are prohibited without proper authorization. If you are not the intended recipient (or have received this e-mail in error) please notify the sender immediately and destroy this e-mail. Any unauthorized copying, disclosure or distribution of the material in this e-mail is strictly forbidden and possibly a violation of federal or state law and regulations. The sender and Baylor Scott & White Health, and its affiliated entities, hereby expressly reserve all privileges and confidentiality that might otherwise be waived as a result of an erroneous or misdirected e-mail transmission. No employee or agent is authorized to conclude any binding agreement on behalf of Baylor Scott & White Health, or any affiliated entity, by e-mail without express written confirmation by the CEO, the Senior Vice President of Supply Chain Services or other duly authorized representative of Baylor Scott & White Health.




More information about the Spacewalk-list mailing list