Re: [Spacewalk-list] osa and jabberd Problem

2010-06-14 Thread Trevor T Kates
I fixed this problem by removing the comment tags around all references to 
pemfile, fixing the permissions of all files/directories related to jabberd 
such that jabberd had ownership of them and changing the storage database to db 
instead of MySQL. 


Trevor T. Kates

CONFIDENTIALITY NOTICE:  This electronic message contains
information which may be legally confidential and or privileged and
does not in any case represent a firm ENERGY COMMODITY bid or offer
relating thereto which binds the sender without an additional
express written confirmation to that effect.  The information is
intended solely for the individual or entity named above and access
by anyone else is unauthorized.  If you are not the intended
recipient, any disclosure, copying, distribution, or use of the
contents of this information is prohibited and may be unlawful.  If
you have received this electronic transmission in error, please
reply immediately to the sender that you have received the message
in error, and delete it.  Thank you.

___
Spacewalk-list mailing list
Spacewalk-list@redhat.com
https://www.redhat.com/mailman/listinfo/spacewalk-list


Re: [Spacewalk-list] osa and jabberd Problem

2010-06-14 Thread Trevor T Kates
Hello:

Would anyone be able to help me with the problem referenced by this thread?

Thanks.


Trevor T. Kates

CONFIDENTIALITY NOTICE:  This electronic message contains
information which may be legally confidential and or privileged and
does not in any case represent a firm ENERGY COMMODITY bid or offer
relating thereto which binds the sender without an additional
express written confirmation to that effect.  The information is
intended solely for the individual or entity named above and access
by anyone else is unauthorized.  If you are not the intended
recipient, any disclosure, copying, distribution, or use of the
contents of this information is prohibited and may be unlawful.  If
you have received this electronic transmission in error, please
reply immediately to the sender that you have received the message
in error, and delete it.  Thank you.

___
Spacewalk-list mailing list
Spacewalk-list@redhat.com
https://www.redhat.com/mailman/listinfo/spacewalk-list


Re: [Spacewalk-list] osa and jabberd Problem

2010-06-10 Thread Trevor T Kates
NOTE: Resent due to formatting problems.

Hello:

I recently installed Spacewalk 1.0 on a fresh install of CentOS 5.5 and 
encountered startup problems with jabberd and osa-dispatcher immediately after 
setup. I fixed up the ownership of /var/jabberd/db/ and the permissions of the 
.xml files in /etc/jabberd. I also uncommented the pemfile entry in c2s.xml and 
fixed the permissions of server.pem so that jabberd could read it. I 
uncommented the  tag in sm.xml to stop a failure I was 
encountering with osa-dispatcher; however, another problem has introduced 
itself. Doing a tail -fn0 on c2s.log, sm.log and osa-dispatcher.log shows this:

(FQDN masked)

==> c2s.log <==
Thu Jun 10 14:08:21 2010 [notice] [9] [10.203.1.89, port=40980] connect
Thu Jun 10 14:08:21 2010 [notice] [9] auth succeeded: 
username=rhn-dispatcher-sat, resource=superclient
Thu Jun 10 14:08:21 2010 [notice] [9] requesting session: 
jid=rhn-dispatcher-...@spacewalk.domain.com/superclient

==> sm.log <==
Thu Jun 10 14:08:21 2010 [notice] created user: 
jid=rhn-dispatcher-...@spacewalk.domain.com
Thu Jun 10 14:08:21 2010 [notice] couldn't load user, can't start session: 
jid=rhn-dispatcher-...@spacewalk.domain.com/superclient

