[OPEN-ILS-DEV] Startup Help

Cory Fuchs cory.fuchs at ronank12.edu
Thu Mar 15 17:09:16 EDT 2007


It was a problem in my bootstrap.conf I had an extra space on the
username line.  Thank You Bill.

Now I am getting this error. 

------------------------------------------------------------------------
--
/etc/init.d/opensrf start
 * Starting OpenSRF ...
su: Authentication service cannot retrieve authentication info.
(Ignored)
Starting OpenSRF Router
!!!! Unable to connect router to jabber server localhost...
exitingStarting OpenSRF Perl
Starting OpenSRF C
Loading OpenSRF host libsrv with bootstrap config
/etc/openils/opensrf_core.xml and config context opensrf
[ ok ]
libsrv ~ #      (in cleanup) Dying 8518 at
/usr/lib/perl5/vendor_perl/5.8.8/OpenSRF/UnixServer.pm line 21
 
OpenSRF::UnixServer::DESTROY('OpenSRF::UnixServer=HASH(0x89c9d10)')
called at /usr/lib/perl5/vendor_perl/5.8.8/OpenSRF/System.pm line 317
        eval {...} called at
/usr/lib/perl5/vendor_perl/5.8.8/OpenSRF/System.pm line 317
 
OpenSRF::System::launch_settings('OpenSRF::System=HASH(0x81421c8)')
called at /usr/lib/perl5/vendor_perl/5.8.8/OpenSRF/System.pm line 159
        OpenSRF::System::bootstrap('OpenSRF::System') called at -e line
1

  * ! EXCEPTION ! *
TYPE: OpenSRF::EX::Jabber
Mess: Jabber Exception
Mess:  Could not connect to Jabber server: Invalid argument
Loc.: 495 OpenSRF::Transport::SlimJabber::Client
Loc.:
/usr/lib/perl5/vendor_perl/5.8.8/OpenSRF/Transport/SlimJabber/Client.pm
Time: Thu Mar 15 13:36:27 2007
------------------------------------------------------------------------
----

I am reading that I still have something wrong with the config.  Do you
have a favorite jabber client I can test the config?  I can telnet into
port 5222 so I know it is listening.  Any other way of testing my
config?


Cory Fuchs






-----Original Message-----
From: open-ils-dev-bounces at list.georgialibraries.org
[mailto:open-ils-dev-bounces at list.georgialibraries.org] On Behalf Of Don
McMorris
Sent: Thursday, March 15, 2007 2:48 PM
To: open-ils-dev at list.georgialibraries.org
Subject: Re: [OPEN-ILS-DEV] Startup Help

As a diagnostic measure, you may also want to consider connecting to
your jabber server with a jabber client, just to ensure everything's
working right at the jabberd.

I don't know how many times I've tried to fix issues like this when
all along it was simply an error in the server (such as... I forgot to
start it! ;)).

Good Luck!
--Don McMorris

