Message info
 
To:spacewalk-list@redhat.com From:Musayev, Ilya Subject:Re: [Spacewalk-list] Installing Spacewalk - Signing the Cert Date:Mon, 7 May 2012 16:49:59 -0400
 

On the satellite host, check the hostname for /etc/sysconfig/rhn/osad.conf, make sure hostname matches the cert you are using from the spacewalk core server.

 

From: spacewalk-list-bounces@redhat.com [mailto:spacewalk-list-bounces@redhat.com] On Behalf Of Gerald Buttitta
Sent: Monday, May 07, 2012 4:18 PM
To: spacewalk-list@redhat.com
Subject: [Spacewalk-list] Installing Spacewalk - Signing the Cert

 

Hi,

I'm using https://fedorahosted.org/spacewalk/wiki/CertCreation#InstallGPGkeysintowebapp

 

I am at Signing the Certificate.

I downloaded and ran gen-oss-sat-cert.pl

./scripts_gen-oss-sat-cert.pl --orgid 1 --owner guser --signer guser  --output /usr/share/spacewalk/setup/spacewalk-public.cert --expires 2022-04-22 --slots 20000 --provisioning-slots 20000 --satellite-version 1.7

   gpg: Signature made Fri 04 May 2012 11:51:12 AM AKDT using RSA key ID 30D3829B
   gpg: Good signature from "guser (spacewalk 1) <guser@ggg.com>"
   Signatures validation succeeded.
   Certificate saved as /usr/share/spacewalk/setup/spacewalk-public.cert

 

It appears to have worked.

 

However, spacewalk-servce restart causes osa-dispatcher error:

Starting osa-dispatcher: RHN 27121 2012/05/07 12:06:50 -08:00: ('Traceback (most recent call last):\n  File "/usr/share/rhn/osad/jabber_lib.py", line 252, in setup_connection\n    c = self._get_jabber_client(js)\n  File "/usr/share/rhn/osad/jabber_lib.py", line 309, in _get_jabber_client\n    c.connect()\n  File "/usr/share/rhn/osad/jabber_lib.py", line 567, in connect\n    jabber.Client.connect(self)\n  File "/usr/lib/python2.6/site-packages/jabber/xmlstream.py", line 488, in connect\n    raise socket.error("Unable to connect to the host and port specified")\nerror: Unable to connect to the host and port specified\n',)

 and

 

the gui now gives http Status 500-

java.lang.NumberFormatException: null
 java.lang.Long.parseLong(Long.java:401)
 java.lang.Long.parseLong(Long.java:478)
 com.redhat.rhn.manager.session.SessionManager.lifetimeValue(SessionManager.java:65)
 com.redhat.rhn.frontend.servlets.PxtSessionDelegateImpl.createPxtSession(PxtSessionDelegateImpl.java:167)
 com.redhat.rhn.frontend.servlets.PxtSessionDelegateImpl.loadPxtSession(PxtSessionDelegateImpl.java:113)
 com.redhat.rhn.frontend.servlets.PxtSessionDelegateImpl.getPxtSession(PxtSessionDelegateImpl.java:46)
 com.redhat.rhn.frontend.struts.RequestContext.getWebSession(RequestContext.java:532)
 com.redhat.rhn.frontend.struts.RequestContext.getLoggedInUser(RequestContext.java:172)
 com.redhat.rhn.frontend.servlets.LocalizedEnvironmentFilter.initializeContext(LocalizedEnvironmentFilter.java:78)
 com.redhat.rhn.frontend.servlets.LocalizedEnvironmentFilter.doFilter(LocalizedEnvironmentFilter.java:66)
 com.redhat.rhn.frontend.servlets.EnvironmentFilter.doFilter(EnvironmentFilter.java:108)
 com.redhat.rhn.frontend.servlets.SessionFilter.doFilter(SessionFilter.java:55)
 com.redhat.rhn.frontend.servlets.SetCharacterEncodingFilter.doFilter(SetCharacterEncodingFilter.java:97)

 

I am not using oracle.  I am using postgre so it's not the oracle bug.

 

Ideas?

 

Thanks

 

 

 

Jerry Buttitta