Discussion:
[Spacewalk-list] rhn_check
Irwin, Jeffrey
2018-10-23 19:09:32 UTC
Permalink
I am getting the following error:


ERROR: unable to read system id.?



no idea what is going on here, the system is showing up in the gui
Robert Paschedag
2018-10-24 07:03:42 UTC
Permalink
Am 23. Oktober 2018 21:09:32 MESZ schrieb "Irwin, Jeffrey" <***@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
Irwin, Jeffrey
2018-10-24 13:48:42 UTC
Permalink
Thank you Robert, that made the machine active again. Still can't get rhn_check to work.
________________________________________
From: Robert Paschedag <***@web.de>
Sent: Wednesday, October 24, 2018 3:03 AM
To: spacewalk-***@redhat.com; Irwin, Jeffrey; spacewalk-***@redhat.com
Subject: Re: [Spacewalk-list] rhn_check

Am 23. Oktober 2018 21:09:32 MESZ schrieb "Irwin, Jeffrey" <***@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
Andy Warring
2018-10-24 16:33:01 UTC
Permalink
Hi Jeffrey,

what is the output of

rhn_check -v -v -v

?

regards

Andy


On Wed, 24 Oct 2018 at 15:52, Irwin, Jeffrey <***@rivertechllc.com>
wrote:

> Thank you Robert, that made the machine active again. Still can't get
> rhn_check to work.
> ________________________________________
> From: Robert Paschedag <***@web.de>
> Sent: Wednesday, October 24, 2018 3:03 AM
> To: spacewalk-***@redhat.com; Irwin, Jeffrey; spacewalk-***@redhat.com
> Subject: Re: [Spacewalk-list] rhn_check
>
> Am 23. Oktober 2018 21:09:32 MESZ schrieb "Irwin, Jeffrey" <
> ***@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-***@redhat.com
> https://www.redhat.com/mailman/listinfo/spacewalk-list
>
Irwin, Jeffrey
2018-10-24 18:01:13 UTC
Permalink
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-***@redhat.com <spacewalk-list-***@redhat.com> on behalf of Andy Warring <***@gmail.com>
Sent: Wednesday, October 24, 2018 12:33 PM
To: spacewalk-***@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 <***@rivertechllc.com<mailto:***@rivertechllc.com>> wrote:
Thank you Robert, that made the machine active again. Still can't get rhn_check to work.
________________________________________
From: Robert Paschedag <***@web.de<mailto:***@web.de>>
Sent: Wednesday, October 24, 2018 3:03 AM
To: spacewalk-***@redhat.com<mailto:spacewalk-***@redhat.com>; Irwin, Jeffrey; spacewalk-***@redhat.com<mailto:spacewalk-***@redhat.com>
Subject: Re: [Spacewalk-list] rhn_check

Am 23. Oktober 2018 21:09:32 MESZ schrieb "Irwin, Jeffrey" <***@rivertechllc.com<mailto:***@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
Bill Howe
2018-10-26 18:06:59 UTC
Permalink
Check to see if your rhnplugin is enabled here:

/etc/yum/pluginconf.d/rhnplugin.conf

[main]
enabled = 1

Bill Howe
***@gmail.com <http://www.linkedin.com/in/whowe>


On Wed, Oct 24, 2018 at 1:11 PM Irwin, Jeffrey <
***@rivertechllc.com> wrote:

> 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-***@redhat.com <
> spacewalk-list-***@redhat.com> on behalf of Andy Warring <
> ***@gmail.com>
> *Sent:* Wednesday, October 24, 2018 12:33 PM
> *To:* spacewalk-***@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 <
> ***@rivertechllc.com> wrote:
>
>> Thank you Robert, that made the machine active again. Still can't get
>> rhn_check to work.
>> ________________________________________
>> From: Robert Paschedag <***@web.de>
>> Sent: Wednesday, October 24, 2018 3:03 AM
>> To: spacewalk-***@redhat.com; Irwin, Jeffrey; spacewalk-***@redhat.com
>> Subject: Re: [Spacewalk-list] rhn_check
>>
>> Am 23. Oktober 2018 21:09:32 MESZ schrieb "Irwin, Jeffrey" <
>> ***@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-***@redhat.com
>> https://www.redhat.com/mailman/listinfo/spacewalk-list
>>
> _______________________________________________
> Spacewalk-list mailing list
> Spacewalk-***@redhat.com
> https://www.redhat.com/mailman/listinfo/spacewalk-list
Continue reading on narkive:
Loading...