Hi,

I have installed Evergreen server on Ubuntu 7.10 and have followed all the 
instructions on 
http://open-ils.org/dokuwiki/doku.php?id=installing_evergreen_1.2_on_ubuntu_7.10.
  I have a small lab with four machines whic dual boot Windows Vista and Linux 
Unbuntu 7.10.  This is a exercise for me but I'd like to demo to the local 
library.

Issue #1.
When I run instruction 2 (i) under "Starting Evergreen"  I get the following 
error message.

[EMAIL PROTECTED]:/home/thomas# su opensrf
[EMAIL PROTECTED]:/home/thomas$ osrf_ctl.sh -c /openils/conf/opensrf_core.xml 
-a start_router
Starting OpenSRF Router
!!!! Unable to connect router to jabber server localhost... exiting


Issue #2
Quote from instruction document: Instruction 17 (ii)
Change the name of the child element of the  element in opensrf.xml from ... to 
match the fully-qualified domain name of your server. For example, if the 
fully-qualified domain name of your server is “evergreen.rocks.com”:

I have run the instruction> perl -MNet::Domain -e 'print Net::Domain::hostfqdn()

but get this output:
[EMAIL 
PROTECTED]:/home/opensrf/Evergreen-ILS-1.2.2.3/Open-ILS/src/support-scripts# 
perl -MNet::Domain -e 'print Net::Domain::hostfqdn()
>
>What do you think  the problem  might be?


Issue #3
  I have executed the file Open-ILS/src/support-scripts/settings-tester.pl and 
haveattached the results for your analysis.  Teh file is called 
"settings-tester-results".

Issue  #4
Quote from instruction document:Section "Testing connections to Evergreen"
" Once you have installed and started Evergreen, test your connection to 
Evergreen via srfsh: "

question:  Must I run this as root, as opensrf or as [EMAIL PROTECTED]:/$ ?


Issue #5:
I am not clear on instruction # 19.
Copy /openils/conf/srfsh.xml.example to .srfsh.xml in the home directory of 
each user you want to use to run the srfsh command line client for testing 
OpenSRF, and edit .srfsh.xml as follows: "

Must this file be copied to the /home/opensrf directory?
Issue #6 Attachments
I have also included the following files as attachments: opensrf.xml, 
opensrf_core.xml

I would be grateful for any help I could get.

Thomas


_________________________________________________________________
Discover the new Windows Vista
http://search.msn.com/results.aspx?q=windows+vista&mkt=en-US&form=QBRE

Attachment: settings-tester-results
Description: Binary data

<?xml version='1.0'?>

<!-- 
Example opensrf config file for OpenILS
-->

