<html>
  <head>
    <meta content="text/html; charset=windows-1252"
      http-equiv="Content-Type">
  </head>
  <body bgcolor="#FFFFFF" text="#000000">
    <br>
    <div class="moz-cite-prefix">On 12/01/17 10:58, Zeal Vora wrote:<br>
    </div>
    <blockquote
cite="mid:CANNgueyLcn4yn8C-z5U4GnQzNoN5m-B9uAg4D4CQMS75n4m2eQ@mail.gmail.com"
      type="cite">
      <div dir="ltr">Hi
        <div><br>
        </div>
        <div>We use SpaceWalk 2.4 for our Patch Management.</div>
        <div><br>
        </div>
        <div>Due to some reason, many of the servers have issues related
          to OSAD going offline time and again so sometimes we just go
          for a way of running rhn_check manually.</div>
        <div><br>
        </div>
        <div>So I was wondering, can we have rhn_check in all the
          servers in CRON ? Can it work in this situation ? I had bit
          trouble with putting it in cron so wanted to verify.</div>
        <div><br>
        </div>
        <div>If you can suggest any alternatives or better way, it
           would be appreciated.</div>
        <div><br>
        </div>
        <div>Thanks!</div>
        <div>Zeal</div>
      </div>
      <br>
      <fieldset class="mimeAttachmentHeader"></fieldset>
      <br>
    </blockquote>
    <br>
    <p>Most OSAD problems seem to be related to Jabber DB and SSL
      certificate issues.</p>
    <p>It can take a while to get these sorted out, I would recommend
      reconfiguring Jabber to use a SQLite database and throw out the
      Berkeley DB.</p>
    <p>Careful reading and checking of the following documents can help:</p>
    <p><a class="moz-txt-link-freetext" href="https://fedorahosted.org/spacewalk/wiki/OsadHowTo">https://fedorahosted.org/spacewalk/wiki/OsadHowTo</a></p>
    <p><a class="moz-txt-link-freetext" href="https://fedorahosted.org/spacewalk/wiki/JabberAndOSAD">https://fedorahosted.org/spacewalk/wiki/JabberAndOSAD</a></p>
    <p><a class="moz-txt-link-freetext" href="http://git.net/ml/spacewalk-list/2009-07/msg00116.html">http://git.net/ml/spacewalk-list/2009-07/msg00116.html</a></p>
    <p>Took a bit of searching, but you should have a sqlite DB
      initialisation script in /usr/share/jabberd/db-setup.sqlite<br>
    </p>
    <p>Also, if you fiddle (read: delete) with the Jabber DB remember to
      remove the /etc/sysconfig/rhn/osad-auth.conf file on the clients,
      as that seems to prevent them from trying to register.<br>
    </p>
    <p>Finally, there's a lot of talk of removing databases and making
      changes to files, be sure to ensure that jabber owns or has full
      access to all the files it needs to (Database, Certs, config files
      etc...)</p>
    <p>It is fiddlesome, but since moving to SQLite backend for Jabber I
      really have not had any issues with OSAD since the latest
      spacewalk release.<br>
    </p>
    <br>
    <blockquote
cite="mid:CANNgueyLcn4yn8C-z5U4GnQzNoN5m-B9uAg4D4CQMS75n4m2eQ@mail.gmail.com"
      type="cite">
      <pre wrap="">_______________________________________________
Spacewalk-list mailing list
<a class="moz-txt-link-abbreviated" href="mailto:Spacewalk-list@redhat.com">Spacewalk-list@redhat.com</a>
<a class="moz-txt-link-freetext" href="https://www.redhat.com/mailman/listinfo/spacewalk-list">https://www.redhat.com/mailman/listinfo/spacewalk-list</a></pre>
    </blockquote>
    <br>
    <pre class="moz-signature" cols="72">-- 
Regards,

Giles Coochey
+44 (0) 7584 634 135
+44 (0) 1803 529 451
<a class="moz-txt-link-abbreviated" href="mailto:giles@coochey.net">giles@coochey.net</a></pre>
  </body>
</html>