<html><head></head><body><div style="font-family: Verdana;font-size: 12.0px;"><div> 
<div>
<div>Hi Daryl,</div>

<div> </div>

<div>please, just to be sure. Tell, in which logfile you find the error and past the error you get. You say, that you have the problem with osa-dispatcher? This is on the server.</div>

<div> </div>

<div>So what do you get, when you restart the spacewalk services "spacewalk-service restart"? Does the osa-dispatcher start correctly?</div>

<div> </div>

<div>Regards,</div>

<div>Robert</div>

<div name="quote" style="margin:10px 5px 5px 10px; padding: 10px 0 10px 10px; border-left:2px solid #C3D9E5; word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;">
<div style="margin:0 0 10px 0;"><b>Gesendet:</b> Mittwoch, 03. August 2016 um 21:06 Uhr<br/>
<b>Von:</b> "Daryl Rose" <darylrose@outlook.com><br/>
<b>An:</b> "spacewalk-list@redhat.com" <spacewalk-list@redhat.com><br/>
<b>Betreff:</b> Re: [Spacewalk-list] osad/jabber - Invalid password errors</div>

<div name="quoted-content"><!--P {
        margin-top: 0;
        margin-bottom: 0;
}
-->
<div>
<div id="divtagdefaultwrapper" style="font-size: 12.0pt;color: rgb(0,0,0);background-color: rgb(255,255,255);font-family: Calibri , Arial , Helvetica , sans-serif;">
<p>I just realized that I've been saying that I am having an issue with osad, when I should be saying that I am having an issue with osa-dispatcher.</p>

<p> </p>

<p>It just suddenly occurred to me that osad is the process that runs on the client, while osa-dispatcher is running on the server.  This what is causing my "Invalid Password" error.</p>

<p> </p>

<p>Thank you.</p>

<p> </p>

<p>Daryl</p>
 

<div style="color: rgb(0,0,0);">
<hr style="display: inline-block;width: 98.0%;"/>
<div id="divRplyFwdMsg"><font color="#000000" face="Calibri, sans-serif" style="font-size: 11.0pt;"><b>From:</b> spacewalk-list-bounces@redhat.com <spacewalk-list-bounces@redhat.com> on behalf of Daryl Rose <darylrose@outlook.com><br/>
<b>Sent:</b> Wednesday, August 3, 2016 1:26 PM<br/>
<b>To:</b> spacewalk-list@redhat.com<br/>
<b>Subject:</b> Re: [Spacewalk-list] osad/jabber - Invalid password errors</font>

<div> </div>
</div>

<div>
<div id="divtagdefaultwrapper" style="font-size: 12.0pt;color: rgb(0,0,0);background-color: rgb(255,255,255);font-family: Calibri , Arial , Helvetica , sans-serif;">
<p>No, the host name has not changed.</p>

<p> </p>

<p>Daryl</p>
 

<div style="color: rgb(0,0,0);">
<hr style="display: inline-block;width: 98.0%;"/>
<div id="divRplyFwdMsg"><font color="#000000" face="Calibri, sans-serif" style="font-size: 11.0pt;"><b>From:</b> spacewalk-list-bounces@redhat.com <spacewalk-list-bounces@redhat.com> on behalf of Konstantin Raskoshnyi <konrasko@gmail.com><br/>
<b>Sent:</b> Wednesday, August 3, 2016 1:00 PM<br/>
<b>To:</b> spacewalk-list@redhat.com<br/>
<b>Subject:</b> Re: [Spacewalk-list] osad/jabber - Invalid password errors</font>

<div> </div>
</div>

<div>
<div>Did you change the hostname manually? Usually that's the problem.</div>

<div class="gmail_extra"> 
<div class="gmail_quote">On Wed, Aug 3, 2016 at 10:37 AM, Daryl Rose <span> <<a href="darylrose@outlook.com" target="_parent">darylrose@outlook.com</a>></span> wrote:

<blockquote class="gmail_quote" style="margin: 0 0 0 0.8ex;border-left: 1.0px rgb(204,204,204) solid;padding-left: 1.0ex;">
<div>
<div style="font-size: 12.0pt;color: rgb(0,0,0);background-color: rgb(255,255,255);font-family: Calibri , Arial , Helvetica , sans-serif;">
<p>Thank you for the information.  However, I am confused by a few things.</p>

<p> </p>

<p>The error that I am seeing is on the spacewalk server itself, not on the clients.  isn't /etc/sysconfig/rhn/osad-auth.conf only on the clients?    OSAD is failing to start on the server with the invalid password error.  Do I need to remove and recreate the osad-auth.conf file on all of the clients?</p>

<p> </p>

<p>Thank you.</p>

<p> </p>

<p>Daryl</p>

<p> </p>
 