<opensrf version='0.0.2'>

    <default>
	    
        <dirs>
            <log>/openils/var/log</log> <!-- unix::server log files -->
            <sock>/openils/var/sock</sock> <!-- unix::server sock files -->
            <pid>/openils/var/pid</pid>
            <xsl>/openils/var/xsl</xsl>
            <script>/openils/var</script>
            <script_lib>/openils/var</script_lib>
        </dirs>

	<!-- global data visibility settings -->
        <share>
		<user>
        		<!-- Set to "true" to require patron opt-in for foreign (non-home_ou) transactions -->
			<opt_in>false</opt_in>
		</user>
	</share>

        <IDL>/openils/conf/fm_IDL.xml</IDL> <!-- top level IDL file -->

        <server_type>prefork</server_type> <!-- net::server type -->

        <ils_events>/openils/var/data/ils_events.xml</ils_events> <!-- ILS events description file -->
        
        <email_notify>
            <!-- global email notification settings -->
            <template>/openils/var/data/hold_notification_template.example</template>
            <smtp_server>localhost</smtp_server>

            <!-- in most cases, this is overridden by location 
                specific config settings.  this is just the default -->
            <sender_address>[EMAIL PROTECTED]</sender_address>
        </email_notify>


        <reporter>
            <!--
                Settings for the reporter daemon process 
            -->
            <setup>
                <base_uri>https://localhost/reporter/</base_uri>
                <database>
                    <driver>Pg</driver>
                    <host>localhost</host>
                    <port>5432</port>
                    <db>evergreen</db>
                    <user>evergreen</user>
                    <password>evergreen</password>
                </database>
                <files>
                    <!-- successful report outputs go here -->
                    <output_base>/openils/var/web/reporter</output_base>
                    <success_template>/openils/var/data/report-success</success_template>
                    <fail_template>/openils/var/data/report-fail</fail_template>
                </files>
            </setup>
        </reporter>



        <xml-rpc>
            <!-- XML-RPC gateway.  Do NOT publish unprotected services here -->
            <allowed_services>
                <!-- list of published services -->
                <service>opensrf.math</service>
                <service>opensrf.dbmath</service>
                <service>open-ils.cat</service>
                <service>open-ils.search</service>
                <service>open-ils.circ</service>
                <service>open-ils.actor</service>
                <service>open-ils.auth</service>
                <service>open-ils.collections</service>
            </allowed_services>
        </xml-rpc>


        <z3950>
            <default>oclc</default>
            <services>

                <loc>
                    <!-- LoC does not require username/password -->
                    <name>loc</name>
                    <host>z3950.loc.gov</host>
                    <port>7090</port>
                    <db>Voyager</db>
                    <!-- fetch the full record with no holdings. FI is the default -->
                    <record_format>FI</record_format> 
                    <attrs>
                        <tcn><code>12</code><format>1</format></tcn>
                        <isbn><code>7</code><format>6</format></isbn>
                        <lccn><code>9</code><format>1</format></lccn>
                        <author><code>1003</code><format>6</format></author>
                        <title><code>4</code><format>6</format></title>
                        <issn><code>8</code><format>1</format></issn>
                        <publisher><code>1018</code><format>6</format></publisher>
                        <pubdate><code>31</code><format>1</format></pubdate>
                        <item_type><code>1001</code><format>1</format></item_type>
                    </attrs>
                </loc>

                <oclc>
                    <!-- Z3950 settings for OCLC.  Note that OCLC requires username/password -->
                    <host>zcat.oclc.org</host>
                    <port>210</port>
                    <db>OLUCWorldCat</db>
                    <attrs>
                        <!--
                            These are directly from the Bib-1 Attribute Set
                            http://www.loc.gov/z3950/agency/defns/bib1.html
                            <code> is the "use attribute", <format> is the "structure attribute"
                            This just puts some friendly names on the data.
                        -->
                        <tcn><code>12</code><format>1</format></tcn>
                        <isbn><code>7</code><format>6</format></isbn>
                        <lccn><code>9</code><format>1</format></lccn>
                        <author><code>1003</code><format>6</format></author>
                        <title><code>4</code><format>6</format></title>
                        <issn><code>8</code><format>1</format></issn>
                        <publisher><code>1018</code><format>6</format></publisher>
                        <pubdate><code>31</code><format>1</format></pubdate>
                        <item_type><code>1001</code><format>1</format></item_type>
                    </attrs>
                </oclc>

            </services>
        </z3950>

        <added_content>

            <!-- load the Amazon added content module -->
            <module>OpenILS::WWW::AddedContent::Amazon</module>
            <!-- Base URL for Amazon added content fetching.  This URL may
                need to be shortened when new (read: non-image) content 
                fetching capabilities are added -->
            <base_url>http://images.amazon.com/images/P/</base_url>

            <!-- Max number of seconds to wait for an added content request to 
                return data.  Data not returned within the timeout is considered
                a failure -->
            <timeout>4</timeout>

            <!-- After added content lookups have been disabled due to too many
                lookup failures, this is the amount of time to wait before
                we try again -->
            <retry_timeout>600</retry_timeout>

            <!-- maximum number of consecutive lookup errors a given process can 
                have before added content lookups are disabled for everyone -->
            <max_errors>4</max_errors>

            <!-- If a userid is required to access the added content.. -->
            <userid>MY_USER_ID</userid>

            <!--
                You can add free-form settings here and they will be accessible
                within the added content module
            -->

        </added_content>


        <!-- no apps are enabled globally by default -->
        <activeapps/> 
        
        <cache>
            <!-- memcache servers -->
            <global>
                <servers>
                    <server>localhost:11211</server>
                </servers>
                <max_cache_time>86400</max_cache_time>
            </global>
        </cache>

        <apps>
            <!-- Authentication server -->
            <open-ils.auth>

                <!-- how long to wait between stateful requests before the child process re-joins the pool -->
                <keepalive>5</keepalive>

                <!-- true if this service support stateless requests -->
                <stateless>1</stateless>

                <!-- implementation language -->
                <language>c</language>

                <!-- library to plugin -->
                <implementation>oils_auth.so</implementation>

                <!-- maximum required opensrf requests within a stateful connection -->
                <max_requests>93</max_requests>

                <unix_config>
                    <!-- maximum number of top level requests coming to 
                        this child before the child is recycled -->
                    <max_requests>1000</max_requests>
                    <!-- min children to fork -->
                    <min_children>1</min_children>
                    <!-- max possible children to fork -->
                    <max_children>15</max_children>

                    <!-- C forking implementation does not support 
                        min/max idle children, but may in the future -->

                    <!-- min idle children -->
                    <min_spare_children>1</min_spare_children>
                    <!-- max idle children -->
                    <max_spare_children>5</max_spare_children>

                </unix_config>

                <app_settings>
                    <!-- defined app-specific settings here -->
                    <default_timeout>
                        <!-- default login timeouts based on login type -->
                        <opac>420</opac>
                        <staff>7200</staff>
                        <temp>300</temp>
                    </default_timeout>
                </app_settings>
            </open-ils.auth>


            <!-- Generic search server -->
            <open-ils.search>
                <keepalive>5</keepalive>
                <stateless>1</stateless>
                <language>perl</language>
                <implementation>OpenILS::Application::Search</implementation>
                <max_requests>93</max_requests>
                <unix_config>

                    <!-- the following 3 settings are currently used by Perl services only -->
                    <unix_sock>open-ils.search_unix.sock</unix_sock>
                    <unix_pid>open-ils.search_unix.pid</unix_pid>
                    <unix_log>open-ils.search_unix.log</unix_log>

                    <max_requests>1000</max_requests>
                    <min_children>1</min_children>
                    <max_children>15</max_children>
                    <min_spare_children>1</min_spare_children>
                    <max_spare_children>5</max_spare_children>
                </unix_config>
                <app_settings>
                    <marc_html_xsl>oilsMARC21slim2HTML.xsl</marc_html_xsl>
                    <!-- Default to using staged search -->
                    <use_staged_search>true</use_staged_search>
                    <!-- zip code database file -->
                    <!--<zips_file>/openils/var/data/zips.txt</zips_file>-->
                </app_settings>
            </open-ils.search>

            <!-- server for accessing user info -->
            <open-ils.actor>
                <keepalive>5</keepalive>
                <stateless>1</stateless>
                <language>perl</language>
                <implementation>OpenILS::Application::Actor</implementation>
                <max_requests>93</max_requests>
                <unix_config>
                    <unix_sock>open-ils.actor_unix.sock</unix_sock>
                    <unix_pid>open-ils.actor_unix.pid</unix_pid>
                    <max_requests>1000</max_requests>
                    <unix_log>open-ils.actor_unix.log</unix_log>
                    <min_children>1</min_children>
                    <max_children>15</max_children>
                    <min_spare_children>1</min_spare_children>
                    <max_spare_children>5</max_spare_children>
                </unix_config>
            </open-ils.actor>


            <open-ils.cat>
                <keepalive>5</keepalive>
                <stateless>1</stateless>
                <language>perl</language>
                <implementation>OpenILS::Application::Cat</implementation>
                <max_requests>199</max_requests>
                <unix_config>
                    <unix_sock>open-ils.cat_unix.sock</unix_sock>
                    <unix_pid>open-ils.cat_unix.pid</unix_pid>
                    <max_requests>1000</max_requests>
                    <unix_log>open-ils.cat_unix.log</unix_log>
                    <min_children>1</min_children>
                    <max_children>15</max_children>
                    <min_spare_children>1</min_spare_children>
                    <max_spare_children>5</max_spare_children>
                </unix_config>
                <app_settings>
                    <marctemplates>
                        <K_book>/openils/var/templates/marc/k_book.xml</K_book>
                    </marctemplates>
                </app_settings>
            </open-ils.cat>

            <open-ils.supercat>
                <keepalive>5</keepalive>
                <stateless>1</stateless>
                <language>perl</language>
                <implementation>OpenILS::Application::SuperCat</implementation>
                <max_requests>199</max_requests>
                <unix_config>
                    <unix_sock>open-ils.supercat_unix.sock</unix_sock>
                    <unix_pid>open-ils.supercat_unix.pid</unix_pid>
                    <max_requests>1000</max_requests>
                    <unix_log>open-ils.supercat_unix.log</unix_log>
                    <min_children>1</min_children>
                    <max_children>15</max_children>
                    <min_spare_children>1</min_spare_children>
                    <max_spare_children>5</max_spare_children>
                </unix_config>
            </open-ils.supercat>


            <opensrf.math>
                <keepalive>3</keepalive>
                <stateless>1</stateless>
                <language>c</language>
                <implementation>osrf_math.so</implementation>
                <max_requests>97</max_requests>
                <unix_config>
                    <unix_sock>opensrf.math_unix.sock</unix_sock>
                    <unix_pid>opensrf.math_unix.pid</unix_pid>
                    <max_requests>1000</max_requests>
                    <unix_log>opensrf.math_unix.log</unix_log>
                    <min_children>1</min_children>
                    <max_children>15</max_children>
                    <min_spare_children>1</min_spare_children>
                    <max_spare_children>5</max_spare_children>
                </unix_config>
            </opensrf.math>

            <opensrf.dbmath> 
                <keepalive>3</keepalive>
                <stateless>1</stateless>
                <language>c</language>
                <implementation>osrf_dbmath.so</implementation>
                <max_requests>99</max_requests>
                <unix_config>
                    <max_requests>1000</max_requests>
                    <unix_log>opensrf.dbmath_unix.log</unix_log>
                    <unix_sock>opensrf.dbmath_unix.sock</unix_sock>
                    <unix_pid>opensrf.dbmath_unix.pid</unix_pid>
                    <min_children>1</min_children>
                    <max_children>15</max_children>
                    <min_spare_children>1</min_spare_children> 
                    <max_spare_children>5</max_spare_children>
                </unix_config>
            </opensrf.dbmath>

            <open-ils.penalty>
                <keepalive>3</keepalive>
                <stateless>1</stateless>
                <language>perl</language>
                <implementation>OpenILS::Application::Penalty</implementation>
                <max_requests>99</max_requests>
                <unix_config>
                    <max_requests>1000</max_requests>
                    <unix_log>open-ils.penalty_unix.log</unix_log>
                    <unix_sock>open-ils.penalty_unix.sock</unix_sock>
                    <unix_pid>open-ils.penalty_unix.pid</unix_pid>
                    <min_children>1</min_children>
                    <max_children>15</max_children>
                    <min_spare_children>1</min_spare_children>
                    <max_spare_children>5</max_spare_children>
                </unix_config>
                <app_settings>
                    <patron_penalty>penalty/patron_penalty.js</patron_penalty>
                    <script_path>/openils/var</script_path>
                    <script_path>/openils/var/catalog</script_path>
                </app_settings>
            </open-ils.penalty>

            <open-ils.circ> 
                <keepalive>3</keepalive>
                <stateless>1</stateless>
                <language>perl</language>
                <implementation>OpenILS::Application::Circ</implementation>
                <max_requests>99</max_requests>
                <unix_config>
                    <max_requests>1000</max_requests>
                    <unix_log>open-ils.circ_unix.log</unix_log>
                    <unix_sock>open-ils.circ_unix.sock</unix_sock>
                    <unix_pid>open-ils.circ_unix.pid</unix_pid>
                    <min_children>1</min_children>
                    <max_children>15</max_children>
                    <min_spare_children>1</min_spare_children> 
                    <max_spare_children>5</max_spare_children>
                </unix_config>
                <app_settings>
                    <notify_hold>
                        <email>false</email> <!-- set to true for hold notice emails -->
                    </notify_hold>

                    <!-- circulation policy scripts -->
                    <script_path>/openils/var</script_path>
                    <script_path>/openils/var/catalog</script_path>
                    <scripts> 
                        <circ_permit_patron>circ/circ_permit_patron.js</circ_permit_patron>
                        <circ_permit_copy>circ/circ_permit_copy.js</circ_permit_copy>
                        <circ_duration>circ/circ_duration.js</circ_duration>
                        <circ_recurring_fines>circ/circ_recurring_fines.js</circ_recurring_fines>
                        <circ_max_fines>circ/circ_max_fines.js</circ_max_fines>
                        <circ_permit_renew>circ/circ_permit_renew.js</circ_permit_renew>
                        <circ_permit_hold>circ/circ_permit_hold.js</circ_permit_hold>
                    </scripts>               

                    <circ_modifiers>
                        <mod>art</mod>
                        <mod>atlas</mod>
                        <mod>audiobook</mod>
                        <mod>av</mod>
                        <mod>new-av</mod>
                        <mod>bestseller</mod>
                        <mod>bestsellernh</mod>
                        <mod>book</mod>
                        <mod>cd</mod>
                        <mod>dvd</mod>
                        <mod>dvd-long</mod>
                        <mod>e-book</mod>
                        <mod>equipment</mod>
                        <mod>filmstrip</mod>
                        <mod>kit</mod>
                        <mod>magazine</mod>
                        <mod>map</mod>
                        <mod>microform</mod>
                        <mod>music</mod>
                        <mod>record</mod>
                        <mod>software</mod>
                        <mod>softwrlong</mod>
                        <mod>equip-long</mod>
                        <mod>talking book</mod>
                        <mod>toy</mod>
                        <mod>video</mod>
                        <mod>video-long</mod>
                    </circ_modifiers>

                    <billing_types>
                        <type>Miscellaneous</type>
                        <type>Overdue materials</type>
                        <type>Fee for placing a hold</type>
                        <type>Fee for checking out a book</type>
                        <type>Fee for library card</type>
                        <type>Miscellaneous charges</type>
                        <type>Lost materials</type>
                        <type>Damaged material</type>
                        <type>Overdue Reserves charge</type>
                        <type>Recall overdue</type>
                        <type>Fee for processing lost library materials</type>
                        <type>Fee for sending patron bills to collection agency</type>
                        <type>Fee for interlibrary loan</type>
                        <type>Fee for copies</type>
                        <type>Money advanced to pay for telephone use</type>
                        <type>Deposit fee</type>
                        <type>Fee for disk</type>
                        <type>Fee for faxing</type>
                        <type>Fee for laminating</type>
                        <type>Fee for room cleaning</type>
                        <type>Deposit returned; fee refund</type>
                        <type>Sale items</type>
                        <type>Fee for lost card</type>
                        <type>Long overdue items</type>
                        <type>Lost/Replacement Cassette</type>
                        <type>Returned Check</type>
                    </billing_types>
                </app_settings>
            </open-ils.circ>

            <open-ils.ingest>
                <keepalive>3</keepalive>
                <stateless>1</stateless>
                <implementation>OpenILS::Application::Ingest</implementation>
                <language>perl</language>
                <max_requests>1000000</max_requests>
                <unix_config>
                    <max_requests>1000000</max_requests>
                    <unix_log>open-ils.ingest-unix.log</unix_log>
                    <unix_sock>open-ils.ingest-unix.sock</unix_sock>
                    <unix_pid>open-ils.ingest-unix.pid</unix_pid>
                    <min_children>5</min_children>
                    <max_children>20</max_children>
                    <min_spare_children>2</min_spare_children>
                    <max_spare_children>5</max_spare_children>
                </unix_config>
                <app_settings>
                    <script_path>/openils/var/catalog/</script_path>
                    <script_path>/openils/var/web/opac/common/js/</script_path>
                    <scripts>
                    <biblio_fingerprint>biblio_fingerprint.js</biblio_fingerprint>
                    <biblio_descriptor>biblio_descriptor.js</biblio_descriptor>
                    </scripts>
                </app_settings>
            </open-ils.ingest>

            <open-ils.storage>
                <keepalive>10</keepalive>
                <stateless>1</stateless>
                <language>perl</language>
                <implementation>OpenILS::Application::Storage</implementation>
                <unix_config>
                    <max_requests>1000</max_requests>
                    <unix_log>storage_unix.log</unix_log>
                    <unix_sock>storage_unix.sock</unix_sock>
                    <unix_pid>storage_unix.pid</unix_pid>
                    <min_children>1</min_children>
                    <max_children>10</max_children>
                    <min_spare_children>1</min_spare_children>
                    <max_spare_children>5</max_spare_children>
                </unix_config>
                <app_settings>
                    <script_path>/openils/var/catalog/</script_path>
                    <scripts>
                        <biblio_fingerprint>biblio_fingerprint.js</biblio_fingerprint>
                    </scripts>
                    <databases>
                        <driver>Pg</driver>
                        <database>
                            <type>master</type>
                            <weight>2</weight>
                            <user>evergreen</user>
                            <host>localhost</host>
                            <port>5432</port>
                            <pw>evergreen</pw>
                            <db>evergreen</db>
                            <client_encoding>UTF-8</client_encoding>
                        </database>
                    </databases>
                </app_settings>
            </open-ils.storage>


            <open-ils.cstore>
                <keepalive>6</keepalive>
                <stateless>1</stateless>
                <language>C</language>
                <implementation>oils_cstore.so</implementation>
                <max_requests>95</max_requests>
                <unix_config>
                    <max_requests>400</max_requests>
                    <min_children>1</min_children>
                    <max_children>15</max_children>
                    <min_spare_children>1</min_spare_children>
                    <max_spare_children>5</max_spare_children>
                </unix_config>
                <app_settings>
                    <max_query_recursion>100</max_query_recursion>
                    <driver>pgsql</driver>
                    <database>
                        <type>master</type>
                        <weight>2</weight>
                        <user>evergreen</user>
                        <host>localhost</host>
                        <port>5432</port>
                        <pw>evergreen</pw>
                        <db>evergreen</db>
                        <client_encoding>UTF-8</client_encoding>
                    </database>
                </app_settings>
            </open-ils.cstore>



            <opensrf.settings>
                <keepalive>1</keepalive>
                <stateless>1</stateless>
                <language>perl</language>
                <implementation>OpenSRF::Application::Settings</implementation>
                <max_requests>17</max_requests>
                <unix_config>
                    <unix_sock>opensrf.settings_unix.sock</unix_sock>
                    <unix_pid>opensrf.settings_unix.pid</unix_pid>
                    <max_requests>300</max_requests>
                    <unix_log>opensrf.settings_unix.log</unix_log>
                    <min_children>5</min_children>
                    <max_children>15</max_children>
                    <min_spare_children>3</min_spare_children>
                    <max_spare_children>5</max_spare_children>
                </unix_config>
            </opensrf.settings>

            <open-ils.collections>
                <keepalive>3</keepalive>
                <stateless>1</stateless>
                <language>perl</language>
                <implementation>OpenILS::Application::Collections</implementation>
                <max_requests>17</max_requests>
                <unix_config>
                    <unix_sock>opensrf.collections_unix.sock</unix_sock>
                    <unix_pid>opensrf.collections_unix.pid</unix_pid>
                    <max_requests>1000</max_requests>
                    <unix_log>opensrf.collections_unix.log</unix_log>
                    <min_children>1</min_children>
                    <max_children>10</max_children>
                    <min_spare_children>1</min_spare_children>
                    <max_spare_children>5</max_spare_children>
                </unix_config>
            </open-ils.collections>

            <open-ils.reporter>
                <keepalive>3</keepalive>
                <stateless>1</stateless>
                <language>perl</language>
                <implementation>OpenILS::Application::Reporter</implementation>
                <max_requests>99</max_requests>
                <unix_config>
                    <unix_sock>opensrf.reporter_unix.sock</unix_sock>
                    <unix_pid>opensrf.reporter_unix.pid</unix_pid>
                    <max_requests>1000</max_requests>
                    <unix_log>opensrf.reporter_unix.log</unix_log>
                    <min_children>1</min_children>
                    <max_children>10</max_children>
                    <min_spare_children>1</min_spare_children>
                    <max_spare_children>5</max_spare_children>
                </unix_config>
            </open-ils.reporter>


            <open-ils.reporter-store>
                <keepalive>6</keepalive>
                <stateless>1</stateless>
                <language>C</language>
                <implementation>oils_rstore.so</implementation>
                <max_requests>95</max_requests>
                <unix_config>
                    <max_requests>400</max_requests>
                    <min_children>1</min_children>
                    <max_children>10</max_children>
                    <min_spare_children>1</min_spare_children>
                    <max_spare_children>5</max_spare_children>
                </unix_config>
                <app_settings>
                    <driver>pgsql</driver>
                    <database>
                        <type>master</type>
                        <weight>2</weight>
                        <user>evergreen</user>
                        <host>localhost</host>
                        <port>5432</port>
                        <pw>evergreen</pw>
                        <db>evergreen</db>
                        <client_encoding>UTF-8</client_encoding>
                    </database>
                </app_settings>
            </open-ils.reporter-store>


        </apps>
    </default>

    <hosts>

        <thomas-desktop.uwichill.edu.bb> 
            <!-- ^-=- 
                must match the fully qualified domain name of the host.

                On Linux, the output of the following command is authoritative:
                $ perl -MNet::Domain -e 'print Net::Domain::hostfqdn();'

               'localhost' won't work here
            -->
            <activeapps>
                <!-- services hosted on this machine -->
                <appname>opensrf.settings</appname> 
                <appname>opensrf.math</appname> 
                <appname>opensrf.dbmath</appname> 
                <appname>open-ils.cat</appname> 
                <appname>open-ils.supercat</appname> 
                <appname>open-ils.search</appname> 
                <appname>open-ils.circ</appname> 
                <appname>open-ils.actor</appname> 
                <appname>open-ils.auth</appname> 
                <appname>open-ils.storage</appname>  
                <appname>open-ils.penalty</appname>  
                <appname>open-ils.cstore</appname>  
                <appname>open-ils.collections</appname>  
                <appname>open-ils.ingest</appname>  
                <appname>open-ils.reporter</appname>  
                <appname>open-ils.reporter-store</appname>  
            </activeapps>
        </thomas-desktop.uwichill.edu.bb>
    </hosts>

