[Spacewalk-list] rhn_check

Irwin, Jeffrey Jeffrey.Irwin at rivertechllc.com
Wed Oct 24 18:01:13 UTC 2018


I think I got it.......or at least got rid of that error.  Are the highlighted lines of concern?  Should I enable those and how?


I deleted the system from the gui

I deleted the systemid file from /etc/sysconfig/rhn/

Edited the /etc/sysconfig/up2date file

  -changed serverURL=https://spacewalk.example.com/XMLRPC from the default

  -changed sslCACert=/usr/share/rhn/RHN-ORG-TRUSTED-SSL-CERT from sslCACert=/usr/share/rhn/RHNS-CA-CERT

Ran rhn_register using spacewalk username/password


Now output of rhn_check is

rhn_check -v -v -v
D: opening  db environment /var/lib/rpm cdb:mpool:joinenv
D: opening  db index       /var/lib/rpm/Packages rdonly mode=0x0
D: locked   db index       /var/lib/rpm/Packages
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 rdonly mode=0x0
D: added key gpg-pubkey-fd431d51-4ae0493b to keyring
D: added key gpg-pubkey-2fa658e0-45700c69 to keyring
D: added key gpg-pubkey-2cefacb7-53da50b4 to keyring
D: Using legacy gpg-pubkey(s) from rpmdb
D: opening  db index       /var/lib/rpm/Providename rdonly mode=0x0
D: do_call packages.checkNeedUpdate('rhnsd=1',){}
D: opening  db environment /var/lib/rpm cdb:mpool:joinenv
D: opening  db index       /var/lib/rpm/Packages rdonly 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 rdonly mode=0x0
D: added key gpg-pubkey-fd431d51-4ae0493b to keyring
D: added key gpg-pubkey-2fa658e0-45700c69 to keyring
D: added key gpg-pubkey-2cefacb7-53da50b4 to keyring
D: Using legacy gpg-pubkey(s) from rpmdb
D: opening  db index       /var/lib/rpm/Providename rdonly 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
Not loading "rhnplugin" plugin, as it is disabled
Not loading "search-disabled-repos" plugin, as it is disabled
Not loading "verify" plugin, as it is disabled
Loaded plugins: product-id, subscription-manager
Updating Subscription Management repositories.
Config time: 0.532
rpmdb time: 0.000
repo time: 0.000
Setting up Package Sacks
pkgsack time: 0.089
D: local action status: (0, 'rpm database not modified since last update (or package list recently updated)', {})
D: rpcServer: Calling XMLRPC registration.welcome_message
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





________________________________
From: spacewalk-list-bounces at redhat.com <spacewalk-list-bounces at redhat.com> on behalf of Andy Warring <kazonuk at gmail.com>
Sent: Wednesday, October 24, 2018 12:33 PM
To: spacewalk-list at redhat.com
Subject: Re: [Spacewalk-list] rhn_check

Hi Jeffrey,

what is the output of

rhn_check -v -v -v

?

regards

Andy


On Wed, 24 Oct 2018 at 15:52, Irwin, Jeffrey <Jeffrey.Irwin at rivertechllc.com<mailto:Jeffrey.Irwin at rivertechllc.com>> wrote:
Thank you Robert, that made the machine active again.  Still can't get rhn_check to work.
________________________________________
From: Robert Paschedag <robert.paschedag at web.de<mailto:robert.paschedag at web.de>>
Sent: Wednesday, October 24, 2018 3:03 AM
To: spacewalk-list at redhat.com<mailto:spacewalk-list at redhat.com>; Irwin, Jeffrey; spacewalk-list at redhat.com<mailto:spacewalk-list at redhat.com>
Subject: Re: [Spacewalk-list] rhn_check

Am 23. Oktober 2018 21:09:32 MESZ schrieb "Irwin, Jeffrey" <Jeffrey.Irwin at rivertechllc.com<mailto:Jeffrey.Irwin at rivertechllc.com>>:
>I am getting the following error:
>
>
>ERROR: unable to read system id.?

In the GUI, create a re-registration key for that system. Then re-register that system with that key

rhnreg_ks --force --activationkey yourkey --serverUrl=url_to_your_server/XMLRPC

Robert
>
>
>
>no idea what is going on here, the system is showing up in the gui


--
sent from my mobile device

_______________________________________________
Spacewalk-list mailing list
Spacewalk-list at redhat.com<mailto:Spacewalk-list at redhat.com>
https://www.redhat.com/mailman/listinfo/spacewalk-list
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://listman.redhat.com/archives/spacewalk-list/attachments/20181024/341b1793/attachment.htm>


More information about the Spacewalk-list mailing list