[OPEN-ILS-GENERAL] Debugging OpenSRF gateway problem on multi-server setup (was: (no subject))

Dan Scott dan at coffeecode.net
Sat Jun 25 18:06:23 EDT 2011


Hi Bruce!

On Fri, Jun 17, 2011 at 12:42:01PM -0400, Bruce Johnson wrote:
> I was able to create an Apache server that is running Evergreen and
> attaches into a separate PostgreSQL server. This implementation works
> fine but when I create another Evergreen server and attempt to move
> services from the Apache server to the new Evergreen server I get an
> error message when I attempt to log in (see below). So I checked the
> gateway log on the Apache server and I am receiving Jabber errors (see
> below) so I am assuming that I have not configured the jabber domains
> correctly or have not granted permissions somewhere. What is the next
> step in troubleshooting this issue? Any help would be greatly
> appreciated.

It's great to hear from you on the list - but I'm sorry you didn't get a
response earlier than this. A few suggestions for future posts: 

  * it's always a good idea to have a specific subject; I think I
    skipped over this originally because of the "(no subject)" line

  * for technical problems like this, the "Technical Discussion" mailing
    list is probably a better choice in the future (see
    http://evergreen-ils.org/listserv.php near the bottom)

  * use plain text instead of screen shots when you attach log
    files, it's a little easier to deal with on mail clients like mutt or
    mobile devices :)

Getting to the actual technical matter, I don't recognize that set of
errors immediately, but clearly something is configured in a way that
OpenSRF doesn't expect. If we figure out what went wrong, maybe we can
teach OpenSRF to throw a more helpful error message.

It would be really helpful if you can post a concrete description of
your server set up? Name the servers and indicate where ejabberd,
memcached, and Apache are running, and if at all possible post your
password-sanitized versions of:

* Your opensrf_core.xml configuration (public and private server names)
* Your opensrf.xml configuration (in particular, which apps are running
* on which servers)
* Your eg_vhost.conf file (from the Apache configuration)

It would be good to see your /etc/hosts entries for each server as well.


More information about the Open-ils-general mailing list