</opensrf>
<?xml version="1.0"?>
<config>

  <!-- bootstrap config for OpenSRF apps -->
  <opensrf>

    <!-- The OpenSRF Routers's name on the network -->
    <!-- You should never need to change thischange this -->
    <router_name>router</router_name>

    <routers>

      <!-- List of router domains we should register with. 
        We must at least have our default jabber domain in here -->
      <router>localhost</router>

    </routers>
    <domains>

      <!-- Our jabber domain, currently only one domain is supported -->
      <domain>localhost</domain>

    </domains>
    <username>opensrf</username>
    <passwd>mypass</passwd>
    <port>5222</port>

    <!-- log to a local file -->
    <logfile>/openils/var/log/osrfsys.log</logfile>

    <!-- Log to syslog. You can use this same layout for 
        defining the logging of all services in this file -->
<!--
    <logfile>syslog</logfile>
    <syslog>local2</syslog>
    <actlog>local1</actlog>
-->

    <!-- 0 None, 1 Error, 2 Warning, 3 Info, 4 debug, 5 Internal (Nasty) -->
    <loglevel>3</loglevel>

    <!-- config file for the services -->
    <settings_config>/openils/conf/opensrf.xml</settings_config>

  </opensrf>

  <!-- Update this if you use ChopChop -->
  <chopchop>

    <!-- Our jabber server -->
    <domain>localhost</domain>
    <port>5222</port>

    <!-- used when multiple servers need to communicate -->
    <s2sport>5269</s2sport>
    <secret>secret</secret>
    <listen_address>10.0.0.3</listen_address>
    <loglevel>3</loglevel>
    <logfile>/openils/var/log/osrfsys.log</logfile>
  </chopchop>

  <!-- The section between <gateway>...</gateway> is a standard OpenSRF C stack config file -->
  <gateway>

    <!-- we consider ourselves to be the "originating" client for requests,
            which means we define the log XID string for log traces -->
    <client>true</client>

    <!--  the routers's name on the network -->
    <router_name>router</router_name>

    <!-- jabber domains to connect to (domain1, domain2, ...) -->
    <domains>
      <domain>localhost</domain>
    </domains>

