[OPEN-ILS-DEV] OpenSRF on Fedora 9: problem resolved

Wiktor Rzeczkowski rzeczkow at mcmaster.ca
Tue Apr 14 12:16:55 EDT 2009


OpenSRF services could not register with the router.

Either the services or ejabberd (or both) could be blamed for this:

- the services - because they were sending registration messages with an 
empty 'from' field

- ejabberd - because it was closing connections upon reception of a 
message with an empty 'from' field

A solution could be to fix the OpenSRF services code (for a test I fixed 
the perl services code and the perl services were then functional) or to 
fix ejabberd, which I did and have now a fully functional system.

I fixed ejabberd in Fedora 9 by replacing the current version of ejabberd 
with an older one. This resolved the problem because in the older version 
(and in other older versions, such as those used even in the newest Debian 
5) the "from" field is not checked and connections are not being closed as 
a result. The most recent ejabberd version that was working in my testing 
was ejabberd-2.0.2-3 (and this is the one I am using now).

The OpenSRF problem will likely appear in installations on platforms other 
then Fedora 9 (including Debian, Ubuntu, etc.) when they start to 
incorporate newer versions of ejabberd (unless OpenSRF is fixed first).


Wiktor Rzeczkowski
McMaster University


On Tue, 14 Apr 2009, Mike Rylander wrote:

> On Mon, Apr 13, 2009 at 10:45 PM, Wiktor Rzeczkowski
> <rzeczkow at mcmaster.ca> wrote:
>>
>> When installed on Fedora 9 OpenSRF is not functional: the perl listener
>> services use all the cpu power available indefinitely but do not provide any
>> service; the c-services do not start at all.
>>
>> The problem has now been resolved.
>>
>> I am just mentioning this here because I did not find any reference to
>> Fedora 9 nor to such a problem on the list and there may be no interest.
>
> What was the issue (not just the symptoms) and how was it resolved?
>
> -- 
> Mike Rylander
> | VP, Research and Design
> | Equinox Software, Inc. / The Evergreen Experts
> | phone:  1-877-OPEN-ILS (673-6457)
> | email:  miker at esilibrary.com
> | web:  http://www.esilibrary.com
>


More information about the Open-ils-dev mailing list