==> ../rhn/osa-dispatcher.log <==
2010/06/10 14:08:21 -04:00 21516 0.0.0.0: osad/jabber_lib.__init__
2010/06/10 14:08:21 -04:00 21516 0.0.0.0: 
osad/jabber_lib.setup_connection('Connected to jabber server', 
'spacewalk.domain.com')
2010/06/10 14:08:21 -04:00 21516 0.0.0.0: osad/jabber_lib.main('ERROR', 'Error 
caught:')
2010/06/10 14:08:21 -04:00 21516 0.0.0.0: osad/jabber_lib.main('ERROR', 
'Traceback (most recent call last):\n  File 
"/usr/share/rhn/osad/jabber_lib.py", line 120, in main\nc = 
self.setup_connection(no_fork=no_fork)\n  File 
"/usr/share/rhn/osad/jabber_lib.py", line 288, in setup_connection\n
resource=self._resource)\n  File "/usr/share/rhn/osad/dispatcher_client.py", 
line 33, in start\nself.auth(username, password, resource)\n  File 
"/usr/share/rhn/osad/jabber_lib.py", line 886, in auth\n
self.SendAndWaitForResponse(auth_set_iq)\n  File 
"/usr/lib/python2.4/site-packages/jabber/jabber.py", line 401, in 
SendAndWaitForResponse\nreturn self.waitForResponse(ID,timeout)\n  File 
"/usr/share/rhn/osad/jabber_lib.py", line 1157, in waitForResponse\nraise 
JabberQualifiedError(self.lastErrCode, self.lastErr)\nJabberQualifiedError: 
\n')


jabberd-2.0s10-3.42.el5, jabberd-selinux-1.4.8-1.el5 and 
spacewalk-setup-jabberd-1.0.1-1.el5 are installed. SELinux is disabled.

Any help with this problem would be appreciated. Thanks!


Trevor T. Kates
CONFIDENTIALITY NOTICE:  This electronic message contains
information which may be legally confidential and or privileged and
does not in any case represent a firm ENERGY COMMODITY bid or offer
relating thereto which binds the sender without an additional
express written confirmation to that effect.  The information is
intended solely for the individual or entity named above and access
by anyone else is unauthorized.  If you are not the intended
recipient, any disclosure, copying, distribution, or use of the
contents of this information is prohibited and may be unlawful.  If
you have received this electronic transmission in error, please
reply immediately to the sender that you have received the message
in error, and delete it.  Thank you.

___
Spacewalk-list mailing list
Spacewalk-list@redhat.com
https://www.redhat.com/mailman/listinfo/spacewalk-list


[Spacewalk-list] osa and jabberd Problem

2010-06-10 Thread Trevor T Kates
Hello:

I recently installed Spacewalk 1.0 on a fresh install of CentOS 5.5 and 
encountered startup problems with jabberd and osa-dispatcher immediately after 
setup. I fixed up the ownership of /var/jabberd/db/ and the permissions of the 
.xml files in /etc/jabberd. I also uncommented the pemfile entry in c2s.xml and 
fixed the permissions of server.pem so that jabberd could read it. I 
uncommented the  tag in sm.xml to stop a failure I was 
encountering with osa-dispatcher; however, another problem has introduced 
itself. Doing a tail -fn0 on c2s.log, sm.log and osa-dispatcher.log shows this:

(FQDN masked)

==> c2s.log <==
Thu Jun 10 14:08:21 2010 [notice] [9] [10.203.1.89, port=40980] connect
Thu Jun 10 14:08:21 2010 [notice] [9] auth succeeded: 
username=rhn-dispatcher-sat, resource=superclient
Thu Jun 10 14:08:21 2010 [notice] [9] requesting session: 
jid=rhn-dispatcher-...@spacewalk.domain.com/superclient

==> sm.log <==
Thu Jun 10 14:08:21 2010 [notice] created user: 
jid=rhn-dispatcher-...@spacewalk.domain.com
Thu Jun 10 14:08:21 2010 [notice] couldn't load user, can't start session: 
jid=rhn-dispatcher-...@spacewalk.domain.com/superclient

==> ../rhn/osa-dispatcher.log <==
2010/06/10 14:08:21 -04:00 21516 0.0.0.0: osad/jabber_lib.__init__
2010/06/10 14:08:21 -04:00 21516 0.0.0.0: 
osad/jabber_lib.setup_connection('Connected to jabber server', 
'spacewalk.domain.com')
2010/06/10 14:08:21 -04:00 21516 0.0.0.0: osad/jabber_lib.main('ERROR', 'Error 
caught:')
2010/06/10 14:08:21 -04:00 21516 0.0.0.0: osad/jabber_lib.main('ERROR', 
'Traceback (most recent call last):\n  File 
"/usr/share/rhn/osad/jabber_lib.py", line 120, in main\nc = 
self.setup_connection(no_fork=no_fork)\n  File 
"/usr/share/rhn/osad/jabber_lib.py", line 288, in setup_connection\n
resource=self._resource)\n  File "/usr/share/rhn/osad/dispatcher_client.py", 
line 33, in start\nself.auth(username, password, resource)\n  File 
"/usr/share/rhn/osad/jabber_lib.py", line 886, in auth\n
self.SendAndWaitForResponse(auth_set_iq)\n  File 
"/usr/lib/python2.4/site-packages/jabber/jabber.py", line 401, in 
SendAndWaitForResponse\nreturn self.waitForResponse(ID,timeout)\n  File 
"/usr/share/rhn/osad/jabber_lib.py", line 1157, in waitForResponse\nraise 
JabberQualifiedError(self.lastErrCode, self.lastErr)\nJabberQualifiedError: 
\n')


jabberd-2.0s10-3.42.el5, jabberd-selinux-1.4.8-1.el5 and 
spacewalk-setup-jabberd-1.0.1-1.el5 are installed. SELinux is disabled.

Any help with this problem would be appreciated. Thanks!


Trevor T. Kates
CONFIDENTIALITY NOTICE:  This electronic message contains
information which may be legally confidential and or privileged and
does not in any case represent a firm ENERGY COMMODITY bid or offer
relating thereto which binds the sender without an additional
express written confirmation to that effect.  The information is
intended solely for the individual or entity named above and access
by anyone else is unauthorized.  If you are not the intended
recipient, any disclosure, copying, distribution, or use of the
contents of this information is prohibited and may be unlawful.  If
you have received this electronic transmission in error, please
reply immediately to the sender that you have received the message
in error, and delete it.  Thank you.

___
Spacewalk-list mailing list
Spacewalk-list@redhat.com
https://www.redhat.com/mailman/listinfo/spacewalk-list