On 3/15/07, Bill Erickson <billserickson at gmail.com> wrote:
>
>
>
> On 3/15/07, Cory Fuchs <cory.fuchs at ronank12.edu> wrote:
> >
> >
> >
> >
> > Hello Everyone,
> >
> >
> >
> > I have gotten further in my installation.  I trying to start opensrf
and I
> am getting the following errors.
> >
> >
> >
> >
>
------------------------------------------------------------------------
------------------------------------------------------------------------
------------------------------------
> >
> >
> >
> > /etc/init.d/opensrf start
> >
> >  * Starting OpenSRF ...
> >
> > su: Authentication service cannot retrieve authentication info.
> >
> > (Ignored)
> >
> > Starting OpenSRF Router
> >
> > !!!! Unable to connect router to jabber server localhost...
> exitingStarting OpenSRF Perl
> >
> >         (in cleanup) Dying 7698 at
> /usr/lib/perl5/vendor_perl/5.8.8/OpenSRF/UnixServer.pm line
> 21
> >
> >
> OpenSRF::UnixServer::DESTROY('OpenSRF::UnixServer=HASH(0x89c9d18)')
> called at
> /usr/lib/perl5/vendor_perl/5.8.8/OpenSRF/System.pm line 317
> >
> >         eval {...} called at
> /usr/lib/perl5/vendor_perl/5.8.8/OpenSRF/System.pm line 317
> >
> >
> OpenSRF::System::launch_settings('OpenSRF::System=HASH(0x81421c8)')
> called at
> /usr/lib/perl5/vendor_perl/5.8.8/OpenSRF/System.pm line 159
> >
> >         OpenSRF::System::bootstrap('OpenSRF::System')
> called at -e line 1
> >
> >
> >
> > Use of uninitialized value in concatenation (.) or string at
>
/usr/lib/perl5/vendor_perl/5.8.8/OpenSRF/Transport/SlimJabber/Inbound.pm
> line 52.
> >
> > Use of uninitialized value in concatenation (.) or string at
>
/usr/lib/perl5/vendor_perl/5.8.8/OpenSRF/Transport/SlimJabber/Inbound.pm
> line 52.
> >
> > Use of uninitialized value in concatenation (.) or string at
>
/usr/lib/perl5/vendor_perl/5.8.8/OpenSRF/Transport/SlimJabber/Client.pm
> line 455.
> >
> > Use of uninitialized value in concatenation (.) or string at
>
/usr/lib/perl5/vendor_perl/5.8.8/OpenSRF/Transport/SlimJabber/Client.pm
> line 465.
> >
> > Use of uninitialized value in concatenation (.) or string at
>
/usr/lib/perl5/vendor_perl/5.8.8/OpenSRF/Transport/SlimJabber/Client.pm
> line 465.
> >
> > Use of uninitialized value in concatenation (.) or string at
>
/usr/lib/perl5/vendor_perl/5.8.8/OpenSRF/Transport/SlimJabber/Client.pm
> line 465.
> >
> > Use of uninitialized value in pattern match (m//) at
>
/usr/lib/perl5/vendor_perl/5.8.8/OpenSRF/Transport/SlimJabber/Client.pm
> line 478.
> >
> >   * ! EXCEPTION ! *
> >
> > TYPE: OpenSRF::EX::Config
> >
> > Mess: Config Exception
> >
> > Mess: JPeer could not load all necesarry values from config
> >
> > Loc.: 71 OpenSRF::Transport::SlimJabber::PeerConnection
> >
> > Loc.:
>
/usr/lib/perl5/vendor_perl/5.8.8/OpenSRF/Transport/SlimJabber/PeerConnec
tion.pm
> >
> > Time: Thu Mar 15 11:21:54 2007
> >
> > Use of uninitialized value in concatenation (.) or string at
>
/usr/lib/perl5/vendor_perl/5.8.8/OpenSRF/Transport/SlimJabber/Client.pm
> line 489.
> >
> > Use of uninitialized value in concatenation (.) or string at
>
/usr/lib/perl5/vendor_perl/5.8.8/OpenSRF/Transport/SlimJabber/Client.pm
> line 489.
> >
> > Use of uninitialized value in concatenation (.) or string at
>
/usr/lib/perl5/vendor_perl/5.8.8/OpenSRF/Transport/SlimJabber/Client.pm
> line 489.
> >
> > Use of uninitialized value in concatenation (.) or string at
>
/usr/lib/perl5/vendor_perl/5.8.8/OpenSRF/Transport/SlimJabber/Client.pm
> line 491.
> >
> > Use of uninitialized value in concatenation (.) or string at
>
/usr/lib/perl5/vendor_perl/5.8.8/OpenSRF/Transport/SlimJabber/Client.pm
> line 491.
> >
> > Use of uninitialized value in concatenation (.) or string at
>
/usr/lib/perl5/vendor_perl/5.8.8/OpenSRF/Transport/SlimJabber/Client.pm
> line 491.
>
> From the looks of the error (Mess: JPeer could not load all necessary
values
> from config), it appears that jabber username, password, host, and/or
port
> is not correctly defined in bootstrap.conf.  Bootstrap.conf has
settings
> like the following:
>
> list:domains  = localhost
> username = jabber_user
> passwd = jabber_password
> port = 5222
>
> Apart from making sure the values are set (and are sane), make sure
there
> are no trailing spaces after any of the settings, because spaces can
become
> part of the value in some case.
>
> Hope this helps,
>
> -bill
>
>
>
>
> --
> Bill Erickson
> PINES Systems Developer
> Georgia Public Library Service
> billserickson at gmail.com
> http://open-ils.org


More information about the Open-ils-dev mailing list