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

2020-07-17 Thread Robert Paschedag
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 
Gesendet: Thu Jul 16 09:52:50 GMT+02:00 2020
An: "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@x302 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  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 
Gesendet: Wed Jul 01 04:44:32 GMT+02:00 2020
An: "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 1 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%2Fdata=02%7C01%7Cwenkai_chen%40ensigninfosecurity.com%7C0a01d1750eda48676e2108d8256a38bc%7Cd5cb08f4d38848b2bc028ecce3c63fce%7C1%7C0%7C637300485442922641sdata=jxU%2F7WOv5mIa4PEeNf%2Fh8feu8aAPzoxGsVtb4bNV6ck%3Dreserved=0>
  [A picture containing tableware  Description generated with high 
confidence] 
<https://apc01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fyoutu.be%2F9J7FkhXpb-4data=02%7C01%7Cwenkai_chen%40ensigninfosecurity.com%7C0a01d1750eda48676e2108d8256a38bc%7Cd5cb08f4d38848b2bc028ecce3c63fce%7C1%7C0%7C637300485442922641sdata=iAEkzqAp3fBHGhZ3N%2FTj8KRlkYxO7mFnNaUUXYf6y9U%3Dreserved=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%2FEnsignGlobaldata=02%7C01%7Cwenkai_chen%40ensigninfosecurity.com%7C0a01d1750eda48676e2108d8256a38bc%7Cd5cb08f4d38848b2bc028ecce3c63fce%7C1%7C0%7C637300485442922641sdata=droPSezkKi9Bzx9xgW43wIrYrBe%2BtJ%2FW2t13j%2BzjBRk%3Dreserved=0>

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


From: 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 i

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

2020-07-16 Thread Wenkai Chen
HI ,

The rhncfg packages are already installed.

[root@x302 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  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 
Gesendet: Wed Jul 01 04:44:32 GMT+02:00 2020
An: "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 1 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%2Fdata=02%7C01%7Cwenkai_chen%40ensigninfosecurity.com%7C0a01d1750eda48676e2108d8256a38bc%7Cd5cb08f4d38848b2bc028ecce3c63fce%7C1%7C0%7C637300485442922641sdata=jxU%2F7WOv5mIa4PEeNf%2Fh8feu8aAPzoxGsVtb4bNV6ck%3Dreserved=0>
  [A picture containing tableware  Description generated with high 
confidence] 
<https://apc01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fyoutu.be%2F9J7FkhXpb-4data=02%7C01%7Cwenkai_chen%40ensigninfosecurity.com%7C0a01d1750eda48676e2108d8256a38bc%7Cd5cb08f4d38848b2bc028ecce3c63fce%7C1%7C0%7C637300485442922641sdata=iAEkzqAp3fBHGhZ3N%2FTj8KRlkYxO7mFnNaUUXYf6y9U%3Dreserved=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%2FEnsignGlobaldata=02%7C01%7Cwenkai_chen%40ensigninfosecurity.com%7C0a01d1750eda48676e2108d8256a38bc%7Cd5cb08f4d38848b2bc028ecce3c63fce%7C1%7C0%7C637300485442922641sdata=droPSezkKi9Bzx9xgW43wIrYrBe%2BtJ%2FW2t13j%2BzjBRk%3Dreserved=0>

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


From: 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-570c8cd

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

2020-07-16 Thread Laack, Andrea P
You are still missing the following:
rhncfg
rhncfg-actions

Andrea

-Original Message-
From: spacewalk-list-boun...@redhat.com  On 
Behalf Of Wenkai Chen
Sent: Thursday, July 16, 2020 2:53 AM
To: spacewalk-list@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 
badem...@bswhealth.org.

HI ,

The rhncfg packages are already installed.

[root@x302 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  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 
Gesendet: Wed Jul 01 04:44:32 GMT+02:00 2020
An: "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 1 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://urldefense.com/v3/__https://apc01.safelinks.protection.outlook.com/?url=https*3A*2F*2Fwww.linkedin.com*2Fcompany*2Fensign-infosecurity*2Fdata=02*7C01*7Cwenkai_chen*40ensigninfosecurity.com*7C0a01d1750eda48676e2108d8256a38bc*7Cd5cb08f4d38848b2bc028ecce3c63fce*7C1*7C0*7C637300485442922641sdata=jxU*2F7WOv5mIa4PEeNf*2Fh8feu8aAPzoxGsVtb4bNV6ck*3Dreserved=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-4data=02*7C01*7Cwenkai_chen*40ensigninfosecurity.com*7C0a01d1750eda48676e2108d8256a38bc*7Cd5cb08f4d38848b2bc028ecce3c63fce*7C1*7C0*7C637300485442922641sdata=iAEkzqAp3fBHGhZ3N*2FTj8KRlkYxO7mFnNaUUXYf6y9U*3Dreserved=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*2FEnsignGlobaldata=02*7C01*7Cwenkai_chen*40ensigninfosecurity.com*7C0a01d1750eda48676e2108d8256a38bc*7Cd5cb08f4d38848b2bc028ecce3c63fce*7C1*7C0*7C637300485442922641sdata=droPSezkKi9Bzx9xgW43wIrYrBe*2BtJ*2FW2t13j*2BzjBRk*3Dreserved=0__;JSUlJSUlJSUlJSUlJSUlJQ!!JA_k2roV-A!XhWl-NfLGZyi11MqhA7EIbGwh3Xpt1jpK_VpRJRNerDtUk869FJ5poq5zoqhBk9tEQ$
 >

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


From: 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".


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

2020-07-11 Thread Robert Paschedag
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 
Gesendet: Wed Jul 01 04:44:32 GMT+02:00 2020
An: "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 1 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://www.linkedin.com/company/ensign-infosecurity/>  [A 
picture containing tableware  Description generated with high confidence] 
<https://youtu.be/9J7FkhXpb-4>  [A close up of a sign  Description 
generated with high confidence] <https://www.facebook.com/EnsignGlobal>

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