<div style="color: rgb(0,0,0);">
<div>
<hr style="display: inline-block;width: 98.0%;"/>
<div><font color="#000000" face="Calibri, sans-serif" style="font-size: 11.0pt;"><b>From:</b> Dimitri Yioulos <<a href="dyioulos@netatlantic.com" target="_parent">dyioulos@netatlantic.com</a>><br/>
<b>Sent:</b> Wednesday, August 3, 2016 10:54 AM<br/>
<b>To:</b> <a href="spacewalk-list@redhat.com" target="_parent">spacewalk-list@redhat.com</a>; Daryl Rose<br/>
<b>Subject:</b> RE: [Spacewalk-list] osad/jabber - Invalid password errors</font>

<div> </div>
</div>
</div>

<div><font size="2"><span style="font-size: 10.0pt;">Robert is correct.  I've had similar issues with osad, and so created a simple Ansible playbook to delete osad-auth.conf against all of my nodes.  If you're running Ansible, here it is:<br/>
<br/>
---<br/>
<br/>
- hosts: all<br/>
  gather_facts: false<br/>
  become: yes<br/>
<br/>
  tasks:<br/>
    - name: stop osad<br/>
      command: /sbin/service osad stop<br/>
    - name: remove osad auth file<br/>
      command: /bin/rm -f /etc/sysconfig/rhn/osad-auth.conf<br/>
    - name: start osad<br/>
      command: /sbin/service osad start<br/>
