{
  "created": "2015-12-20T19:56:41Z",
  "hierarchy": [
    {
      "name": "ROOT",
      "type": "folder",
      "uri": "/ROOT"
    },
    {
      "name": "Spacewalk Errors",
      "type": "article",
      "uri": "Spacewalk_Errors"
    }
  ],
  "html": "<!DOCTYPE html><html lang=\"en\"><head><meta charset=\"UTF-8\"/><meta http-equiv=\"X-UA-Compatible\" content=\"IE=edge\"/><meta name=\"viewport\" content=\"width=device-width, initial-scale=1.0\"/><meta name=\"name\" content=\"Nikhil's Personal Wiki\"/><meta name=\"description\" content=\"Spacewalk Errors – Nikhil's Personal Wiki\"/><meta name=\"author\" content=\"Nikhil Anand\"/><meta name=\"theme-color\" content=\"#ffe9a00\"/><meta property=\"og:title\" content=\"Spacewalk Errors – Nikhil's Personal Wiki\"/><meta property=\"og:description\" content=\"Spacewalk Errors – Nikhil's Personal Wiki\"/><meta property=\"og:type\" content=\"website\"/><meta property=\"og:image\" content=\"/img/logo512.png\"/><meta property=\"og:site_name\" content=\"Nikhil's Personal Wiki\"/><link rel=\"og:image\" href=\"/img/logo512.png\"/><link rel=\"icon\" href=\"/img/favicon.png\"/><link rel=\"apple-touch-icon\" href=\"/img/logo192.png\"/><link rel=\"stylesheet\" href=\"/css/styles.css\"/><title>Spacewalk Errors – Nikhil's Personal Wiki</title><script defer data-domain=\"wiki.nikhil.io\" src=\"https://plausible.io/js/plausible.js\"></script></head><body><noscript>👉 A few things won't work if you have JavaScript disabled.</noscript><div class=\"container article\"><header><nav><ul><li><a href=\"/archive\" class title=\"Archive\"><span>Archive</span></a></li><li><a href=\"/Home\" class title=\"Home\"><span>Home</span></a></li><li><a href=\"/random\" class title=\"See a random article\"><span>Random</span></a></li><li><a href=\"/Spacewalk_Errors/raw.txt\" title=\"View Source\"><span>Raw</span></a></li><li><a href=\"/Spacewalk_Errors/revisions\" class title=\"View revisions\"><span>Revisions</span></a></li><li><a href=\"/Spacewalk_Errors/index.json\" title=\"View JSON Object\"><span>JSON</span></a></li></ul></nav></header><main><article><article-hierarchy><ul><li><a data-entity-type=\"folder\" href=\"/ROOT\" title=\"ROOT\">Root</a></li><li><a data-entity-type=\"article\" href=\"/Spacewalk_Errors\" title=\"Spacewalk Errors\">Spacewalk Errors</a></li></ul></article-hierarchy><header><h1>Spacewalk Errors</h1></header><article-content><h2 id=\"on-server\">On Server</h2>\n<h3 id=\"invalid-password---jabber-daemon\">Invalid Password - Jabber Daemon</h3>\n<p>If you see this in <code>/var/log/rhn/osa-dispatcher.log</code></p>\n<pre><code>2011/09/08 17:18:12 -05:00 7402 0.0.0.0: osad/jabber_lib.__init__\n2011/09/08 17:18:13 -05:00 7402 0.0.0.0: osad/jabber_lib.setup_connection('Connected to jabber server', 'spacewalk.example.com')\n2011/09/08 17:18:13 -05:00 7402 0.0.0.0: osad/jabber_lib.register('ERROR', 'Invalid password')\n</code></pre>\n<p>Run this <a href=\"https://www.redhat.com/archives/spacewalk-list/2010-September/msg00078.html\">as a cron job every night</a> on <strong>the server</strong>:</p>\n<pre><code>/sbin/service jabberd stop\n/sbin/service osa-dispatcher stop\nrm -Rf /var/lib/jabberd/db/*\n/sbin/service jabberd start\n/sbin/service osa-dispatcher start\n</code></pre>\n<p>Run this on <strong>the client</strong>:</p>\n<pre><code>service osad stop\nrm /etc/sysconfig/rhn/osad-auth.conf\nservice osad start\n</code></pre>\n<h3 id=\"checking-the-fqdn-quickly\">Checking the FQDN quickly</h3>\n<p>All three commands should return the same thing (host.domain.tld)</p>\n<pre><code>openssl x509 -text -in cat /etc/rhn/rhn.conf | grep osa_ssl_cert | sed 's/.* =//' | grep '^ :space:*Subject:.*CN=' | sed 's/.*CN=//'\n</code></pre>\n<p>   openssl x509 -text -in grep &lsquo;^ :space:<em>&lt;id\\ .<em>pemfile=&quot;&rsquo; /etc/jabberd/c2s.xml | sed &rsquo;s/.<em>pemfile=&quot;\\([^&quot;]</em>\\) .</em>/\\1/&rsquo; | grep &lsquo;^ :space:<em>Subject:.<em>CN=&rsquo; | sed &rsquo;s/.<em>CN=\\(.</em>\\)[/$].</em>/\\1/&rsquo;<br />\n    grep &lsquo;^:space:</em>&lt;id\\ .<em>pemfile=&quot;&rsquo; /etc/jabberd/c2s.xml | sed &rsquo;s/.</em>&gt;\\(.</em>\\).<em>&lt;.</em>/\\1/&rsquo;</p>\n<h2 id=\"on-client\">On Client</h2>\n<h3 id=\"osad-client-check-signature-signatures-do-not-match\">osad_client._check_signature: Signatures do not match</h3>\n<blockquote>\n<p><a href=\"http://markmail.org/message/nf2hjjlcykzu6uqk#query:+page:1+mid:upgpa2j4sqnpw6z4+state:results\">Most likely you</a> re-ran <code>rhnreg_ks</code> to re-register the system to your spacewalk server.<br />\nThis broke the association of osad user &lt;&gt; systemid that is stored in the DB.<br />\nRemove the auth file for osad from within /etc/sysconfig/rhn/ on the client and<br />\nrestart osad, this will re-generate a new osad auth file and this error should go away.</p>\n</blockquote>\n<p>So:</p>\n<p>  service osad stop   rm /etc/sysconfig/rhn/osad-auth.conf   service osad start</p>\n</article-content></article></main><footer><p></p><ul><li>2,088 bytes</li><li>Created on Sunday, 20 December 2015 at 19:56 UTC</li><li>Modified on Thursday, 28 May 2026 at 13:06 UTC</li><br/><li><a href=\"https://github.com/afreeorange/wiki.nikhil.io.articles/edit/master/Spacewalk Errors.md\" title=\"Edit this article\">Edit this article</a></li><li><a href=\"https://github.com/afreeorange/bock\" title=\"View the project that generates this wiki on Github\"><span>bock 6.3.0-alpha</span></a></li></ul></footer></div><script src=\"/js/table-sort.js\" defer></script><script type=\"text/javascript\">\n        document.body.addEventListener(\n          \"keypress\", (e) => e.key === \"f\"\n          ? window.location.assign(\"/archive\")\n          : null);\n      </script></body></html>",
  "id": "01080890-27b5-5fcb-92d0-d880b4c33a3b",
  "modified": "2026-05-28T13:06:23Z",
  "revisions": [
    {
      "authorEmail": "mail@nikhil.io",
      "authorName": "Nikhil Anand",
      "date": "2026-05-28T13:06:23Z",
      "id": "f5f463e89c910fbc0b0ea4a0f2c9881c97ac248d",
      "shortId": "f5f463e8",
      "subject": "Formatting fixes -- Claude\n",
      "content": "## On Server\n\n### Invalid Password - Jabber Daemon\n\nIf you see this in `/var/log/rhn/osa-dispatcher.log`\n\n    2011/09/08 17:18:12 -05:00 7402 0.0.0.0: osad/jabber_lib.__init__\n    2011/09/08 17:18:13 -05:00 7402 0.0.0.0: osad/jabber_lib.setup_connection('Connected to jabber server', 'spacewalk.example.com')\n    2011/09/08 17:18:13 -05:00 7402 0.0.0.0: osad/jabber_lib.register('ERROR', 'Invalid password')\n\nRun this [as a cron job every night](https://www.redhat.com/archives/spacewalk-list/2010-September/msg00078.html) on **the server**:\n\n    /sbin/service jabberd stop\n    /sbin/service osa-dispatcher stop\n    rm -Rf /var/lib/jabberd/db/*\n    /sbin/service jabberd start\n    /sbin/service osa-dispatcher start\n\nRun this on **the client**:\n\n    service osad stop\n    rm /etc/sysconfig/rhn/osad-auth.conf\n    service osad start\n\n### Checking the FQDN quickly\n\nAll three commands should return the same thing (host.domain.tld)\n\n    openssl x509 -text -in cat /etc/rhn/rhn.conf | grep osa_ssl_cert | sed 's/.* =//' | grep '^ :space:*Subject:.*CN=' | sed 's/.*CN=//'\n    openssl x509 -text -in grep '^ :space:*<id\\ .*pemfile=\"' /etc/jabberd/c2s.xml | sed 's/.*pemfile=\"\\\\([^\"]*\\\\) .*/\\1/' | grep '^ :space:*Subject:.*CN=' | sed 's/.*CN=\\\\(.*\\\\)[\\/$].*/\\1/'\n    grep '^:space:*<id\\ .*pemfile=\"' /etc/jabberd/c2s.xml | sed 's/.*>\\\\(.*\\\\).*<.*/\\1/'\n\n## On Client\n\n### osad\\_client.\\_check\\_signature: Signatures do not match\n\n> [Most likely you](http://markmail.org/message/nf2hjjlcykzu6uqk#query:+page:1+mid:upgpa2j4sqnpw6z4+state:results) re-ran `rhnreg_ks` to re-register the system to your spacewalk server.\n> This broke the association of osad user <> systemid that is stored in the DB.\n> Remove the auth file for osad from within /etc/sysconfig/rhn/ on the client and\n> restart osad, this will re-generate a new osad auth file and this error should go away.\n\nSo:\n\n  service osad stop   rm /etc/sysconfig/rhn/osad-auth.conf   service osad start\n"
    },
    {
      "authorEmail": "mail@nikhil.io",
      "authorName": "Nikhil Anand",
      "date": "2026-01-13T18:47:28Z",
      "id": "2436477560f26e23d00a24add1cbfeafdca4af78",
      "shortId": "24364775",
      "subject": "No compression\n",
      "content": "On Server\n---------\n\n### Invalid Password - Jabber Daemon\n\nIf you see this in `/var/log/rhn/osa-dispatcher.log`\n\n    2011/09/08 17:18:12 -05:00 7402 0.0.0.0: osad/jabber_lib.__init__  \n    2011/09/08 17:18:13 -05:00 7402 0.0.0.0: osad/jabber_lib.setup_connection('Connected to jabber server', 'spacewalk.example.com')  \n    2011/09/08 17:18:13 -05:00 7402 0.0.0.0: osad/jabber_lib.register('ERROR', 'Invalid password')\n\nRun this [as a cron job every\nnight](https://www.redhat.com/archives/spacewalk-list/2010-September/msg00078.html)\non **the server**:\n\n    /sbin/service jabberd stop  \n    /sbin/service osa-dispatcher stop  \n    rm -Rf /var/lib/jabberd/db/*  \n    /sbin/service jabberd start  \n    /sbin/service osa-dispatcher start\n\nRun this on **the client**:\n\n    service osad stop  \n    rm /etc/sysconfig/rhn/osad-auth.conf  \n    service osad start\n\n### Checking the FQDN quickly\n\nAll three commands should return the same thing (host.domain.tld)\n\n    openssl x509 -text -in cat /etc/rhn/rhn.conf | grep osa_ssl_cert | sed 's/.* =//' | grep '^ [:space:](:space: \"wikilink\")*Subject:.*CN=' | sed 's/.*CN=//'   \n    openssl x509 -text -in grep '^ [:space:](:space: \"wikilink\")*<id\\ .*pemfile=\"' /etc/jabberd/c2s.xml | sed 's/.*pemfile=\"\\\\([^\"]*\\\\) .*/\\1/' | grep '^ [:space:](:space: \"wikilink\")*Subject:.*CN=' | sed 's/.*CN=\\\\(.*\\\\)[\\/$].*/\\1/'  \n    grep '^[:space:](:space: \"wikilink\")*<id\\ .*pemfile=\"' /etc/jabberd/c2s.xml | sed 's/.*>\\\\(.*\\\\).*<.*/\\1/'\n\nOn Client\n---------\n\n### osad\\_client.\\_check\\_signature: Signatures do not match\n\n> [Most likely you](http://markmail.org/message/nf2hjjlcykzu6uqk#query:+page:1+mid:upgpa2j4sqnpw6z4+state:results) re-ran `rhnreg_ks` to re-register the system to your spacewalk server.   \n> This broke the association of osad user <> systemid that is stored in the DB.   \n> Remove the auth file for osad from within /etc/sysconfig/rhn/ on the client and   \n> restart osad, this will re-generate a new osad auth file and this error should go away.\n\nSo:\n\n  service osad stop  \n  rm /etc/sysconfig/rhn/osad-auth.conf  \n  service osad start\n"
    },
    {
      "authorEmail": "mail@nikhil.io",
      "authorName": "Nikhil Anand",
      "date": "2025-06-06T14:38:23Z",
      "id": "c94a7e7ca1fce8cd9c634d81b8b5711166546c9c",
      "shortId": "c94a7e7c",
      "subject": "Merge branch 'master' of github.com:afreeorange/wiki.nikhil.io.articles\n",
      "content": "On Server\n---------\n\n### Invalid Password - Jabber Daemon\n\nIf you see this in `/var/log/rhn/osa-dispatcher.log`\n\n    2011/09/08 17:18:12 -05:00 7402 0.0.0.0: osad/jabber_lib.__init__  \n    2011/09/08 17:18:13 -05:00 7402 0.0.0.0: osad/jabber_lib.setup_connection('Connected to jabber server', 'spacewalk.example.com')  \n    2011/09/08 17:18:13 -05:00 7402 0.0.0.0: osad/jabber_lib.register('ERROR', 'Invalid password')\n\nRun this [as a cron job every\nnight](https://www.redhat.com/archives/spacewalk-list/2010-September/msg00078.html)\non **the server**:\n\n    /sbin/service jabberd stop  \n    /sbin/service osa-dispatcher stop  \n    rm -Rf /var/lib/jabberd/db/*  \n    /sbin/service jabberd start  \n    /sbin/service osa-dispatcher start\n\nRun this on **the client**:\n\n    service osad stop  \n    rm /etc/sysconfig/rhn/osad-auth.conf  \n    service osad start\n\n### Checking the FQDN quickly\n\nAll three commands should return the same thing (host.domain.tld)\n\n    openssl x509 -text -in cat /etc/rhn/rhn.conf | grep osa_ssl_cert | sed 's/.* =//' | grep '^ [:space:](:space: \"wikilink\")*Subject:.*CN=' | sed 's/.*CN=//'   \n    openssl x509 -text -in grep '^ [:space:](:space: \"wikilink\")*<id\\ .*pemfile=\"' /etc/jabberd/c2s.xml | sed 's/.*pemfile=\"\\\\([^\"]*\\\\) .*/\\1/' | grep '^ [:space:](:space: \"wikilink\")*Subject:.*CN=' | sed 's/.*CN=\\\\(.*\\\\)[\\/$].*/\\1/'  \n    grep '^[:space:](:space: \"wikilink\")*<id\\ .*pemfile=\"' /etc/jabberd/c2s.xml | sed 's/.*>\\\\(.*\\\\).*<.*/\\1/'\n\nOn Client\n---------\n\n### osad\\_client.\\_check\\_signature: Signatures do not match\n\n> [Most likely you](http://markmail.org/message/nf2hjjlcykzu6uqk#query:+page:1+mid:upgpa2j4sqnpw6z4+state:results) re-ran `rhnreg_ks` to re-register the system to your spacewalk server.   \n> This broke the association of osad user <> systemid that is stored in the DB.   \n> Remove the auth file for osad from within /etc/sysconfig/rhn/ on the client and   \n> restart osad, this will re-generate a new osad auth file and this error should go away.\n\nSo:\n\n  service osad stop  \n  rm /etc/sysconfig/rhn/osad-auth.conf  \n  service osad start\n"
    },
    {
      "authorEmail": "mail@nikhil.io",
      "authorName": "Nikhil Anand",
      "date": "2021-06-04T03:04:37Z",
      "id": "fa9f7632d7901e6f9bb62b88594735ccc3588d28",
      "shortId": "fa9f7632",
      "subject": "Update Dovecot.md\n",
      "content": "On Server\n---------\n\n### Invalid Password - Jabber Daemon\n\nIf you see this in `/var/log/rhn/osa-dispatcher.log`\n\n    2011/09/08 17:18:12 -05:00 7402 0.0.0.0: osad/jabber_lib.__init__  \n    2011/09/08 17:18:13 -05:00 7402 0.0.0.0: osad/jabber_lib.setup_connection('Connected to jabber server', 'spacewalk.example.com')  \n    2011/09/08 17:18:13 -05:00 7402 0.0.0.0: osad/jabber_lib.register('ERROR', 'Invalid password')\n\nRun this [as a cron job every\nnight](https://www.redhat.com/archives/spacewalk-list/2010-September/msg00078.html)\non **the server**:\n\n    /sbin/service jabberd stop  \n    /sbin/service osa-dispatcher stop  \n    rm -Rf /var/lib/jabberd/db/*  \n    /sbin/service jabberd start  \n    /sbin/service osa-dispatcher start\n\nRun this on **the client**:\n\n    service osad stop  \n    rm /etc/sysconfig/rhn/osad-auth.conf  \n    service osad start\n\n### Checking the FQDN quickly\n\nAll three commands should return the same thing (host.domain.tld)\n\n    openssl x509 -text -in cat /etc/rhn/rhn.conf | grep osa_ssl_cert | sed 's/.* =//' | grep '^ [:space:](:space: \"wikilink\")*Subject:.*CN=' | sed 's/.*CN=//'   \n    openssl x509 -text -in grep '^ [:space:](:space: \"wikilink\")*<id\\ .*pemfile=\"' /etc/jabberd/c2s.xml | sed 's/.*pemfile=\"\\\\([^\"]*\\\\) .*/\\1/' | grep '^ [:space:](:space: \"wikilink\")*Subject:.*CN=' | sed 's/.*CN=\\\\(.*\\\\)[\\/$].*/\\1/'  \n    grep '^[:space:](:space: \"wikilink\")*<id\\ .*pemfile=\"' /etc/jabberd/c2s.xml | sed 's/.*>\\\\(.*\\\\).*<.*/\\1/'\n\nOn Client\n---------\n\n### osad\\_client.\\_check\\_signature: Signatures do not match\n\n> [Most likely you](http://markmail.org/message/nf2hjjlcykzu6uqk#query:+page:1+mid:upgpa2j4sqnpw6z4+state:results) re-ran `rhnreg_ks` to re-register the system to your spacewalk server.   \n> This broke the association of osad user <> systemid that is stored in the DB.   \n> Remove the auth file for osad from within /etc/sysconfig/rhn/ on the client and   \n> restart osad, this will re-generate a new osad auth file and this error should go away.\n\nSo:\n\n  service osad stop  \n  rm /etc/sysconfig/rhn/osad-auth.conf  \n  service osad start\n"
    },
    {
      "authorEmail": "mail@nikhil.io",
      "authorName": "Nikhil Anand",
      "date": "2015-12-27T07:27:56Z",
      "id": "1aa29105a45aa67523ffb61e73bcc415f935a47e",
      "shortId": "1aa29105",
      "subject": "Fix Markdown conversion\n\nSaw half a season of The Office\n",
      "content": "On Server\n---------\n\n### Invalid Password - Jabber Daemon\n\nIf you see this in `/var/log/rhn/osa-dispatcher.log`\n\n    2011/09/08 17:18:12 -05:00 7402 0.0.0.0: osad/jabber_lib.__init__  \n    2011/09/08 17:18:13 -05:00 7402 0.0.0.0: osad/jabber_lib.setup_connection('Connected to jabber server', 'spacewalk.example.com')  \n    2011/09/08 17:18:13 -05:00 7402 0.0.0.0: osad/jabber_lib.register('ERROR', 'Invalid password')\n\nRun this [as a cron job every\nnight](https://www.redhat.com/archives/spacewalk-list/2010-September/msg00078.html)\non **the server**:\n\n    /sbin/service jabberd stop  \n    /sbin/service osa-dispatcher stop  \n    rm -Rf /var/lib/jabberd/db/*  \n    /sbin/service jabberd start  \n    /sbin/service osa-dispatcher start\n\nRun this on **the client**:\n\n    service osad stop  \n    rm /etc/sysconfig/rhn/osad-auth.conf  \n    service osad start\n\n### Checking the FQDN quickly\n\nAll three commands should return the same thing (host.domain.tld)\n\n    openssl x509 -text -in cat /etc/rhn/rhn.conf | grep osa_ssl_cert | sed 's/.* =//' | grep '^ [:space:](:space: \"wikilink\")*Subject:.*CN=' | sed 's/.*CN=//'   \n    openssl x509 -text -in grep '^ [:space:](:space: \"wikilink\")*<id\\ .*pemfile=\"' /etc/jabberd/c2s.xml | sed 's/.*pemfile=\"\\\\([^\"]*\\\\) .*/\\1/' | grep '^ [:space:](:space: \"wikilink\")*Subject:.*CN=' | sed 's/.*CN=\\\\(.*\\\\)[\\/$].*/\\1/'  \n    grep '^[:space:](:space: \"wikilink\")*<id\\ .*pemfile=\"' /etc/jabberd/c2s.xml | sed 's/.*>\\\\(.*\\\\).*<.*/\\1/'\n\nOn Client\n---------\n\n### osad\\_client.\\_check\\_signature: Signatures do not match\n\n> [Most likely you](http://markmail.org/message/nf2hjjlcykzu6uqk#query:+page:1+mid:upgpa2j4sqnpw6z4+state:results) re-ran `rhnreg_ks` to re-register the system to your spacewalk server.   \n> This broke the association of osad user <> systemid that is stored in the DB.   \n> Remove the auth file for osad from within /etc/sysconfig/rhn/ on the client and   \n> restart osad, this will re-generate a new osad auth file and this error should go away.\n\nSo:\n\n  service osad stop  \n  rm /etc/sysconfig/rhn/osad-auth.conf  \n  service osad start\n"
    },
    {
      "authorEmail": "mail@nikhil.io",
      "authorName": "Nikhil Anand",
      "date": "2015-12-21T02:30:47Z",
      "id": "d658e80d1ecb97b196531c7b15a0f9af709c05de",
      "shortId": "d658e80d",
      "subject": "Incremental\n",
      "content": "On Server\n---------\n\n### Invalid Password - Jabber Daemon\n\nIf you see this in `/var/log/rhn/osa-dispatcher.log`\n\n`   2011/09/08 17:18:12 -05:00 7402 0.0.0.0: osad/jabber_lib.__init__`  \n`   2011/09/08 17:18:13 -05:00 7402 0.0.0.0: osad/jabber_lib.setup_connection('Connected to jabber server', 'spacewalk.example.com')`  \n`   2011/09/08 17:18:13 -05:00 7402 0.0.0.0: osad/jabber_lib.register('ERROR', 'Invalid password')`\n\nRun this [as a cron job every\nnight](https://www.redhat.com/archives/spacewalk-list/2010-September/msg00078.html)\non **the server**:\n\n`   /sbin/service jabberd stop`  \n`   /sbin/service osa-dispatcher stop`  \n`   rm -Rf /var/lib/jabberd/db/*`  \n`   /sbin/service jabberd start`  \n`   /sbin/service osa-dispatcher start`\n\nRun this on **the client**:\n\n`   service osad stop`  \n`   rm /etc/sysconfig/rhn/osad-auth.conf`  \n`   service osad start`\n\n### Checking the FQDN quickly\n\nAll three commands should return the same thing (host.domain.tld)\n\n``  openssl x509 -text -in `cat /etc/rhn/rhn.conf | grep osa_ssl_cert | sed 's/.* =//'` | grep '^ ``[`:space:`](:space: \"wikilink\")`*Subject:.*CN=' | sed 's/.*CN=//' `  \n``  openssl x509 -text -in `grep '^ ``[`:space:`](:space: \"wikilink\")`*<id\\ .*pemfile=\"' /etc/jabberd/c2s.xml | sed 's/.*pemfile=\"`\\\\([^\"]*\\\\)`` .*/\\1/'` | grep '^ ``[`:space:`](:space: \"wikilink\")`*Subject:.*CN=' | sed 's/.*CN=`\\\\(.*\\\\)`[\\/$].*/\\1/'`  \n` grep '^`[`:space:`](:space: \"wikilink\")`*<id\\ .*pemfile=\"' /etc/jabberd/c2s.xml | sed 's/.*>`\\\\(.*\\\\)`.*<.*/\\1/'`\n\nOn Client\n---------\n\n### osad\\_client.\\_check\\_signature: Signatures do not match\n\n`   `[`Most` `likely`\n`you`](http://markmail.org/message/nf2hjjlcykzu6uqk#query:+page:1+mid:upgpa2j4sqnpw6z4+state:results)` re-ran rhnreg_ks to re-register the system to your spacewalk server. `  \n`   This broke the association of osad user <> systemid that is stored in the DB. `  \n`   Remove the auth file for osad from within /etc/sysconfig/rhn/ on the client and `  \n`   restart osad, this will re-generate a new osad auth file and this error should go away.`\n\nSo:\n\n`  service osad stop`  \n`  rm /etc/sysconfig/rhn/osad-auth.conf`  \n`  service osad start`\n\n"
    },
    {
      "authorEmail": "mail@nikhil.io",
      "authorName": "Nikhil Anand",
      "date": "2015-12-20T19:56:41Z",
      "id": "f1795f017029ead3456121569572f3ddb887d40e",
      "shortId": "f1795f01",
      "subject": "Spacewalk Errors : First Draft\n",
      "content": "On Server\n---------\n\n### Invalid Password - Jabber Daemon\n\nIf you see this in `/var/log/rhn/osa-dispatcher.log`\n\n`   2011/09/08 17:18:12 -05:00 7402 0.0.0.0: osad/jabber_lib.__init__`  \n`   2011/09/08 17:18:13 -05:00 7402 0.0.0.0: osad/jabber_lib.setup_connection('Connected to jabber server', 'spacewalk.example.com')`  \n`   2011/09/08 17:18:13 -05:00 7402 0.0.0.0: osad/jabber_lib.register('ERROR', 'Invalid password')`\n\nRun this [as a cron job every\nnight](https://www.redhat.com/archives/spacewalk-list/2010-September/msg00078.html)\non **the server**:\n\n`   /sbin/service jabberd stop`  \n`   /sbin/service osa-dispatcher stop`  \n`   rm -Rf /var/lib/jabberd/db/*`  \n`   /sbin/service jabberd start`  \n`   /sbin/service osa-dispatcher start`\n\nRun this on **the client**:\n\n`   service osad stop`  \n`   rm /etc/sysconfig/rhn/osad-auth.conf`  \n`   service osad start`\n\n### Checking the FQDN quickly\n\nAll three commands should return the same thing (host.domain.tld)\n\n``  openssl x509 -text -in `cat /etc/rhn/rhn.conf | grep osa_ssl_cert | sed 's/.* =//'` | grep '^ ``[`:space:`](:space: \"wikilink\")`*Subject:.*CN=' | sed 's/.*CN=//' `  \n``  openssl x509 -text -in `grep '^ ``[`:space:`](:space: \"wikilink\")`*<id\\ .*pemfile=\"' /etc/jabberd/c2s.xml | sed 's/.*pemfile=\"`\\\\([^\"]*\\\\)`` .*/\\1/'` | grep '^ ``[`:space:`](:space: \"wikilink\")`*Subject:.*CN=' | sed 's/.*CN=`\\\\(.*\\\\)`[\\/$].*/\\1/'`  \n` grep '^`[`:space:`](:space: \"wikilink\")`*<id\\ .*pemfile=\"' /etc/jabberd/c2s.xml | sed 's/.*>`\\\\(.*\\\\)`.*<.*/\\1/'`\n\nOn Client\n---------\n\n### osad\\_client.\\_check\\_signature: Signatures do not match\n\n`   `[`Most` `likely`\n`you`](http://markmail.org/message/nf2hjjlcykzu6uqk#query:+page:1+mid:upgpa2j4sqnpw6z4+state:results)` re-ran rhnreg_ks to re-register the system to your spacewalk server. `  \n`   This broke the association of osad user <> systemid that is stored in the DB. `  \n`   Remove the auth file for osad from within /etc/sysconfig/rhn/ on the client and `  \n`   restart osad, this will re-generate a new osad auth file and this error should go away.`\n\nSo:\n\n`  service osad stop`  \n`  rm /etc/sysconfig/rhn/osad-auth.conf`  \n`  service osad start`\n\n[Category:Installation Logs](Category:Installation_Logs \"wikilink\")\n[Category:Nikhil's Notes](Category:Nikhil's_Notes \"wikilink\")\n[Category:From a past sysadmin\nlife](Category:From_a_past_sysadmin_life \"wikilink\")\n"
    }
  ],
  "sizeInBytes": 2088,
  "source": "## On Server\n\n### Invalid Password - Jabber Daemon\n\nIf you see this in `/var/log/rhn/osa-dispatcher.log`\n\n    2011/09/08 17:18:12 -05:00 7402 0.0.0.0: osad/jabber_lib.__init__\n    2011/09/08 17:18:13 -05:00 7402 0.0.0.0: osad/jabber_lib.setup_connection('Connected to jabber server', 'spacewalk.example.com')\n    2011/09/08 17:18:13 -05:00 7402 0.0.0.0: osad/jabber_lib.register('ERROR', 'Invalid password')\n\nRun this [as a cron job every night](https://www.redhat.com/archives/spacewalk-list/2010-September/msg00078.html) on **the server**:\n\n    /sbin/service jabberd stop\n    /sbin/service osa-dispatcher stop\n    rm -Rf /var/lib/jabberd/db/*\n    /sbin/service jabberd start\n    /sbin/service osa-dispatcher start\n\nRun this on **the client**:\n\n    service osad stop\n    rm /etc/sysconfig/rhn/osad-auth.conf\n    service osad start\n\n### Checking the FQDN quickly\n\nAll three commands should return the same thing (host.domain.tld)\n\n    openssl x509 -text -in cat /etc/rhn/rhn.conf | grep osa_ssl_cert | sed 's/.* =//' | grep '^ :space:*Subject:.*CN=' | sed 's/.*CN=//'\n    openssl x509 -text -in grep '^ :space:*<id\\ .*pemfile=\"' /etc/jabberd/c2s.xml | sed 's/.*pemfile=\"\\\\([^\"]*\\\\) .*/\\1/' | grep '^ :space:*Subject:.*CN=' | sed 's/.*CN=\\\\(.*\\\\)[\\/$].*/\\1/'\n    grep '^:space:*<id\\ .*pemfile=\"' /etc/jabberd/c2s.xml | sed 's/.*>\\\\(.*\\\\).*<.*/\\1/'\n\n## On Client\n\n### osad\\_client.\\_check\\_signature: Signatures do not match\n\n> [Most likely you](http://markmail.org/message/nf2hjjlcykzu6uqk#query:+page:1+mid:upgpa2j4sqnpw6z4+state:results) re-ran `rhnreg_ks` to re-register the system to your spacewalk server.\n> This broke the association of osad user <> systemid that is stored in the DB.\n> Remove the auth file for osad from within /etc/sysconfig/rhn/ on the client and\n> restart osad, this will re-generate a new osad auth file and this error should go away.\n\nSo:\n\n  service osad stop   rm /etc/sysconfig/rhn/osad-auth.conf   service osad start\n",
  "title": "Spacewalk Errors",
  "untracked": false,
  "uri": "/Spacewalk_Errors",
  "relativePath": "Spacewalk Errors.md"
}
