Well, I deleted it from the db, and tried to activate again, and now it won't let me login :( If I use the wrong login or pass it tells me that, but if I use the right one, it just loops back to the login page with no errors.

On Oct 26, 2009, at 4:16 AM, Michael Mraka wrote:

Daniel Wittenberg wrote:
% More interesting info, I see now from the System Entitlements page,
% everything is 0.  So I started looking at the certs:
%
% /etc/sysconfig/rhn/rhn-entitlement-cert.xml
%
% and that looks good, all the numbers are 20000, and when I run a sanity
% check:
%
%  rhn-satellite-activate -v --sanity-only
% --rhn-cert=/usr/share/spacewalk/setup/spacewalk-public.cert
%
% That shows ok, and I tried to re-activate that cert and looks good, no
% errors:
%
% # rhn-satellite-activate -v --disconnected
% --rhn-cert=`pwd`/spacewalk-public.cert
% HTTP_PROXY: None
% HTTP_PROXY_USERNAME: None
% HTTP_PROXY_PASSWORD: <password>
% CA_CERT: /usr/share/rhn/RHNS-CA-CERT
% Checking cert XML sanity and GPG signature:
% '/usr/bin/validate-sat-cert.pl
% --keyring /etc/webapp-keyring.gpg /etc/sysconfig/rhn/rhn- entitlement-cert.xml-11730-1256319651.53521204'
% Database connectioned initialized: refer to /etc/rhn/rhn.conf
% Attempting local RHN Certificate push (and therefore activation)

After this you should see 20000 System Entitlements in webUI.


You can try to delete old certificates directly from database and
activate it again.
# sqlplus $(spacewalk-cfg-get default_db)
SQL> delete from rhnSatelliteCert;
SQL> commit;
SQL> quit
# rhn-satellite-activate -v --disconnected --rhn-cert=/usr/share/ spacewalk/setup/spacewalk-public.cert

--
Michael Mráka
Satellite Engineering, Red Hat

_______________________________________________
Spacewalk-list mailing list
[email protected]
https://www.redhat.com/mailman/listinfo/spacewalk-list


_______________________________________________
Spacewalk-list mailing list
[email protected]
https://www.redhat.com/mailman/listinfo/spacewalk-list

Reply via email to