<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META content="text/html; charset=us-ascii" http-equiv=Content-Type>
<META name=GENERATOR content="MSHTML 8.00.6001.19154"></HEAD>
<BODY>
<DIV><SPAN class=525500720-10052012><FONT face=Arial>To the
post:</FONT></SPAN></DIV>
<DIV><SPAN class=525500720-10052012><FONT face=Arial>Hi,</FONT></SPAN></DIV>
<DIV><SPAN class=525500720-10052012><FONT face=Arial></FONT></SPAN> </DIV>
<DIV><SPAN class=525500720-10052012><FONT face=Arial>Background to previous
post:</FONT></SPAN></DIV>
<DIV><SPAN class=525500720-10052012><FONT face=Arial></FONT></SPAN> </DIV>
<DIV><SPAN class=525500720-10052012><FONT face=Arial>I'm using <A
href="https://fedorahosted.org/spacewalk/wiki/CertCreation#InstallGPGkeysintowebapp">https://fedorahosted.org/spacewalk/wiki/CertCreation#InstallGPGkeysintowebapp</A></FONT></SPAN></DIV>
<DIV> </DIV>
<DIV><SPAN class=525500720-10052012><FONT face=Arial> </FONT></SPAN></DIV>
<DIV> </DIV>
<DIV><SPAN class=525500720-10052012><FONT face=Arial>I am at Signing the
Certificate.</FONT></SPAN></DIV>
<DIV> </DIV>
<DIV><SPAN class=525500720-10052012><FONT face=Arial>I downloaded and ran
gen-oss-sat-cert.pl </FONT></SPAN></DIV>
<DIV> </DIV>
<DIV><SPAN class=525500720-10052012><FONT
face=Arial>./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</FONT></SPAN></DIV>
<DIV> </DIV>
<DIV><SPAN class=525500720-10052012><FONT face=Arial> gpg: Signature
made Fri 04 May 2012 11:51:12 AM AKDT using RSA key ID 30D3829B<BR>
gpg: Good signature from "guser (spacewalk 1) <guser ggg
com>"<BR> Signatures validation succeeded.<BR>
Certificate saved as
/usr/share/spacewalk/setup/spacewalk-public.cert</FONT></SPAN></DIV>
<DIV> </DIV>
<DIV><SPAN class=525500720-10052012><FONT face=Arial> </FONT></SPAN></DIV>
<DIV> </DIV>
<DIV><SPAN class=525500720-10052012><FONT face=Arial>It appears to have
worked.</FONT></SPAN></DIV>
<DIV> </DIV>
<DIV><SPAN class=525500720-10052012><FONT face=Arial> </FONT></SPAN></DIV>
<DIV> </DIV>
<DIV><SPAN class=525500720-10052012><FONT face=Arial>However, spacewalk-servce
restart causes osa-dispatcher error:</FONT></SPAN></DIV>
<DIV> </DIV>
<DIV><SPAN class=525500720-10052012><FONT face=Arial>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',)</FONT></SPAN></DIV>
<DIV> </DIV>
<DIV><SPAN class=525500720-10052012><FONT face=Arial> and
</FONT></SPAN></DIV>
<DIV> </DIV>
<DIV><SPAN class=525500720-10052012><FONT face=Arial> </FONT></SPAN></DIV>
<DIV> </DIV>
<DIV><SPAN class=525500720-10052012><FONT face=Arial>the gui now gives http
Status 500-</FONT></SPAN></DIV>
<DIV> </DIV>
<DIV><SPAN class=525500720-10052012><FONT
face=Arial>java.lang.NumberFormatException:
null<BR> java.lang.Long.parseLong(Long.java:401)<BR> java.lang.Long.parseLong(Long.java:478)<BR> com.redhat.rhn.manager.session.SessionManager.lifetimeValue(SessionManager.java:65)<BR> com.redhat.rhn.frontend.servlets.PxtSessionDelegateImpl.createPxtSession(PxtSessionDelegateImpl.java:167)<BR> com.redhat.rhn.frontend.servlets.PxtSessionDelegateImpl.loadPxtSession(PxtSessionDelegateImpl.java:113)<BR> com.redhat.rhn.frontend.servlets.PxtSessionDelegateImpl.getPxtSession(PxtSessionDelegateImpl.java:46)<BR> com.redhat.rhn.frontend.struts.RequestContext.getWebSession(RequestContext.java:532)<BR> com.redhat.rhn.frontend.struts.RequestContext.getLoggedInUser(RequestContext.java:172)<BR> com.redhat.rhn.frontend.servlets.LocalizedEnvironmentFilter.initializeContext(LocalizedEnvironmentFilter.java:78)<BR> com.redhat.rhn.frontend.servlets.LocalizedEnvironmentFilter.doFilter(LocalizedEnvironmentFilter.java:66)<BR> com.redhat.rhn.frontend.servlets.EnvironmentFilter.doFilter(EnvironmentFilter.java:108)<BR> com.redhat.rhn.frontend.servlets.SessionFilter.doFilter(SessionFilter.java:55)<BR> com.redhat.rhn.frontend.servlets.SetCharacterEncodingFilter.doFilter(SetCharacterEncodingFilter.java:97)</FONT></SPAN></DIV>
<DIV> </DIV>
<DIV><SPAN class=525500720-10052012><FONT face=Arial> </FONT></SPAN></DIV>
<DIV> </DIV>
<DIV><SPAN class=525500720-10052012><FONT face=Arial>I am not using
oracle. I am using postgre so it's not the oracle bug.</FONT></SPAN></DIV>
<DIV><SPAN class=525500720-10052012><FONT face=Arial></FONT></SPAN> </DIV>
<DIV><SPAN class=525500720-10052012><FONT face=Arial>You
Replied:</FONT></SPAN></DIV>
<DIV><SPAN class=525500720-10052012><FONT face=Arial></FONT></SPAN> </DIV>
<DIV><SPAN class=525500720-10052012><FONT face=Arial>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.</FONT></SPAN></DIV>
<DIV align=left><FONT face=Arial></FONT> </DIV>
<DIV align=left><SPAN class=525500720-10052012><FONT face=Arial>New
Reply:</FONT></SPAN></DIV>
<DIV align=left><SPAN class=525500720-10052012><FONT
face=Arial></FONT></SPAN> </DIV>
<DIV align=left><SPAN class=525500720-10052012><FONT face=Arial>I asume you are
refering to the box spacewalk is installed on, and not a virtualized host that
it does sit on.</FONT></SPAN></DIV>
<DIV align=left><SPAN class=525500720-10052012><FONT face=Arial>In osad.conf I
didn't find any reference for a host name.</FONT></SPAN></DIV>
<DIV align=left><SPAN class=525500720-10052012><FONT face=Arial>I had
added:</FONT></SPAN></DIV>
<DIV align=left><SPAN class=525500720-10052012><FONT face=Arial># Use a
different certificate from what up2date is using<BR># This should point to the
satellite certificate for<BR># server_name<BR>#glb<BR>osa_ssl_cert =
/usr/share/rhn/RHN-ORG-TRUSTED-SSL-CERT<BR></FONT></SPAN></DIV>
<DIV align=left><SPAN class=525500720-10052012><FONT face=Arial>and the
cert does show the correct name: sat-svr-centos1</FONT></SPAN></DIV>
<DIV align=left><SPAN class=525500720-10052012><FONT face=Arial>The line: "Use a
different certificate from what up2date is using" bothers
me.</FONT></SPAN></DIV>
<DIV align=left><SPAN class=525500720-10052012><FONT face=Arial>Am I possibly
point to the wrong cert?<BR>Also, </FONT></SPAN><SPAN
class=525500720-10052012><FONT face=Arial>I thought the gpg cert was a
possible problem so I recreated it. </FONT></SPAN></DIV>
<DIV align=left><SPAN class=525500720-10052012><FONT face=Arial>I'm getting the
same errors.</FONT></SPAN></DIV>
<DIV align=left><FONT face=Arial><SPAN class=525500720-10052012>Any
ideas?</SPAN><SPAN class=525500720-10052012></DIV></SPAN></FONT>
<DIV align=left><FONT face=Arial></FONT> </DIV>
<DIV align=left><FONT face=Arial></FONT> </DIV>
<DIV align=left><FONT face=Arial>Jerry Buttitta</FONT></DIV>
<DIV align=left>OSS Administrator I</DIV>
<DIV align=left><FONT face=Arial>(907)868-5916</FONT></DIV>
<DIV align=left><FONT face=Arial></FONT> </DIV>
<DIV align=left><FONT face=Arial></FONT> </DIV>
<DIV align=left><FONT face=Arial></FONT> </DIV>
<DIV align=left>
<P style="MARGIN: 0in 0in 0pt" class=MsoNormal><FONT face=Calibri>'Tis the gift
to be simple, 'tis the gift to be free, </FONT></P>
<P style="MARGIN: 0in 0in 0pt" class=MsoNormal><FONT face=Calibri>'Tis the gift
to come down where we ought to be,</FONT></P>
<P style="MARGIN: 0in 0in 0pt" class=MsoNormal><FONT face=Calibri>And when we
find ourselves in the place just right, </FONT></P><SPAN
style="FONT-FAMILY: 'Calibri','sans-serif'; FONT-SIZE: 12pt; mso-fareast-font-family: Calibri; mso-ansi-language: EN-US; mso-fareast-language: EN-US; mso-bidi-language: EN-US; mso-bidi-font-family: 'Times New Roman'">'Twill
be in the valley of love and delight.</SPAN></DIV>
<DIV><FONT face=Arial></FONT> </DIV></BODY></HTML>