<!-- These are the services that the gateway will serve. 
	Any other requests will receive an HTTP_NOT_FOUND (404) 
	DO NOT put any services here that you don't want the internet to have access to
-->
    <services>
      <service>opensrf.math</service>
      <service>open-ils.cat</service>
      <service>open-ils.search</service>
      <service>open-ils.circ</service>
      <service>open-ils.actor</service>
      <service>open-ils.auth</service>
    </services>

    <!-- jabber login info -->
    <username>opensrf</username>
    <passwd>mypassword</passwd>
    <port>5222</port>
    <logfile>/openils/var/log/gateway.log</logfile>
    <loglevel>3</loglevel>

  </gateway>

  <!-- ======================================================================================== -->

  <router>

    <!-- do not change -->
    <component>0</component>

    <trusted_domains>

      <!-- Trusted servers are allowed to register apps with the router -->
      <server>localhost</server>

      <!-- Trusted clients are allowed to send packets through the router -->
      <client>localhost</client>

    </trusted_domains>

    <transport>

      <!-- jabber server are we connecting to -->
      <server>localhost</server>
      <port>5222</port>

      <!-- if this is changed, all "router_name" settings 
                will need to be updated to match this setting -->
      <username>router</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>
    <logfile>/openils/var/log/router.log</logfile>
    <loglevel>3</loglevel>

  </router>

  <!-- ======================================================================================== -->

</config>

Reply via email to