[OPEN-ILS-DEV] Startup Help

Bill Erickson billserickson at gmail.com
Thu Mar 22 21:11:58 EDT 2007


On 3/22/07, Cory Fuchs < cory.fuchs at ronank12.edu > wrote:
>
>  I have attached all the log.
>

Aha!

You mentioned this change a while back, actually, and the sirens didn't go
off for some reason.

opensrf_core.xml in the "router" section:

        <transport>
            <!-- jabber server are we connecting to -->
            <server>localhost</server>
            <port>5222</port>
            <!-- do not change this -->
            <username>mylogin</username>          <------ ***
            <password>mypassword</password>
            <!-- router's jabber resource -->
            <!-- do not change this -->
            <resource>router</resource>
            <connect_timeout>10</connect_timeout>
            <max_reconnect_attempts>5</max_reconnect_attempts>
        </transport>


The "username" setting (jabber login) for the router is special.  It's how
all of the other services find each other.

   <!-- do not change this -->
   <username>mylogin</username>

Technically, you can change this, but you'll need to update some other
configuration information to match the change.  Any instance of a
"router_name" setting in bootstrap.conf and opensrf_core.xml will need to be
changed to match the router's username.

Hope this helps and sorry we didn't catch it earlier.

-bill

--------------------
>
> grep -ir err /var/log/openils/
>
> /var/log/openils/osrfsys.log:opensrf 2007-03-22 15:15:16
> [INFO:28344:transport_session.c:406:] Received <error> message with type
> cancel and code 404
>
> /var/log/openils/osrfsys.log:opensrf 2007-03-22 15:16:16 [ERR
> :28344:osrf_settings.c:41:] Unable to load config for host libsrv
>
> /var/log/openils/opensrf.settings_unix.log:Mess: Session Error
>
> --------------------
>
>
>
> I did fix the IDL file setting also.
>
>
>
> Thank you for all your help.
>
>
>
> Cory Fuchs
>
>
>
>
>
> *From:* open-ils-dev-bounces at list.georgialibraries.org [mailto:
> open-ils-dev-bounces at list.georgialibraries.org] *On Behalf Of *Bill
> Erickson
> *Sent:* Wednesday, March 21, 2007 8:42 AM
> *To:* open-ils-dev at list.georgialibraries.org
> *Subject:* Re: [OPEN-ILS-DEV] Startup Help
>
>
>
>
>
> On 3/20/07, *Cory Fuchs* <cory.fuchs at ronank12.edu > wrote:
>
> Hello Everyone,
>
>
> -------------------------------------------------------------------------------
>
> ps ax | grep -i opensrf | grep settings
>
> 20860 pts/2    S      0:00 OpenSRF master [opensrf.settings]
>
> 20863 pts/2    S      0:00 OpenSRF drone [opensrf.settings]
>
> 20864 pts/2    S      0:00 OpenSRF drone [opensrf.settings]
>
> 20865 pts/2    S      0:00 OpenSRF drone [opensrf.settings]
>
> 20866 pts/2    S      0:00 OpenSRF drone [opensrf.settings]
>
> 20867 pts/2    S      0:00 OpenSRF listener [opensrf.settings]
>
> 20873 pts/2    S      0:00 OpenSRF drone [opensrf.settings]
>
> libsrv bin # /etc/init.d/opensrf status
>
>  * status:  started
>
> libsrv bin # /etc/init.d/chopchop status
>
>  * status:  started
>
> libsrv bin # /etc/init.d/memcached status
>
>  * status:  started
>
> libsrv bin # /etc/init.d/apache2 status
>
>  * status:  started
>
>
> -------------------------------------------------------------------------------
>
>
>
> Thank you for all your help.
>
>
>
> Cory Fuchs
>
>
> The 'ps' output looks good.  The Perl services have a "master",
> "listener", and 1 or more "drone" processes.
>
> I was looking through the configs and I noticed the IDL setting near the
> top of opensrf.xml:
>
> <IDL>/openils/conf/fm_IDL.xml</IDL>
>
> It appears from most of the other configs that you are not using the
> /openils directory for configs, etc.  Does /openils/conf/fm_IDL.xml exist?
>
> However, that doesn't explain why the settings server is not connected to
> jabber (and registered with the router), because the settings server does
> not require the IDL.
>
> Here's what I would do,
>
>    1. Stop Evergreen
>    2. Remove all Evergreen related log files
>    3. Setup all configs for local logging instead of syslog (logfile
>    settings in bootstrap.conf and opensrf_core.xml).
>    4. Make sure all log levels are at DEBUG level (loglevel 4 in
>    opensrf_core.xml)
>    5. Start up the system and do nothing else.
>    6. grep all the logs for ERR or WARN and see if anything looks
>    obviously wrong.  Otherwise, bundle up all the logs and send 'em on to the
>    list.  There has to be an error /somewhere/ to explain why
>    opensrf.settings is not connected to jabber.
>
>
> -bill
>
>
> --
> Bill Erickson
> PINES Systems Developer
> Georgia Public Library Service
> billserickson at gmail.com
> http://open-ils.org
>
>


-- 
Bill Erickson
PINES Systems Developer
Georgia Public Library Service
billserickson at gmail.com
http://open-ils.org
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://list.georgialibraries.org/pipermail/open-ils-dev/attachments/20070322/4ce2541a/attachment.html


More information about the Open-ils-dev mailing list