Starting Spacewalk osa-dispatcher Shows Error "Not able to Reconnect ERROR: unhandled exception occurred: (can't write str to text stream)." (Doc ID 2295013.1)

Last updated on AUGUST 10, 2017

Applies to:

Linux OS - Version Oracle Linux 5.9 with Unbreakable Enterprise Kernel [2.6.39] and later
Linux x86-64

Symptoms

While starting the spacewalk service, the following error is shown when starting the osa-dispatcher service

# /usr/sbin/spacewalk-service start
Starting spacewalk services...
Initializing jabberd processes ...

Starting router: [ OK ]
Starting sm: [ OK ]
Starting c2s: [ OK ]
Starting s2s: [ OK ]
Starting tomcat6: [ OK ]

Waiting for tomcat to be ready ...
Starting httpd: [ OK ]
Starting osa-dispatcher: Spacewalk 3923 2017/07/24 23:05:16 -04:00: ('Not able to reconnect - See https://access.redhat.com/solutions/45332 for possible solutions.\n',)
Spacewalk 3923 2017/07/24 23:05:16 -04:00: ('Error caught:',)

ERROR: unhandled exception occurred: (can't write str to text stream).
[FAILED]
Starting rhn-search...
Starting cobbler daemon: [ OK ]
Starting RHN Taskomatic...
Done.
You have new mail in /var/spool/mail/root

 

Changes

 Hostname changed recently 

Cause

Sign In with your My Oracle Support account

Don't have a My Oracle Support account? Click to get started

My Oracle Support provides customers with access to over a
Million Knowledge Articles and hundreds of Community platforms