[OPEN-ILS-DEV] Problems starting the server...

Don McMorris don.mcmorris at gmail.com
Mon May 7 17:17:20 EDT 2007


Based on my interpretation of the 21:08:38 error, it seems that it's
able to connect to the socket for the jabber server, but after
connection it has an issue.  The first thing I would check would be to
ensure that ejabberd is running and is the program on port 5222.  A
quick and dirty way to do this would be to run `netstat -anp | grep
5222` from a (virtual) terminal/console.  If you don't have a result,
make sure that ejabberd (or whatever your jabber server is) is started
correctly and is configured to bind to port 5222.

If there IS a result, make sure it is the jabber server and not something else.

Assuming that the jabber server is on 5222, my next step would be to
check what users' are registered.  You'd have to consult the
documentation for your particular jserver.  OpenSRF requires at least
2 accounts... "router" and a second one (configured in your
OpenSRF/OpenILS configuration files).  Make sure the usernames and
passwords in both the jserver config and the OpenSRF/OpenILS configs
match.

I think the issue is with authentication, but it never hurts to check
to ensure the right program is on the right port! ;)

If you need more help, don't hesitate to ask!
--Don

On 5/7/07, Hennie Rautenbach <hennie at sabinet.co.za> wrote:
> More information:
>
> Contents of osrfsys.log:
>
> opensrf 2007-05-07 21:08:38 [INFO:19181:osrf_system.c:195:]
> Bootstrapping system with domain leo.sabinet.co.za, port 5222, and
> unixpath (null)
> opensrf 2007-05-07 21:08:38 [WARN:19181:transport_session.c:382:]
> Received <stream:error> message from Jabber server
> opensrf 2007-05-07 21:08:38 [ERR :19181:osrf_system.c:67:] Unable to
> bootstrap
>
>
>
> Hennie Rautenbach wrote:
> > I can't be too far from getting the server running:
> >
> > opensrf at leo:~$ ./start.sh
> > Starting OpenSRF Router
> > !!!! Unable to connect router to jabber server leo.sabinet.co.za...
> > exitingStarting OpenSRF Perl
> >        (in cleanup) Dying 19177 at
> > /openils/lib/perl5/OpenSRF/UnixServer.pm line 21
> >
> > OpenSRF::UnixServer::DESTROY('OpenSRF::UnixServer=HASH(0x8b30574)')
> > called at /openils/lib/perl5/OpenSRF/System.pm line 317
> >        eval {...} called at /openils/lib/perl5/OpenSRF/System.pm line 317
> >
> > OpenSRF::System::launch_settings('OpenSRF::System=HASH(0x814ec28)')
> > called at /openils/lib/perl5/OpenSRF/System.pm line 159
> >        OpenSRF::System::bootstrap('OpenSRF::System') called at -e line 1
> >
> >  * ! EXCEPTION ! *
> > TYPE: OpenSRF::EX::Jabber
> > Mess: Jabber Exception
> > Mess:  ** Unable to connect to Jabber server
> > Loc.: 522 OpenSRF::Transport::SlimJabber::Client
> > Loc.: /openils/lib/perl5/OpenSRF/Transport/SlimJabber/Client.pm
> > Time: Mon May  7 21:08:35 2007
> > Starting OpenSRF C
> > Loading OpenSRF host leo.sabinet.co.za with bootstrap config
> > /openils/conf/opensrf_core.xml and config context opensrf
> >
> > >end
> >
> > Any idea what I have omitted / broken ?
> >
> > Regards,
> >
> > Hennie
> >
>
>


More information about the Open-ils-dev mailing list