[Spacewalk-list] Issue osa-dispatcher and Jabber with spacewalk

Romain FERRARI romain.ferrari at thalesgroup.com
Mon May 18 12:42:37 UTC 2009


Hi,

I have an issue with my Spacewalk server about osa-dispatcher and
jabber. I keep getting this error and of course my dispatcher won't work :

    2009/05/18 14:11:52 +02:00 6410 0.0.0.0: osad/jabber_lib.__init__
    2009/05/18 14:11:52 +02:00 6410 0.0.0.0:
    osad/jabber_lib.connect('ERROR', 'Server did not return a <features
    /> stanza')
    2009/05/18 14:11:52 +02:00 6410 0.0.0.0:
    osad/jabber_lib.print_message('SSLError',)
    2009/05/18 14:11:52 +02:00 6410 0.0.0.0:
    osad/jabber_lib.print_message('Could not connect to jabber server',
    'spacewalk.example.com')
    2009/05/18 14:11:52 +02:00 6410 0.0.0.0:
    osad/jabber_lib.setup_connection('Could not connect to any jabber
    server',)
    2009/05/18 14:11:52 +02:00 6410 0.0.0.0:
    osad/jabber_lib.main('Unable to connect to jabber servers, sleeping
    10 seconds',)


My SSL certificate is correctly set (correct FQDN I mean). Here is my
/etc/rhn/rhn.conf file

    [root at spacewalk]# cat /etc/rhn/rhn.conf
    traceback_mail = foo at example.com
    mount_point = /var/repo/satellite
    kickstart_mount_point = /var/repo/satellite

    server.satellite.rhn_parent =
    server.satellite.http_proxy =
    server.satellite.http_proxy_username =
    server.satellite.http_proxy_password =
    server.satellite.ca_chain = /usr/share/rhn/RHNS-CA-CERT

    default_db = spacewalk/spacewalk at xe

    server.nls_lang = english.AL32UTF8

    hibernate.connection.username=spacewalk
    hibernate.connection.password=spacewalk
    hibernate.connection.url=jdbc:oracle:thin:@localhost:1521:xe

    web.satellite = 1
    web.satellite_install =
    web.debug_disable_database = 0

    web.session_swap_secret_1 = 2de489bbaa7121b45f631a2d29f64973
    web.session_swap_secret_2 = 4b97a3a2af3a4731098077ae654fa103
    web.session_swap_secret_3 = d45b671b492f194593a427727ffda3ab
    web.session_swap_secret_4 = eb19b44fdf60cd2934a766f2afe83fd2

    session_secret_1 = 12dcebbd46f26fb6b54d2a75f8f467c1
    session_secret_2 = c6c57a530d686a61ffd1ce2cce9a6c53
    session_secret_3 = df21a364e06691261fe6e8a872e7bdc7
    session_secret_4 = e3c41314b646bc839af77a300187d6be

    server.secret_key = 302f03b76d1ed49c13ce730ad96a1070

    encrypted_passwords = 1

    web.param_cleansers = RHN::Cleansers->cleanse
    web.base_acls = RHN::Access

    #labels for the RHN::TokenGen code
    web.local_token_gen  = RHN::TokenGen::Local

    web.restrict_mail_domains =

    web.ssl_available = 1

    web.is_monitoring_backend =
    web.is_monitoring_scout =

    # OSA configuration #

    server.jabber_server = spacewalk.example.com
    osa-dispatcher.jabber_server = spacewalk.example.com

    # set up SSL on the dispatcher
    osa-dispatcher.osa_ssl_cert =/var/www/html/pub/RHN-ORG-TRUSTED-SSL-CERT

    # set up a username and password for the dispatcher to connect to the
    # jabber network

    osa-dispatcher.jabber_username = rhn-dispatcher-sat
    osa-dispatcher.jabber_password = rhn-dispatcher-c55468

    # Enable Solaris support

    web.enable_solaris_support =

    # see taskomatic.default_tasks for the default tasks
    # additional taskomatic tasks
    taskomatic.tasks =
 
com.redhat.rhn.taskomatic.task.CleanCurrentAlerts,com.redhat.rhn.taskomatic.task.SynchProbeState,com.redhat.rhn.taskomatic.task.SatelliteCertificateCheck
 
taskomatic.com.redhat.rhn.taskomatic.task.SatelliteCertificateCheck.schedule
    = 0 0 23 ? * *

    # force removing entitlements from systems when modifying multiorg
    entitlements
    # below the current usgage amount.
    web.force_unentitlement=0


    #option generated from rhn-config-satellite.pl
    disconnected=1

    #Authentication
    pam_auth_service = rhn-satellite

My c2s.xml file is also correctly configured. Also my 
RHN-ORG-TRUSTED-SSL-CERT is self-signed. I thought I should mentioned it.

I don't know what to do, I'm stuck for almost 3 weeks with this 
situation. Please someone help me, I'm really desperate !





More information about the Spacewalk-list mailing list