<html><head></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; ">Hello,<div><br></div><div>I performed a fresh update of Spacewalk on a CentOS 5.6 box, having followed all the installation instructions faithfully. I can register clients just fine; the Spacewalk server pings them just fine (can see this in osad-dispatcher.log on server.)</div><div><br></div><div>However, I can't:</div><div><br></div><div>+ Install/remove packages </div><div>+ Push configs</div><div>+ Execute remote commands</div><div><br></div><div>The log files on the client (osad -N -vvvvvvv) keep showing the following salient errors:</div><div><br></div><div>----------------</div><div><br></div><div><div>2011-09-12 18:05:55 jabber_lib._orig_dispatch: <error><conflict xmlns = 'urn:ietf:params:xml:ns:xmpp-streams'  /></error></div><div>2011-09-12 18:34:17 jabber_lib._orig_dispatch: <error><conflict xmlns = 'urn:ietf:params:xml:ns:xmpp-streams'  /></error></div><div>2011-09-12 18:57:40 jabber_lib._orig_dispatch: <error><conflict xmlns = 'urn:ietf:params:xml:ns:xmpp-streams'  /></error></div><div>2011-09-12 19:01:09 jabber_lib._orig_dispatch: <error><conflict xmlns = 'urn:ietf:params:xml:ns:xmpp-streams'  /></error></div><div>2011-09-12 19:04:38 jabber_lib._orig_dispatch: <error><conflict xmlns = 'urn:ietf:params:xml:ns:xmpp-streams'  /></error></div><div>2011-09-12 20:10:01 jabber_lib._orig_dispatch: <error><conflict xmlns = 'urn:ietf:params:xml:ns:xmpp-streams'  /></error></div><div><br></div><div>----------------</div><div><br></div><div>This is followed by this OpenSSL error:</div><div><br></div><div>----------------</div><div><br></div><div><div>2011-09-12 20:10:01 jabber_lib._orig_dispatch: <error><conflict xmlns = 'urn:ietf:params:xml:ns:xmpp-streams'  /></error></div><div><-- <error><conflict xmlns = 'urn:ietf:params:xml:ns:xmpp-streams'  /></error></div><div><br></div><div>2011-09-12 20:10:10 jabber_lib.process: None</div><div>2011-09-12 20:10:10 jabber_lib.process: before select(); timeout None</div><div>2011-09-12 20:10:10 jabber_lib.process: select() returned</div><div>2011-09-12 20:10:10 jabber_lib.process: Reading 1024 bytes from ssl socket</div><div>2011-09-12 20:10:10 jabber_lib.process: Read 16 bytes</div><div>2011-09-12 20:10:17 jabber_lib.process: None</div><div>2011-09-12 20:10:17 jabber_lib.process: before select(); timeout None</div><div>2011-09-12 20:10:17 jabber_lib.process: select() returned</div><div>2011-09-12 20:10:17 jabber_lib.process: Reading 1024 bytes from ssl socket</div><div>2011-09-12 20:10:17 jabber_lib.process: Closing socket</div><div>Error caught:</div><div>Traceback (most recent call last):</div><div>  File "/usr/share/rhn/osad/jabber_lib.py", line 118, in main</div><div>    self.process_forever(c)</div><div>  File "/usr/share/rhn/osad/jabber_lib.py", line 176, in process_forever</div><div>    self.process_once(client)</div><div>  File "/usr/share/rhn/osad/osad.py", line 242, in process_once</div><div>    client.process(timeout=None)</div><div>  File "/usr/share/rhn/osad/jabber_lib.py", line 1035, in process</div><div>    raise SSLError("OpenSSL error; will retry", str(e))</div><div>SSLError: ('OpenSSL error; will retry', "(-1, 'Unexpected EOF')")</div><div><br></div><div>2011-09-12 20:10:17 jabber_lib.main: Sleeping 96 seconds</div></div><div><br class="webkit-block-placeholder"></div><div>----------------</div><div><br></div><div>This issue is exactly the same as:</div><div><a href="http://www.redhat.com/archives/spacewalk-list/2009-February/msg00416.html">http://www.redhat.com/archives/spacewalk-list/2009-February/msg00416.html</a></div><div><br></div><div>Searching around, I've tried/checked the following:</div><div><br></div><div>+ Firewall is disabled</div><div>+ SELinux is disabled</div><div>+ FQDN of the server is correct, and exactly the same in server.pem (for jabberd) and RHN-ORG-TRUSTED-SSL-CERT (installed on client). Same with /etc/pki/tls/certs/spacewalk.crt</div><div>+ Permissions are OK as far as this thread goes:</div><div><a href="https://www.redhat.com/archives/spacewalk-list/2010-June/msg00092.html">https://www.redhat.com/archives/spacewalk-list/2010-June/msg00092.html</a></div><div>+ I get the same issue with Oracle XE and PostgreSQL (I'm swearing less when using the latter...)</div><div>+ /etc/sysconfig/rhn/up2date looks OK. Nothing's different except these two lines:</div><div><br></div><div>  serverURL=https://<my FQDN>/XMLRPC</div><div>  sslCACert=/usr/share/rhn/RHN-ORG-TRUSTED-SSL-CERT </div><div><br></div><div>+ When re-registering a client, I make sure to do this:</div><div><br></div><div><div>  service osad stop</div><div>  rm /etc/sysconfig/rhn/osad-auth.conf</div><div>  service osad start</div></div><div><br></div><div>I've reached my knowledge's (and wit's) end trying to figure out what's happening. I've tried different boxes, VMs, even different versions of Spacewalk (1.3 and 1.4).</div><div><br></div><div>Could someone please help me figure out what's happening? Could someone post working /etc/jabberd/*.xml files (with the FQDNs ***-ed out, of course)?</div><div><br></div><div>Thank you for your time!</div><div>Nikhil</div><div>
<div style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; "><div><br class="Apple-interchange-newline">---<br class="Apple-interchange-newline">Nikhil Anand</div><div>515 708 2866</div><div><a href="http://mantralay.org/key">mantralay.org/key</a></div><div><br></div></div><br class="Apple-interchange-newline"><br class="Apple-interchange-newline">
</div>
<br></div></body></html>