From: 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=02%7C01%7Cwenkai_chen%40ensigninfosecurity.com%7C7573

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

2020-07-01 Thread Andreas Dijkman

Looks like corrupt or invalid metadata.

On 1 Jul 2020, at 04:44, Wenkai Chen 
mailto:wenkai_c...@ensigninfosecurity.com>> 
wrote:

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.


When in fact, it has 1 over packages.






Chen Wenkai
Infrastructure Security Engineer

   
  



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





From: 
spacewalk-list-boun...@redhat.com 
mailto: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.




Chen Wenkai
Infrastructure Security Engineer

   

 

 



  E:  

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

2020-07-01 Thread Wenkai Chen
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 1 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]   [A 
picture containing tableware  Description generated with high confidence] 
  [A close up of a sign  Description 
generated with high confidence] 

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


From: 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] 

  [A picture containing tableware  Description generated with high 
confidence] 

  [A close up of a sign  Description generated with high 

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

2018-08-05 Thread Inishev Oleg Vladimirovich
I fixed my error!
It's stupid very stupid!
In file /etc/sysconfig/rhn/up2date set parametr 
serverURL=https://ip_address/XMLRPC and in certificate set hostname!
I fix serverURL to my hostname and it's all!


From: Inishev Oleg Vladimirovich
Sent: Tuesday, July 31, 2018 10:58 AM
To: 'spacewalk-list@redhat.com' 
Subject: Client execution returned "Invalid function call attempted" (code 6)

Hi guys!
I'm a new in Spacewalk so forgive my stupid!

Now i testing functions Spacewalk, and i want delete packet from test client 
(htop packet)
When in GUI Spacewalk i select htop packet and press "Remove Packeges" i have 
next error (Client execution returned "Invalid function call attempted" (code 
6))

On client i have

#-#
# 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-352c64e5-52ae6884 to keyring
D: added key gpg-pubkey-be4b0bc2-5abcfce5 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, rhnplugin
Config time: 0.075
D: login(forceUpdate=False) invoked
D: readCachedLogin invoked
D: Checking pickled loginInfo, currentTime=1533019231.43, 
createTime=1533016869.13, expire-offset=3600.0
D: readCachedLogin(): using pickled loginInfo set to expire at 1533020469.13
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.corbina.net
* epel: www.fedora.is
* extras: mirror.corbina.net
* updates: mirror.corbina.net
repo time: 3.208
Setting up Package Sacks
updateLoginInfo() login info
D: login(forceUpdate=True) invoked
logging into up2date server
D: rpcServer: Calling XMLRPC up2date.login
D: writeCachedLogin() invoked
D: Wrote pickled loginInfo at 1533019234.82 with expiration of 1533022834.82 
seconds.
successfully retrieved authentication token from up2date server
D: logininfo:{'X-RHN-Server-Id': 11, 'X-RHN-Auth-Server-Time': 
'1533019267.37', 'X-RHN-Auth': 'drvpCfwMo1/h45eTb3nqURlndV3CD8k/gdbRmUZpeSw=', 
'X-RHN-Auth-Channels': [['testch', '20180730143427', '1', '1']], 
'X-RHN-Auth-User-Id': '', 'X-RHN-Auth-Expire-Offset': '3600.0'}
updateLoginInfo() login info
D: login(forceUpdate=True) invoked
logging into up2date server
D: rpcServer: Calling XMLRPC up2date.login
D: writeCachedLogin() invoked
D: Wrote pickled loginInfo at 1533019234.88 with expiration of 1533022834.88 
seconds.
successfully retrieved authentication token from up2date server
D: logininfo:{'X-RHN-Server-Id': 11, 'X-RHN-Auth-Server-Time': 
'1533019267.43', 'X-RHN-Auth': 'wjC/O1W8CnFUZyirGkGzhHYtieFEpTMt2i9kfIsuBXM=', 
'X-RHN-Auth-Channels': [['testch', '20180730143427', '1', '1']], 
'X-RHN-Auth-User-Id': '', 'X-RHN-Auth-Expire-Offset': '3600.0'}
updateLoginInfo() login info
D: login(forceUpdate=True) invoked
logging into up2date server
D: rpcServer: Calling XMLRPC up2date.login
D: writeCachedLogin() invoked
D: Wrote pickled loginInfo at 1533019234.94 with expiration of 1533022834.94 
seconds.
successfully retrieved authentication token from up2date server
D: logininfo:{'X-RHN-Server-Id': 11, 'X-RHN-Auth-Server-Time': 
'1533019267.49', 'X-RHN-Auth': 'xt28aILa1QLVkgEUly1Vnnv1wdKyYDJWeyprXbeSNZ0=', 
'X-RHN-Auth-Channels': [['testch', '20180730143427', '1', '1']], 
'X-RHN-Auth-User-Id': '', 'X-RHN-Auth-Expire-Offset': '3600.0'}
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
#-#

i was reading old mail lists about same errors, and in my case i'm no found 
actions folder in /usr/share/rhn/

#-#
# ll /usr/share/rhn/
total 20
-rw-r--r-- 1 root root 5083 Jul 30