<br/>
Dimitri<br/>
<br/>
-----Original Message-----<br/>
From: <a href="spacewalk-list-bounces@redhat.com" target="_parent">spacewalk-list-bounces@redhat.com</a> [<a href="spacewalk-list-bounces@redhat.com" target="_parent">mailto:spacewalk-list-bounces@redhat.com</a>] On Behalf Of Robert Paschedag<br/>
Sent: Wednesday, August 03, 2016 11:14 AM<br/>
To: Daryl Rose <<a href="darylrose@outlook.com" target="_parent">darylrose@outlook.com</a>><br/>
Cc: <a href="spacewalk-list@redhat.com" target="_parent">spacewalk-list@redhat.com</a><br/>
Subject: Re: [Spacewalk-list] osad/jabber - Invalid password errors<br/>
<br/>
You should have configuration files for osad in /etc/sysconfig/rhn. An osad.conf and osad-auth.conf.<br/>
<br/>
I think, if you remove the osad-auth.conf file and restart osad, it should re-register. I think!<br/>
<br/>
Regards<br/>
Robert<br/>
Am 03.08.2016 15:38 schrieb Daryl Rose <<a href="darylrose@outlook.com" target="_parent">darylrose@outlook.com</a>>:<br/>
><br/>
> Hmmm....Wonder how that happened?  I didn't press send, at least not that I'm aware of.<br/>
><br/>
><br/>
> Anyway, before I was rudely interrupted by my email client, I was<br/>
> asking if there is a password in the jabberd database or authreg.db file that could be an issue?  Since I am no longer completely clearing out the database files, perhaps something got stuck at some point?  Would clearing out the database files rest the password?<br/>
><br/>
><br/>
> But again, I'm wondering what the invalid password is?  What is osad <br/>
> logging into?<br/>
><br/>
><br/>
> Thank you.<br/>
><br/>
><br/>
> Daryl<br/>
><br/>
><br/>
><br/>
><br/>
> ________________________________<br/>
> From: <a href="spacewalk-list-bounces@redhat.com" target="_parent">spacewalk-list-bounces@redhat.com</a><br/>
> <<a href="spacewalk-list-bounces@redhat.com" target="_parent">spacewalk-list-bounces@redhat.com</a>> on behalf of Daryl Rose<br/>
> <<a href="darylrose@outlook.com" target="_parent">darylrose@outlook.com</a>><br/>
> Sent: Wednesday, August 3, 2016 8:15 AM<br/>
> To: <a href="spacewalk-list@redhat.com" target="_parent">spacewalk-list@redhat.com</a><br/>
> Subject: Re: [Spacewalk-list] osad/jabber - Invalid password errors<br/>
>  <br/>
><br/>
> I have some additional information that I think that I should share.<br/>
><br/>
><br/>
> Because of specific issues experienced with SW, I used to completely remove jabberd database and log files.  I used to stop SW, cd to /var/lib/jabberd/db and remove the entire contents then restart SW.  But, I started experience problems with OSAD not picking up packages, and after so research, I learned that the way that I used to do things was not a good idea.<br/>
><br/>
><br/>
> I think that it was a posting here that told me by removing at database files and the authreg.db it was causing the clients from losing connection with the SW server.  In the SW documentation, I learned that its better to delete only the logs that are not required.  These are the steps that I now use:<br/>
><br/>
><br/>
> /usr/bin/db_checkpoint -1 -h /var/lib/jabberd/db/ ## mark logs for<br/>
> deletion /usr/bin/db_archive -d -h /var/lib/jabberd/db/  ## delete<br/>
> logs /usr/sbin/spacewalk-service restart  ## stop/start spacewalk<br/>
><br/>
> I have this setup in a crontab that runs on a daily schedule.  I set<br/>
> this up about two months ago.<br/>
><br/>
><br/>
> I'm not sure when the invalid password issue started.  But it was some<br/>
> point after implementing these steps that the invalid password issue<br/>
> started.  Is there a password<br/>
><br/>
><br/>
>  <br/>
><br/>
><br/>
><br/>
> ________________________________<br/>
> From: Robert Paschedag <<a href="robert.paschedag@web.de" target="_parent">robert.paschedag@web.de</a>><br/>
> Sent: Tuesday, August 2, 2016 11:47 PM<br/>
> To: Daryl Rose<br/>
> Cc: <a href="spacewalk-list@redhat.com" target="_parent">spacewalk-list@redhat.com</a><br/>
> Subject: Re: [Spacewalk-list] osad/jabber - Invalid password errors<br/>
>  <br/>
> Hi Daryl,<br/>
><br/>
> the password fire jabber is stored in /etc/sysconfig/rhn/osad.auth, if I remember right.<br/>
><br/>
> The other thing is not enough permissions to delete the PID file.<br/>
><br/>
> Are you running osad as a non-root user?<br/>
><br/>
> Regards<br/>
> Robert<br/>
> Am 02.08.2016 16:24 schrieb Daryl Rose <<a href="darylrose@outlook.com" target="_parent">darylrose@outlook.com</a>>:<br/>
> ><br/>
> > OSAD has not been working, and I finally had a moment to look into it.  The osa-dispatcher.log has the following error:<br/>
> ><br/>
> ><br/>
> > 2016/08/02 08:38:25 -05:00 25556 <a href="http://0.0.0.0" target="_blank">0.0.0.0</a>:<br/>
> > osad/jabber_lib.setup_connection('Connected to jabber server',<br/>
> > '<<a href="http://spacewalk-server.domain.com" target="_blank">spacewalk-server.domain.com</a>>')<br/>
> > 2016/08/02 08:38:25 -05:00 25556 <a href="http://0.0.0.0" target="_blank">0.0.0.0</a>:<br/>
> > osad/jabber_lib.register('ERROR', 'Invalid password')<br/>
> ><br/>
> > What password would be invalid?  I am using a customized<br/>
> > certificate, and its still valid for another two years. I can register servers just fine.  I can use rhn_check to retrieve updates, so I'm sure that the certificate is fine.<br/>
> ><br/>
> ><br/>
> > There is another error that I see:<br/>
> ><br/>
> ><br/>
> > 2016/08/01 09:36:22 -05:00 1552 <a href="http://0.0.0.0" target="_blank">0.0.0.0</a>:<br/>
> > osad/jabber_lib.main('ERROR', 'Traceback (most recent call last):\n  <br/>
> > File "/usr/share/rhn/osad/jabber_lib.py", line 119, in main\n    c =<br/>
> > self.setup_connection(no_fork=no_fork)\n  File<br/>
> > "/usr/share/rhn/osad/jabber_lib.py", line 283, in setup_connection\n    <br/>
> > self.push_to_background()\n  File<br/>
> > "/usr/share/rhn/osad/jabber_lib.py", line 213, in<br/>
> > push_to_background\n    os.unlink(pid_file)\nOSError: [Errno 13]<br/>
> > Permission denied: \'/var/run/osa-dispatcher.pid\'\n')<br/>
> ><br/>
> > Anyone have any suggestions?<br/>
> ><br/>
> > Thank you<br/>
> ><br/>
> > Daryl<br/>
> ><br/>
> ><br/>
> ><br/>
<br/>
_______________________________________________<br/>
Spacewalk-list mailing list<br/>
<a href="Spacewalk-list@redhat.com" target="_parent">Spacewalk-list@redhat.com</a><br/>
<a href="https://www.redhat.com/mailman/listinfo/spacewalk-list" target="_blank">https://www.redhat.com/mailman/listinfo/spacewalk-list</a></span></font></div>
</div>
</div>
</div>
<br/>
_______________________________________________<br/>
Spacewalk-list mailing list<br/>
<a href="Spacewalk-list@redhat.com" target="_parent">Spacewalk-list@redhat.com</a><br/>
<a href="https://www.redhat.com/mailman/listinfo/spacewalk-list" target="_blank">https://www.redhat.com/mailman/listinfo/spacewalk-list</a></blockquote>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
_______________________________________________ Spacewalk-list mailing list Spacewalk-list@redhat.com <a href="https://www.redhat.com/mailman/listinfo/spacewalk-list" target="_blank">https://www.redhat.com/mailman/listinfo/spacewalk-list</a></div>
</div>
</div>
</div>
</div></div></body></html>